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 : 283627 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 (4039598) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4039598) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446031 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4039598'] with mtr_portfolio_ids : ['28446031'] and first list_photo_ids : [] new path : /proc/283627/ Name: python3 Umask: 0002 State: R (running) Tgid: 283627 Ngid: 0 Pid: 283627 PPid: 283626 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 283627 NSpid: 283627 NSpgid: 283094 NSsid: 283094 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98420 kB VmRSS: 98420 kB RssAnon: 59904 kB RssFile: 38516 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 44 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '283627', 'Ngid': '0', 'Pid': '283627', 'PPid': '283626', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '283627', 'NSpid': '283627', 'NSpgid': '283094', 'NSsid': '283094', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98420 kB', 'VmRSS': '98420 kB', 'RssAnon': '59904 kB', 'RssFile': '38516 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '44', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '283627', '1106908', '0', '1106884', '865636', '98420', b'', 'marlene', '4039598') 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 (28446031) 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 (4039598 ) ) 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 (28446031) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1394013242, 'portfolio_id': 28446031}, {'photo_id': 1394012983, 'portfolio_id': 28446031}, {'photo_id': 1394012956, 'portfolio_id': 28446031}, {'photo_id': 1394012954, 'portfolio_id': 28446031}, {'photo_id': 1394012927, 'portfolio_id': 28446031}, {'photo_id': 1394012926, 'portfolio_id': 28446031}, {'photo_id': 1394012914, 'portfolio_id': 28446031}, {'photo_id': 1394012910, 'portfolio_id': 28446031}, {'photo_id': 1394012869, 'portfolio_id': 28446031}, {'photo_id': 1394012864, 'portfolio_id': 28446031}, {'photo_id': 1394012859, 'portfolio_id': 28446031}, {'photo_id': 1394012855, 'portfolio_id': 28446031}, {'photo_id': 1394012851, 'portfolio_id': 28446031}, {'photo_id': 1394012831, 'portfolio_id': 28446031}, {'photo_id': 1394012828, 'portfolio_id': 28446031}, {'photo_id': 1394012827, 'portfolio_id': 28446031}, {'photo_id': 1394012826, 'portfolio_id': 28446031}, {'photo_id': 1394012825, 'portfolio_id': 28446031}, {'photo_id': 1394012797, 'portfolio_id': 28446031}, {'photo_id': 1394012796, 'portfolio_id': 28446031}, {'photo_id': 1394012794, 'portfolio_id': 28446031}, {'photo_id': 1394012774, 'portfolio_id': 28446031}, {'photo_id': 1394012770, 'portfolio_id': 28446031}, {'photo_id': 1394012767, 'portfolio_id': 28446031}, {'photo_id': 1394012764, 'portfolio_id': 28446031}, {'photo_id': 1394012761, 'portfolio_id': 28446031}, {'photo_id': 1394012735, 'portfolio_id': 28446031}, {'photo_id': 1394012731, 'portfolio_id': 28446031}, {'photo_id': 1394012729, 'portfolio_id': 28446031}, {'photo_id': 1394012728, 'portfolio_id': 28446031}, {'photo_id': 1394012727, 'portfolio_id': 28446031}, {'photo_id': 1394012606, 'portfolio_id': 28446031}, {'photo_id': 1394012571, 'portfolio_id': 28446031}, {'photo_id': 1394012537, 'portfolio_id': 28446031}, {'photo_id': 1394012525, 'portfolio_id': 28446031}, {'photo_id': 1394012487, 'portfolio_id': 28446031}, {'photo_id': 1394012481, 'portfolio_id': 28446031}, {'photo_id': 1394012479, 'portfolio_id': 28446031}, {'photo_id': 1394012415, 'portfolio_id': 28446031}] map_portfolio_id_photo_id: {28446031: [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415]} ##### 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.015993356704711914 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Nov 13 05:39:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28446031) 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 : 28446031 get user id for portfolio 28446031 get sub ptf for main ptf 28446031, type 3726 and hashtags ['kraft', 'autre_refus', 'Teint_Dans_La_Masse', 'cartonnette', 'papier', 'flou', 'environnement', 'metal', 'plastique', 'Carton_brun', 'mal_croppe', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28446031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Teint_Dans_La_Masse','cartonnette','papier','flou','environnement','metal','plastique','Carton_brun','mal_croppe','Carton_gris')) 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`=28446031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Teint_Dans_La_Masse','cartonnette','papier','flou','environnement','metal','plastique','Carton_brun','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28446031, 'sub_port_id': 28446034, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266056, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'kraft': {'main_port_id': 28446031, 'sub_port_id': 28446035, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266057, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'environnement': {'main_port_id': 28446031, 'sub_port_id': 28446036, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266058, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'mal_croppe': {'main_port_id': 28446031, 'sub_port_id': 28446037, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266059, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 28446031, 'sub_port_id': 28446038, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266060, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'metal': {'main_port_id': 28446031, 'sub_port_id': 28446039, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266061, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'Carton_gris': {'main_port_id': 28446031, 'sub_port_id': 28446040, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266062, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'cartonnette': {'main_port_id': 28446031, 'sub_port_id': 28446041, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266063, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'Carton_brun': {'main_port_id': 28446031, 'sub_port_id': 28446042, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266064, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'plastique': {'main_port_id': 28446031, 'sub_port_id': 28446043, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266065, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'papier': {'main_port_id': 28446031, 'sub_port_id': 28446044, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266066, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}, 'autre_refus': {'main_port_id': 28446031, 'sub_port_id': 28446045, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266067, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28446034 , 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=28446031 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 (28446034) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446035 , 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=28446031 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 (28446035) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446036 , 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=28446031 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 (28446036) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446037 , 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=28446031 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 (28446037) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446038 , 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=28446031 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 (28446038) result : ((1394012742,), (1394012755,), (1394012756,), (1394012757,), (1394012802,), (1394012803,), (1394012872,), (1394012873,), (1394012874,), (1394012875,), (1394012876,), (1394012890,), (1394013142,), (1394013378,), (1394013379,), (1394013380,), (1394013982,), (1394013983,), (1394013984,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446039 , 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=28446031 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 (28446039) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446040 , 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=28446031 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 (28446040) result : ((1394012743,), (1394012805,), (1394012891,), (1394013208,), (1394013381,), (1394013382,), (1394013383,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446041 , 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=28446031 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 (28446041) result : ((1394012758,), (1394012807,), (1394012808,), (1394012893,), (1394013987,), (1394013988,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446042 , 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=28446031 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 (28446042) result : ((1394012809,), (1394012877,), (1394012878,), (1394012895,), (1394012896,), (1394012897,), (1394013151,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446043 , 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=28446031 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 (28446043) result : ((1394012745,), (1394012746,), (1394012880,), (1394012881,), (1394012882,), (1394013210,), (1394013385,), (1394013386,), (1394013990,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446044 , 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=28446031 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 (28446044) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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 28446045 , 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=28446031 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 (28446045) result : ((1394013985,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28446031) result : ((1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,)) 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`=28446031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Teint_Dans_La_Masse','cartonnette','papier','flou','environnement','metal','plastique','Carton_brun','mal_croppe','Carton_gris')) 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`=28446031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Teint_Dans_La_Masse','cartonnette','papier','flou','environnement','metal','plastique','Carton_brun','mal_croppe','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28446031, 'sub_port_id': 28446046, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266068, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'kraft': {'main_port_id': 28446031, 'sub_port_id': 28446047, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266069, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'environnement': {'main_port_id': 28446031, 'sub_port_id': 28446048, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266070, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'mal_croppe': {'main_port_id': 28446031, 'sub_port_id': 28446049, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266071, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 28446031, 'sub_port_id': 28446050, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266072, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'metal': {'main_port_id': 28446031, 'sub_port_id': 28446051, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266073, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'Carton_gris': {'main_port_id': 28446031, 'sub_port_id': 28446052, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266074, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'cartonnette': {'main_port_id': 28446031, 'sub_port_id': 28446053, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266075, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'Carton_brun': {'main_port_id': 28446031, 'sub_port_id': 28446054, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266076, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'plastique': {'main_port_id': 28446031, 'sub_port_id': 28446055, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266077, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'papier': {'main_port_id': 28446031, 'sub_port_id': 28446056, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266078, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 38, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}, 'autre_refus': {'main_port_id': 28446031, 'sub_port_id': 28446057, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19266079, 'last_updated_at': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 12, 9, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 12, 9, 38, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446046,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446034 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446047,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446035 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446048,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446036 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446049,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446037 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446050,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446038 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446051,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446039 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446052,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446040 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446053,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446041 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446054,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446042 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446055,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446043 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446056,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446044 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28446057,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28446045 lien utilise dans velours : https://marlene.fotonower.com/velours/28446046,28446047,28446048,28446049,28446050,28446051,28446052,28446053,28446054,28446055,28446056,28446057?tags=flou,kraft,environnement,mal_croppe,Teint_Dans_La_Masse,metal,Carton_gris,cartonnette,Carton_brun,plastique,papier,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28446031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] map_info['map_portfolio_photo'] : {28446031: [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415]} final : False mtd_id 4302 list_pids : [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] Looping around the photos to save general results len do output : 1 /28446031. 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, '4039598') ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '28446031', "{'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045}", None, None, None, None, '4039598'), ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598')] time used for this insertion : 0.01999044418334961 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6280274391174316 time spend to save output : 0.02052164077758789 total time spend for step 1 : 1.6485490798950195 step2:final Thu Nov 13 05:39:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (28446031) 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 28446031 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1394012415,1394012487,1394012481,1394012479,1394012606,1394012571,1394012537,1394012525,1394012735,1394012731,1394012729,1394012728,1394012727,1394012774,1394012770,1394012767,1394012764,1394012761,1394012797,1394012796,1394012794,1394012831,1394012828,1394012827,1394012826,1394012825,1394012869,1394012864,1394012859,1394012855,1394012851,1394012927,1394012926,1394012914,1394012910,1394012983,1394012956,1394012954,1394013242); 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([28446031]) Inside saveOutput : final : False verbose : True original output for save of step final : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} new output for save of step final : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] map_info['map_portfolio_photo'] : {28446031: [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415]} final : False mtd_id 4302 list_pids : [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] Looping around the photos to save general results len do output : 39 /1394013242.Didn't retrieve data . /1394012983.Didn't retrieve data . /1394012956.Didn't retrieve data . /1394012954.Didn't retrieve data . /1394012927.Didn't retrieve data . /1394012926.Didn't retrieve data . /1394012914.Didn't retrieve data . /1394012910.Didn't retrieve data . /1394012869.Didn't retrieve data . /1394012864.Didn't retrieve data . /1394012859.Didn't retrieve data . /1394012855.Didn't retrieve data . /1394012851.Didn't retrieve data . /1394012831.Didn't retrieve data . /1394012828.Didn't retrieve data . /1394012827.Didn't retrieve data . /1394012826.Didn't retrieve data . /1394012825.Didn't retrieve data . /1394012797.Didn't retrieve data . /1394012796.Didn't retrieve data . /1394012794.Didn't retrieve data . /1394012774.Didn't retrieve data . /1394012770.Didn't retrieve data . /1394012767.Didn't retrieve data . /1394012764.Didn't retrieve data . /1394012761.Didn't retrieve data . /1394012735.Didn't retrieve data . /1394012731.Didn't retrieve data . /1394012729.Didn't retrieve data . /1394012728.Didn't retrieve data . /1394012727.Didn't retrieve data . /1394012606.Didn't retrieve data . /1394012571.Didn't retrieve data . /1394012537.Didn't retrieve data . /1394012525.Didn't retrieve data . /1394012487.Didn't retrieve data . /1394012481.Didn't retrieve data . /1394012479.Didn't retrieve data . /1394012415.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, '4039598') ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '28446031', '1394013242', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012983', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012956', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012954', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012927', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012926', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012914', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012910', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012869', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012864', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012859', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012855', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012851', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012831', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012828', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012827', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012826', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012825', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012797', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012796', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012794', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012774', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012770', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012767', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012764', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012761', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012735', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012731', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012729', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012728', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012727', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012606', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012571', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012537', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012525', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012487', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012481', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012479', '0.052775933503206286', None, None, None, None, '4039598'), ('4302', '28446031', '1394012415', '0.052775933503206286', None, None, None, None, '4039598')] time used for this insertion : 0.017293453216552734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06674003601074219 time spend to save output : 0.018960952758789062 total time spend for step 2 : 0.08570098876953125 step3:velours_tree Thu Nov 13 05:39:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {28446031: [{'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045}]} input_args_next_step : {28446031: ()} output_args : {28446031: [{'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045}]} args : 28446031 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 : ({'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28446031) 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([28446031]) 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.2949707508087158 time spend to save output : 3.743171691894531e-05 total time spend for step 3 : 0.29500818252563477 step4:send_mail_cod Thu Nov 13 05:39:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} input_args_next_step : {1394013242: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394013242 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012983 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012956 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012954 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012927 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012926 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012914 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012910 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012869 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012864 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012859 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012855 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012851 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012831 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012828 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012827 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012826 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012825 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012797 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012796 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012794 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012774 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012770 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012767 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012764 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012761 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012735 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012731 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012729 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012728 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012727 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012606 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012571 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012537 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012525 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012487 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012481 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012479 depend.output_id : 0 input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ()} output_args : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',)} args : 1394012415 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 : {28446031: [{'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045}]} input_args_next_step : {1394013242: ('0.052775933503206286',), 1394012983: ('0.052775933503206286',), 1394012956: ('0.052775933503206286',), 1394012954: ('0.052775933503206286',), 1394012927: ('0.052775933503206286',), 1394012926: ('0.052775933503206286',), 1394012914: ('0.052775933503206286',), 1394012910: ('0.052775933503206286',), 1394012869: ('0.052775933503206286',), 1394012864: ('0.052775933503206286',), 1394012859: ('0.052775933503206286',), 1394012855: ('0.052775933503206286',), 1394012851: ('0.052775933503206286',), 1394012831: ('0.052775933503206286',), 1394012828: ('0.052775933503206286',), 1394012827: ('0.052775933503206286',), 1394012826: ('0.052775933503206286',), 1394012825: ('0.052775933503206286',), 1394012797: ('0.052775933503206286',), 1394012796: ('0.052775933503206286',), 1394012794: ('0.052775933503206286',), 1394012774: ('0.052775933503206286',), 1394012770: ('0.052775933503206286',), 1394012767: ('0.052775933503206286',), 1394012764: ('0.052775933503206286',), 1394012761: ('0.052775933503206286',), 1394012735: ('0.052775933503206286',), 1394012731: ('0.052775933503206286',), 1394012729: ('0.052775933503206286',), 1394012728: ('0.052775933503206286',), 1394012727: ('0.052775933503206286',), 1394012606: ('0.052775933503206286',), 1394012571: ('0.052775933503206286',), 1394012537: ('0.052775933503206286',), 1394012525: ('0.052775933503206286',), 1394012487: ('0.052775933503206286',), 1394012481: ('0.052775933503206286',), 1394012479: ('0.052775933503206286',), 1394012415: ('0.052775933503206286',), 28446031: ()} output_args : {28446031: [{'flou': 28446034, 'kraft': 28446035, 'environnement': 28446036, 'mal_croppe': 28446037, 'Teint_Dans_La_Masse': 28446038, 'metal': 28446039, 'Carton_gris': 28446040, 'cartonnette': 28446041, 'Carton_brun': 28446042, 'plastique': 28446043, 'papier': 28446044, 'autre_refus': 28446045}]} args : 28446031 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 :40, first value : ('0.052775933503206286',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28446031) 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 (1394013242,1394012983,1394012956,1394012954,1394012927,1394012926,1394012914,1394012910,1394012869,1394012864,1394012859,1394012855,1394012851,1394012831,1394012828,1394012827,1394012826,1394012825,1394012797,1394012796,1394012794,1394012774,1394012770,1394012767,1394012764,1394012761,1394012735,1394012731,1394012729,1394012728,1394012727,1394012606,1394012571,1394012537,1394012525,1394012487,1394012481,1394012479,1394012415) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1394012415 begin to download photo : 1394012727 begin to download photo : 1394012770 begin to download photo : 1394012828 begin to download photo : 1394012914 download finish for photo 1394012727 begin to download photo : 1394012728 download finish for photo 1394012415 begin to download photo : 1394012479 download finish for photo 1394012770 begin to download photo : 1394012774 download finish for photo 1394012914 begin to download photo : 1394012926 download finish for photo 1394012828 begin to download photo : 1394012831 download finish for photo 1394012728 begin to download photo : 1394012729 download finish for photo 1394012479 begin to download photo : 1394012481 download finish for photo 1394012926 begin to download photo : 1394012927 download finish for photo 1394012831 begin to download photo : 1394012851 download finish for photo 1394012774 begin to download photo : 1394012794 download finish for photo 1394012729 begin to download photo : 1394012731 download finish for photo 1394012927 begin to download photo : 1394012954 download finish for photo 1394012851 begin to download photo : 1394012855 download finish for photo 1394012481 begin to download photo : 1394012487 download finish for photo 1394012794 begin to download photo : 1394012796 download finish for photo 1394012954 begin to download photo : 1394012956 download finish for photo 1394012855 begin to download photo : 1394012859 download finish for photo 1394012731 begin to download photo : 1394012735 download finish for photo 1394012487 begin to download photo : 1394012525 download finish for photo 1394012796 begin to download photo : 1394012797 download finish for photo 1394012735 begin to download photo : 1394012761 download finish for photo 1394012956 begin to download photo : 1394012983 download finish for photo 1394012859 begin to download photo : 1394012864 download finish for photo 1394012525 begin to download photo : 1394012537 download finish for photo 1394012797 begin to download photo : 1394012825 download finish for photo 1394012761 begin to download photo : 1394012764 download finish for photo 1394012537 begin to download photo : 1394012571 download finish for photo 1394012864 begin to download photo : 1394012869 download finish for photo 1394012983 begin to download photo : 1394013242 download finish for photo 1394012825 begin to download photo : 1394012826 download finish for photo 1394012571 begin to download photo : 1394012606 download finish for photo 1394012764 begin to download photo : 1394012767 download finish for photo 1394013242 download finish for photo 1394012826 begin to download photo : 1394012827 download finish for photo 1394012869 begin to download photo : 1394012910 download finish for photo 1394012606 download finish for photo 1394012767 download finish for photo 1394012827 download finish for photo 1394012910 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette284460341763008772/ imagette284460351763008772/ imagette284460371763008772/ imagette284460391763008772/ length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P28446031_13-11-2025_05_39_32.pdf 28446034 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=28446034 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284460341763008772 28446035 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=28446035 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284460351763008772 28446037 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=28446037 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284460371763008772 28446039 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=28446039 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette284460391763008772 28446041 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=28446041 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394012758: '1762936766_3302150_1394012481_cd4f3978a33f6cd01e00232ad6262cb4_rle_crop_4031067275_0.png', 1394012807: '1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068839_0.png', 1394012808: '1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068836_0.png', 1394012893: '1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069937_0.png', 1394013987: '1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074303_0.png', 1394013988: '1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074327_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/3218eadd998c314891d9f87bc71c3ae1_97257660.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/b35f2a5721382aa4257bb7beec3edcc3_46693591.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/fb81a28f03e5002e7a309b9cb95234ca_40225898.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/3c330e105695e4a8eb3401482b59e1cb_42987622.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/590e012cd2c3c542749f230a11fce542_33696487.png change filename to text .imagette284460411763008772/ imagette284460411763008772/1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074303_0.png.png imagette284460411763008772/1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074327_0.png.png imagette284460411763008772/1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069937_0.png.png imagette284460411763008772/1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068839_0.png.png imagette284460411763008772/1762936766_3302150_1394012481_cd4f3978a33f6cd01e00232ad6262cb4_rle_crop_4031067275_0.png.png imagette284460411763008772/1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068836_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/3fa3ff3b94eb57dea68f02b72eb1db9d_16927039.png imagette284460411763008772 28446043 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=28446043 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394012745: '1762936746_3301757_1394012537_7911d09632064b24d7a886748e45456c_rle_crop_4031067151_0.png', 1394012746: '1762936746_3301757_1394012525_c1985715a11d73e4cf6b00e9e236877c_rle_crop_4031067164_0.png', 1394012880: '1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069627_0.png', 1394012881: '1762936986_3314003_1394012826_d348046bf8f1775846b91bdd2d913c5f_rle_crop_4031069640_0.png', 1394012882: '1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069720_0.png', 1394013210: '1762937126_3319673_1394012855_87dc81a9283ecefa10d5bd9b242dd3c9_rle_crop_4031070654_0.png', 1394013385: '1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071420_0.png', 1394013386: '1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071418_0.png', 1394013990: '1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074306_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/47de3125514c0db7962625d46d7123c2_47834630.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/e23326eff991e3fa38433a30f59a236d_86387585.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/baf84f39df845805578536ecc967bc2b_47530072.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/020f7a365beebc76213cd3a53a3a03cc_28209048.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/f2763b4a0574af90b3fb64d4be186634_49196239.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/53549ec2190a6366715fa6bf9ba3449d_69894570.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/815f4d3c59c4d07cdc312c4b0b10391a_3541695.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/cb283dfd0e47cab660143b0db72c4a91_97174028.png change filename to text .imagette284460431763008772/ imagette284460431763008772/1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069720_0.png.png imagette284460431763008772/1762937126_3319673_1394012855_87dc81a9283ecefa10d5bd9b242dd3c9_rle_crop_4031070654_0.png.png imagette284460431763008772/1762936746_3301757_1394012537_7911d09632064b24d7a886748e45456c_rle_crop_4031067151_0.png.png imagette284460431763008772/1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074306_0.png.png imagette284460431763008772/1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071420_0.png.png imagette284460431763008772/1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069627_0.png.png imagette284460431763008772/1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071418_0.png.png imagette284460431763008772/1762936746_3301757_1394012525_c1985715a11d73e4cf6b00e9e236877c_rle_crop_4031067164_0.png.png imagette284460431763008772/1762936986_3314003_1394012826_d348046bf8f1775846b91bdd2d913c5f_rle_crop_4031069640_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/da6225bb7b3f473dc18bd515e1a75d43_72389052.png imagette284460431763008772 28446045 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=28446045 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394013985: '1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074304_0.png'} change filename to text .imagette284460451763008773/ imagette284460451763008773/1762937706_3350407_1394012729_6161ee0596a86074ceabe0cf7324e950_rle_crop_4031074304_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/09f09b3f11c42fda5f1c4e7973127bb7_48152154.png imagette284460451763008773 28446038 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=28446038 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394012875: '1762936986_3314003_1394012826_d348046bf8f1775846b91bdd2d913c5f_rle_crop_4031069651_0.png', 1394013984: '1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074330_0.png', 1394013983: '1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074332_0.png', 1394013982: '1762937706_3350407_1394012731_17f90d017239af14bbd46c5ed6920bb1_rle_crop_4031074286_0.png', 1394013380: '1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071419_0.png', 1394013379: '1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071347_0.png', 1394013378: '1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071357_0.png', 1394013142: '1762937108_3319315_1394012910_9f30e7f3b2676ad4c896c00f3b827e7f_rle_crop_4031070437_0.png', 1394012890: '1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069943_0.png', 1394012876: '1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069723_0.png', 1394012742: '1762936746_3301757_1394012525_c1985715a11d73e4cf6b00e9e236877c_rle_crop_4031067163_0.png', 1394012874: '1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069629_0.png', 1394012873: '1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069637_0.png', 1394012872: '1762936986_3314003_1394012828_9ff3bf2691f7a812c19ec026aa1be2bd_rle_crop_4031069616_0.png', 1394012803: '1762936865_3307614_1394012767_b102d022b802bcdb6c64a8519dc2eb8b_rle_crop_4031068815_0.png', 1394012802: '1762936865_3307614_1394012770_edb232aae3b0ba506d87c41c6c44551e_rle_crop_4031068801_0.png', 1394012757: '1762936766_3302150_1394012479_a9cf9d592ee5420d7df2931329190e2f_rle_crop_4031067302_0.png', 1394012756: '1762936766_3302150_1394012481_cd4f3978a33f6cd01e00232ad6262cb4_rle_crop_4031067287_0.png', 1394012755: '1762936766_3302150_1394012606_d5ceeb4de417dec73681da674ce2a889_rle_crop_4031067273_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/39aa17efaf47061714874146906ec399_8990651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/89e008ebd435a17a8d5be8e10ae0af84_12467158.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/4d5ab5c95d2bae2137b3b9e2e45b19b8_22013097.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/dc6a0a58b20ff0dd8697e558ff8b01d1_76217083.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/38039176c8b2cfb2ec573c6a519193bc_82676889.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/af9fd2ea6c68d9de366115e957c770f6_99988185.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/47c92c4154b4812bf32e661a296337d1_81023974.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/865d6d1e9fc42e34d08020226563044c_30397337.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/8e80aed72725dc7dd182e3d0f52ba2c4_44896684.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/df0e22a9b84c135189faae9943792884_18329988.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/c5115086bffe78a47070a3ad3fd47b3f_71553960.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/7a44238d0c0ff7e5cec09cad403f160e_13119338.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/8317b46ac0228a1c8e60874262a2d3c6_30065095.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/169f874132d916395b75b1003acdd5a4_69982147.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/97d69333373ec86a261282c1184f6d77_21548453.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/e7baf5551c314d90e4129cb47707619f_29386453.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/3e0efe4f5529e678ec89bc75223e042d_78455533.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a2529feac4a1e28cc81b8e84c71519b6_40273583.png change filename to text .imagette284460381763008774/ imagette284460381763008774/1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069629_0.png.png imagette284460381763008774/1762936986_3314003_1394012827_997ec2ecf7fba4c42d10eb415e91853d_rle_crop_4031069637_0.png.png imagette284460381763008774/1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074330_0.png.png imagette284460381763008774/1762936766_3302150_1394012481_cd4f3978a33f6cd01e00232ad6262cb4_rle_crop_4031067287_0.png.png imagette284460381763008774/1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071347_0.png.png imagette284460381763008774/1762936986_3314003_1394012828_9ff3bf2691f7a812c19ec026aa1be2bd_rle_crop_4031069616_0.png.png imagette284460381763008774/1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069723_0.png.png imagette284460381763008774/1762936986_3314003_1394012826_d348046bf8f1775846b91bdd2d913c5f_rle_crop_4031069651_0.png.png imagette284460381763008774/1762936766_3302150_1394012479_a9cf9d592ee5420d7df2931329190e2f_rle_crop_4031067302_0.png.png imagette284460381763008774/1762937108_3319315_1394012910_9f30e7f3b2676ad4c896c00f3b827e7f_rle_crop_4031070437_0.png.png imagette284460381763008774/1762936865_3307614_1394012770_edb232aae3b0ba506d87c41c6c44551e_rle_crop_4031068801_0.png.png imagette284460381763008774/1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069943_0.png.png imagette284460381763008774/1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071419_0.png.png imagette284460381763008774/1762936865_3307614_1394012767_b102d022b802bcdb6c64a8519dc2eb8b_rle_crop_4031068815_0.png.png imagette284460381763008774/1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071357_0.png.png imagette284460381763008774/1762936766_3302150_1394012606_d5ceeb4de417dec73681da674ce2a889_rle_crop_4031067273_0.png.png imagette284460381763008774/1762937706_3350407_1394012731_17f90d017239af14bbd46c5ed6920bb1_rle_crop_4031074286_0.png.png imagette284460381763008774/1762937706_3350407_1394012727_a45b9accbf9eed72d48f1cde0bba3bef_rle_crop_4031074332_0.png.png imagette284460381763008774/1762936746_3301757_1394012525_c1985715a11d73e4cf6b00e9e236877c_rle_crop_4031067163_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/65a84a14e512563357120672dafc853c_94742632.png imagette284460381763008774 28446040 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=28446040 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394012743: '1762936746_3301757_1394012537_7911d09632064b24d7a886748e45456c_rle_crop_4031067150_0.png', 1394012805: '1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068838_0.png', 1394012891: '1762937005_3314425_1394012796_96e2984a84be6a544567b7af3f0cab62_rle_crop_4031069957_0.png', 1394013208: '1762937126_3319673_1394012851_36238ff16d432c40c9447cd1f323d8e3_rle_crop_4031070659_0.png', 1394013381: '1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071351_0.png', 1394013382: '1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071358_0.png', 1394013383: '1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071415_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/4d6c146b950736a1bee32c12a70e59a3_13683913.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/123ba6b42a2325a68f0c6adab08a0190_89806051.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/b8c3f6ad31af7bcef51de7c00eb2e9d9_48804122.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/86920c2eabcbb5e3b0ecc3e35d8ef05e_15971240.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/f267f62a426543f20403d2261dbdb1fb_66237736.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/4a2b943747514be089ea9fade3f9093e_25393431.png change filename to text .imagette284460401763008776/ imagette284460401763008776/1762937245_3326802_1394012956_f046118ac267a4f60597a500eb1f651b_rle_crop_4031071415_0.png.png imagette284460401763008776/1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071351_0.png.png imagette284460401763008776/1762936746_3301757_1394012537_7911d09632064b24d7a886748e45456c_rle_crop_4031067150_0.png.png imagette284460401763008776/1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068838_0.png.png imagette284460401763008776/1762937005_3314425_1394012796_96e2984a84be6a544567b7af3f0cab62_rle_crop_4031069957_0.png.png imagette284460401763008776/1762937126_3319673_1394012851_36238ff16d432c40c9447cd1f323d8e3_rle_crop_4031070659_0.png.png imagette284460401763008776/1762937245_3326802_1394013242_402359f5b077ac8ee02ecbc383a248cf_rle_crop_4031071358_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/5b25ed527f73fb3d93d6e158ca82b88f_51075416.png imagette284460401763008776 28446042 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=28446042 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1394012809: '1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068841_0.png', 1394012877: '1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069716_0.png', 1394012878: '1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069712_0.png', 1394012895: '1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069944_0.png', 1394012896: '1762937005_3314425_1394012794_08f3e52697e5e7cc744445c50069c4ea_rle_crop_4031069973_0.png', 1394012897: '1762937005_3314425_1394012794_08f3e52697e5e7cc744445c50069c4ea_rle_crop_4031069971_0.png', 1394013151: '1762937108_3319315_1394012910_9f30e7f3b2676ad4c896c00f3b827e7f_rle_crop_4031070441_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/5f2375c4ab1997c22506555c1f5f5d81_89675521.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/c1ab9d3018a63de8547c582751a7d5f5_33737783.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/e9064d557e1de48cb2f13476ef68e369_9714325.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a6475b5732e6d29175d98d2f6d1b59f7_35160656.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a08df0759d9bb4a70af7f42e374274f0_12961332.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/0c6355f4f5c9c7ddf1623a7bfd98589d_56070067.png change filename to text .imagette284460421763008777/ imagette284460421763008777/1762937005_3314425_1394012794_08f3e52697e5e7cc744445c50069c4ea_rle_crop_4031069973_0.png.png imagette284460421763008777/1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069716_0.png.png imagette284460421763008777/1762937005_3314425_1394012794_08f3e52697e5e7cc744445c50069c4ea_rle_crop_4031069971_0.png.png imagette284460421763008777/1762936865_3307614_1394012761_e7ea9849d31e05e01f9d3ce375c4f350_rle_crop_4031068841_0.png.png imagette284460421763008777/1762937108_3319315_1394012910_9f30e7f3b2676ad4c896c00f3b827e7f_rle_crop_4031070441_0.png.png imagette284460421763008777/1762936986_3314003_1394012825_4176e8b7e3aeb548f380c39acabb3eed_rle_crop_4031069712_0.png.png imagette284460421763008777/1762937005_3314425_1394012831_1c7f4e1e7a4eda46a63ec16322990178_rle_crop_4031069944_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/76fa15c584dbb03bd10542deedbd1430_33705737.png imagette284460421763008777 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28446031 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28446046,28446047,28446048,28446049,28446050,28446051,28446052,28446053,28446054,28446055,28446056,28446057?tags=flou,kraft,environnement,mal_croppe,Teint_Dans_La_Masse,metal,Carton_gris,cartonnette,Carton_brun,plastique,papier,autre_refus your option no_mail is active, we will not send the real mail to your client args[1394013242] : ('0.052775933503206286',) no score found for photo 1394013242 We are sending mail with results at report@fotonower.com args[1394012983] : ('0.052775933503206286',) no score found for photo 1394012983 We are sending mail with results at report@fotonower.com args[1394012956] : ('0.052775933503206286',) no score found for photo 1394012956 We are sending mail with results at report@fotonower.com args[1394012954] : ('0.052775933503206286',) no score found for photo 1394012954 We are sending mail with results at report@fotonower.com args[1394012927] : ('0.052775933503206286',) no score found for photo 1394012927 We are sending mail with results at report@fotonower.com args[1394012926] : ('0.052775933503206286',) no score found for photo 1394012926 We are sending mail with results at report@fotonower.com args[1394012914] : ('0.052775933503206286',) no score found for photo 1394012914 We are sending mail with results at report@fotonower.com args[1394012910] : ('0.052775933503206286',) no score found for photo 1394012910 We are sending mail with results at report@fotonower.com args[1394012869] : ('0.052775933503206286',) no score found for photo 1394012869 We are sending mail with results at report@fotonower.com args[1394012864] : ('0.052775933503206286',) no score found for photo 1394012864 We are sending mail with results at report@fotonower.com args[1394012859] : ('0.052775933503206286',) no score found for photo 1394012859 We are sending mail with results at report@fotonower.com args[1394012855] : ('0.052775933503206286',) no score found for photo 1394012855 We are sending mail with results at report@fotonower.com args[1394012851] : ('0.052775933503206286',) no score found for photo 1394012851 We are sending mail with results at report@fotonower.com args[1394012831] : ('0.052775933503206286',) no score found for photo 1394012831 We are sending mail with results at report@fotonower.com args[1394012828] : ('0.052775933503206286',) no score found for photo 1394012828 We are sending mail with results at report@fotonower.com args[1394012827] : ('0.052775933503206286',) no score found for photo 1394012827 We are sending mail with results at report@fotonower.com args[1394012826] : ('0.052775933503206286',) no score found for photo 1394012826 We are sending mail with results at report@fotonower.com args[1394012825] : ('0.052775933503206286',) no score found for photo 1394012825 We are sending mail with results at report@fotonower.com args[1394012797] : ('0.052775933503206286',) no score found for photo 1394012797 We are sending mail with results at report@fotonower.com args[1394012796] : ('0.052775933503206286',) no score found for photo 1394012796 We are sending mail with results at report@fotonower.com args[1394012794] : ('0.052775933503206286',) no score found for photo 1394012794 We are sending mail with results at report@fotonower.com args[1394012774] : ('0.052775933503206286',) no score found for photo 1394012774 We are sending mail with results at report@fotonower.com args[1394012770] : ('0.052775933503206286',) no score found for photo 1394012770 We are sending mail with results at report@fotonower.com args[1394012767] : ('0.052775933503206286',) no score found for photo 1394012767 We are sending mail with results at report@fotonower.com args[1394012764] : ('0.052775933503206286',) no score found for photo 1394012764 We are sending mail with results at report@fotonower.com args[1394012761] : ('0.052775933503206286',) no score found for photo 1394012761 We are sending mail with results at report@fotonower.com args[1394012735] : ('0.052775933503206286',) no score found for photo 1394012735 We are sending mail with results at report@fotonower.com args[1394012731] : ('0.052775933503206286',) no score found for photo 1394012731 We are sending mail with results at report@fotonower.com args[1394012729] : ('0.052775933503206286',) no score found for photo 1394012729 We are sending mail with results at report@fotonower.com args[1394012728] : ('0.052775933503206286',) no score found for photo 1394012728 We are sending mail with results at report@fotonower.com args[1394012727] : ('0.052775933503206286',) no score found for photo 1394012727 We are sending mail with results at report@fotonower.com args[1394012606] : ('0.052775933503206286',) no score found for photo 1394012606 We are sending mail with results at report@fotonower.com args[1394012571] : ('0.052775933503206286',) no score found for photo 1394012571 We are sending mail with results at report@fotonower.com args[1394012537] : ('0.052775933503206286',) no score found for photo 1394012537 We are sending mail with results at report@fotonower.com args[1394012525] : ('0.052775933503206286',) no score found for photo 1394012525 We are sending mail with results at report@fotonower.com args[1394012487] : ('0.052775933503206286',) no score found for photo 1394012487 We are sending mail with results at report@fotonower.com args[1394012481] : ('0.052775933503206286',) no score found for photo 1394012481 We are sending mail with results at report@fotonower.com args[1394012479] : ('0.052775933503206286',) no score found for photo 1394012479 We are sending mail with results at report@fotonower.com args[1394012415] : ('0.052775933503206286',) no score found for photo 1394012415 We are sending mail with results at report@fotonower.com refus_total : 0.052775933503206286 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=28446031 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_P28446031_13-11-2025_05_39_32.pdf results_Auto_P28446031_13-11-2025_05_39_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_13-11-2025_05_39_32.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','28446031','results_Auto_P28446031_13-11-2025_05_39_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_13-11-2025_05_39_32.pdf','pdf','','0.45','0.052775933503206286') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28446031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] map_info['map_portfolio_photo'] : {28446031: [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415]} final : False mtd_id 4302 list_pids : [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] 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, '4039598') ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598') 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', '28446031', '1394013242', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598')] time used for this insertion : 0.017457962036132812 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.784849166870117 time spend to save output : 0.018056631088256836 total time spend for step 4 : 9.802905797958374 step5:split_time_score Thu Nov 13 05:39:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['28446031'] 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 : [('28446031',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28446031) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1394012914: {'path': 'temp/1763008770_283627_1394012914_90f7e5afb4e12d3e300345ee3ac39617.jpg', 'extension': 'jpg'}, 1394012926: {'path': 'temp/1763008770_283627_1394012926_223ff2a97ed88488ade2bc1290d7adb5.jpg', 'extension': 'jpg'}, 1394012927: {'path': 'temp/1763008770_283627_1394012927_1fe4dc4b67e79c0be5b958ad39f980cb.jpg', 'extension': 'jpg'}, 1394012954: {'path': 'temp/1763008770_283627_1394012954_4a0f7379d1a8c612900d7fe7b12b4ea1.jpg', 'extension': 'jpg'}, 1394012956: {'path': 'temp/1763008770_283627_1394012956_f046118ac267a4f60597a500eb1f651b.jpg', 'extension': 'jpg'}, 1394012983: {'path': 'temp/1763008770_283627_1394012983_2f25a87fe9785dd862e67c4599beab7e.jpg', 'extension': 'jpg'}, 1394013242: {'path': 'temp/1763008770_283627_1394013242_402359f5b077ac8ee02ecbc383a248cf.jpg', 'extension': 'jpg'}, 1394012415: {'path': 'temp/1763008770_283627_1394012415_a7b1ee5bb90f3e69110561816c9e0636.jpg', 'extension': 'jpg'}, 1394012479: {'path': 'temp/1763008770_283627_1394012479_a9cf9d592ee5420d7df2931329190e2f.jpg', 'extension': 'jpg'}, 1394012481: {'path': 'temp/1763008770_283627_1394012481_cd4f3978a33f6cd01e00232ad6262cb4.jpg', 'extension': 'jpg'}, 1394012487: {'path': 'temp/1763008770_283627_1394012487_7756d3cd02778ae6ef3471aa2d9cc403.jpg', 'extension': 'jpg'}, 1394012525: {'path': 'temp/1763008770_283627_1394012525_c1985715a11d73e4cf6b00e9e236877c.jpg', 'extension': 'jpg'}, 1394012537: {'path': 'temp/1763008770_283627_1394012537_7911d09632064b24d7a886748e45456c.jpg', 'extension': 'jpg'}, 1394012571: {'path': 'temp/1763008770_283627_1394012571_16cea4f3ceeee7a800583d095258a6b3.jpg', 'extension': 'jpg'}, 1394012606: {'path': 'temp/1763008770_283627_1394012606_d5ceeb4de417dec73681da674ce2a889.jpg', 'extension': 'jpg'}, 1394012727: {'path': 'temp/1763008770_283627_1394012727_a45b9accbf9eed72d48f1cde0bba3bef.jpg', 'extension': 'jpg'}, 1394012728: {'path': 'temp/1763008770_283627_1394012728_88ec9cb092ce90f222677d0af1a14b8c.jpg', 'extension': 'jpg'}, 1394012729: {'path': 'temp/1763008770_283627_1394012729_6161ee0596a86074ceabe0cf7324e950.jpg', 'extension': 'jpg'}, 1394012731: {'path': 'temp/1763008770_283627_1394012731_17f90d017239af14bbd46c5ed6920bb1.jpg', 'extension': 'jpg'}, 1394012735: {'path': 'temp/1763008770_283627_1394012735_bae8d028bf67235663450725ecceaca0.jpg', 'extension': 'jpg'}, 1394012761: {'path': 'temp/1763008770_283627_1394012761_e7ea9849d31e05e01f9d3ce375c4f350.jpg', 'extension': 'jpg'}, 1394012764: {'path': 'temp/1763008770_283627_1394012764_89dfaaf2e5f5b64ffc7032a658a9eb5f.jpg', 'extension': 'jpg'}, 1394012767: {'path': 'temp/1763008770_283627_1394012767_b102d022b802bcdb6c64a8519dc2eb8b.jpg', 'extension': 'jpg'}, 1394012770: {'path': 'temp/1763008770_283627_1394012770_edb232aae3b0ba506d87c41c6c44551e.jpg', 'extension': 'jpg'}, 1394012774: {'path': 'temp/1763008770_283627_1394012774_ca12ba15872b4e0c50055355ef2c1764.jpg', 'extension': 'jpg'}, 1394012794: {'path': 'temp/1763008770_283627_1394012794_08f3e52697e5e7cc744445c50069c4ea.jpg', 'extension': 'jpg'}, 1394012796: {'path': 'temp/1763008770_283627_1394012796_96e2984a84be6a544567b7af3f0cab62.jpg', 'extension': 'jpg'}, 1394012797: {'path': 'temp/1763008770_283627_1394012797_7d2ae8dfa50ad9833f1f35ecab67869e.jpg', 'extension': 'jpg'}, 1394012825: {'path': 'temp/1763008770_283627_1394012825_4176e8b7e3aeb548f380c39acabb3eed.jpg', 'extension': 'jpg'}, 1394012826: {'path': 'temp/1763008770_283627_1394012826_d348046bf8f1775846b91bdd2d913c5f.jpg', 'extension': 'jpg'}, 1394012827: {'path': 'temp/1763008770_283627_1394012827_997ec2ecf7fba4c42d10eb415e91853d.jpg', 'extension': 'jpg'}, 1394012828: {'path': 'temp/1763008770_283627_1394012828_9ff3bf2691f7a812c19ec026aa1be2bd.jpg', 'extension': 'jpg'}, 1394012831: {'path': 'temp/1763008770_283627_1394012831_1c7f4e1e7a4eda46a63ec16322990178.jpg', 'extension': 'jpg'}, 1394012851: {'path': 'temp/1763008770_283627_1394012851_36238ff16d432c40c9447cd1f323d8e3.jpg', 'extension': 'jpg'}, 1394012855: {'path': 'temp/1763008770_283627_1394012855_87dc81a9283ecefa10d5bd9b242dd3c9.jpg', 'extension': 'jpg'}, 1394012859: {'path': 'temp/1763008770_283627_1394012859_63848c67a602615c00c3d8abe8b9e61a.jpg', 'extension': 'jpg'}, 1394012864: {'path': 'temp/1763008770_283627_1394012864_fe88cabba031d4c9a8a36004b3adf886.jpg', 'extension': 'jpg'}, 1394012869: {'path': 'temp/1763008770_283627_1394012869_fad1b36fcf902478106acd8648ff9026.jpg', 'extension': 'jpg'}, 1394012910: {'path': 'temp/1763008770_283627_1394012910_9f30e7f3b2676ad4c896c00f3b827e7f.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 = 28446031; (('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 = 28446031 group by h (('09', 39),) 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=28446031 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 (28446031) 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 (28446031) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12112025 28446031 Nombre de photos uploadées : 39 / 23040 (0%) 12112025 28446031 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 12112025 28446031 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1394012415, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a7b1ee5bb90f3e69110561816c9e0636.jpg', 'username': None, 'uploaded_at': 1762936567, 'text': 'image_12112025_09_32_04_10145.jpg'}, {'photo_id': 1394012487, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/7756d3cd02778ae6ef3471aa2d9cc403.jpg', 'username': None, 'uploaded_at': 1762936627, 'text': 'image_12112025_09_35_54_10134.jpg'}, {'photo_id': 1394012481, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/cd4f3978a33f6cd01e00232ad6262cb4.jpg', 'username': None, 'uploaded_at': 1762936627, 'text': 'image_12112025_09_36_04_010165m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1394012479, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/12/a9cf9d592ee5420d7df2931329190e2f.jpg', 'username': None, 'uploaded_at': 1762936627, 'text': 'image_12112025_09_36_35_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019102096557617188 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28446031, '2025-11-12' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-12' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2564236,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21075701713562012 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= 2564236 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28438484, 'dashboard_result_id': 17185498, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438484_13-11-2025_05_34_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438499, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28438745, 'dashboard_result_id': 17185499, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438745_13-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438760, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28439103, 'dashboard_result_id': 17185500, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439103_13-11-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439124, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28439567, 'dashboard_result_id': 17185501, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439567_13-11-2025_05_35_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439584, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28440051, 'dashboard_result_id': 17185502, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440051_13-11-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440087, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28440508, 'dashboard_result_id': 17185503, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440508_13-11-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440526, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28440876, 'dashboard_result_id': 17185504, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440876_13-11-2025_05_36_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440893, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28441317, 'dashboard_result_id': 17185505, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28441317_13-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28441319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28441320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28441321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28441322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28441323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28441324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28441325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28441326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28441327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28441328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28441329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28441330, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28442063, 'dashboard_result_id': 17185506, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442063_13-11-2025_05_37_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28442088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442099, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28442584, 'dashboard_result_id': 17185507, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442584_13-11-2025_05_37_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28442613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442620, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28442978, 'dashboard_result_id': 17185508, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_13-11-2025_05_37_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443005, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28443525, 'dashboard_result_id': 17185509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28443525_13-11-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28443529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28443530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28443534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28443536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28443537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28443538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443540, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28444126, 'dashboard_result_id': 17185510, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444126_13-11-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28444127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444138, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28444580, 'dashboard_result_id': 17185511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444580_13-11-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28444624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444629, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28445271, 'dashboard_result_id': 17185512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28445271_12-11-2025_09_35_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28445278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28445279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28445280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28445282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28445283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28445284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28445285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28445286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28445287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28445288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28445289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28445290, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28446031, 'dashboard_result_id': 17185513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_12-11-2025_09_47_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446045, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28446272, 'dashboard_result_id': 17185514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446272_12-11-2025_10_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446304, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28446669, 'dashboard_result_id': 17185515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446669_12-11-2025_10_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28446684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446688, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446692, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28447239, 'dashboard_result_id': 17185516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447239_12-11-2025_10_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447258, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28447703, 'dashboard_result_id': 17185517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447703_12-11-2025_10_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447741, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28448213, 'dashboard_result_id': 17185518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448213_12-11-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28448225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448233, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28448705, 'dashboard_result_id': 17185519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448705_12-11-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28448737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448748, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28449458, 'dashboard_result_id': 17185520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449458_12-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449495, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28449854, 'dashboard_result_id': 17185521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449854_12-11-2025_11_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449881, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28450449, 'dashboard_result_id': 17185522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28450449_12-11-2025_12_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28450498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28450499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28450500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28450501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28450502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28450503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28450504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28450505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28450506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28450507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28450508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28450509, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28451008, 'dashboard_result_id': 17185523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28451008_12-11-2025_12_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28451035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28451037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28451038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28451039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28451040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28451041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28451042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28451043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28451044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28451045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28451046, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28453230, 'dashboard_result_id': 17185524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453230_12-11-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453244, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28453361, 'dashboard_result_id': 17185525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453361_12-11-2025_14_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28453365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453376, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28453742, 'dashboard_result_id': 17185526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453742_12-11-2025_14_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28453753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453764, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28454265, 'dashboard_result_id': 17185527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454265_12-11-2025_14_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454284, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28454846, 'dashboard_result_id': 17185528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454846_12-11-2025_14_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454874, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28455557, 'dashboard_result_id': 17185529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455557_12-11-2025_15_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28455583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28455584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28455585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28455589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28455591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28455592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28455593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28455594, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28455981, 'dashboard_result_id': 17185530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455981_12-11-2025_15_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28455995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456006, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28456551, 'dashboard_result_id': 17185531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456551_12-11-2025_15_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28456555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28456561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28456562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28456563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28456566, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28456982, 'dashboard_result_id': 17185532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456982_12-11-2025_15_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457010, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28457654, 'dashboard_result_id': 17185533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28457654_12-11-2025_16_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28457690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457699, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28458325, 'dashboard_result_id': 17185534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28458325_12-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28458396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28458398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28458399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28458400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28458401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28458402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28458403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28458404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28458405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28458406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28458407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28458408, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28459027, 'dashboard_result_id': 17185535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459027_12-11-2025_16_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28459052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459061, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28459711, 'dashboard_result_id': 17185536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459711_12-11-2025_16_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28459729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459740, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28460192, 'dashboard_result_id': 17185537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460192_12-11-2025_17_06_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460228, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28460680, 'dashboard_result_id': 17185538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460680_12-11-2025_17_20_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460709, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28461225, 'dashboard_result_id': 17185539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28461225_12-11-2025_18_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28461234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28461235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28461236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28461237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28461238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28461239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28461240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28461241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28461242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28461243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28461245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28461246, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28463302, 'dashboard_result_id': 17185540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463302_12-11-2025_19_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463314, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28463432, 'dashboard_result_id': 17185541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463432_12-11-2025_19_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463458, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28463913, 'dashboard_result_id': 17185542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463913_12-11-2025_19_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463928, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28464353, 'dashboard_result_id': 17185543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464353_12-11-2025_19_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28464407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28464410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464418, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28464819, 'dashboard_result_id': 17185544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464819_12-11-2025_20_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28464829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28464832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464840, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28465258, 'dashboard_result_id': 17185545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465258_12-11-2025_20_17_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465342, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28465838, 'dashboard_result_id': 17185546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465838_12-11-2025_20_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465866, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28466433, 'dashboard_result_id': 17185547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28466433_12-11-2025_20_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28466469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28466470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28466471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28466472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28466473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28466474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28466475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28466476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28466477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28466478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28466479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28466480, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28467054, 'dashboard_result_id': 17185548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467054_12-11-2025_21_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467091, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28467598, 'dashboard_result_id': 17185549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467598_12-11-2025_21_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467617, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28468052, 'dashboard_result_id': 17185550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468052_12-11-2025_21_33_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468065, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28468223, 'dashboard_result_id': 17185551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468223_12-11-2025_21_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468239, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28468698, 'dashboard_result_id': 17185552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468698_12-11-2025_22_19_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468710, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28469164, 'dashboard_result_id': 17185553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28469164_12-11-2025_22_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28469167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28469168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28469169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28469170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28469171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28469172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28469173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28469174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28469175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28469176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28469177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28469178, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28470691, 'dashboard_result_id': 17185554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28470691_12-11-2025_23_16_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28470692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28470693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28470694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28470695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28470696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28470697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28470698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28470699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28470700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28470701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28470702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28470703, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28471029, 'dashboard_result_id': 17185555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471029_12-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471042, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28471536, 'dashboard_result_id': 17185556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471536_12-11-2025_23_51_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471550, 'pht': 3726}}"}, {'dashboat_entry_day': 2564236, 'dashboard_run_id': 2579838, 'mtr_portfolio_id': 28471792, 'dashboard_result_id': 17185557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471792_13-11-2025_01_03_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28471793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471804, '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 = 28438484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039583, 'mtr_portfolio_id': 28438484, 'created_at': datetime.datetime(2025, 11, 13, 5, 34, 32), 'result': '0.03496710268945621', 'result_long': None, 'result_double': None}] Qualite : 0.03496710268945621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28438484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438484_13-11-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28438484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438484_13-11-2025_05_34_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438499, 'pht': 3726}}" where mtr_portfolio_id = 28438484 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28438484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185498, 0.03496710268945621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438484_13-11-2025_05_34_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438499, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28438745 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039584, 'mtr_portfolio_id': 28438745, 'created_at': datetime.datetime(2025, 11, 13, 5, 34, 29), 'result': '0.059649711975564824', 'result_long': None, 'result_double': None}] Qualite : 0.059649711975564824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28438745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438745_13-11-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28438745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438745_13-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438760, 'pht': 3726}}" where mtr_portfolio_id = 28438745 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28438745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185499, 0.059649711975564824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28438745_13-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28438750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28438751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28438752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28438753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28438754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28438755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28438756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28438757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28438758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28438759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28438760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28439103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039585, 'mtr_portfolio_id': 28439103, 'created_at': datetime.datetime(2025, 11, 13, 5, 34, 59), 'result': '0.06110557276994169', 'result_long': None, 'result_double': None}] Qualite : 0.06110557276994169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28439103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439103_13-11-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28439103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439103_13-11-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439124, 'pht': 3726}}" where mtr_portfolio_id = 28439103 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28439103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185500, 0.06110557276994169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439103_13-11-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439124, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28439567 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039586, 'mtr_portfolio_id': 28439567, 'created_at': datetime.datetime(2025, 11, 13, 5, 35, 28), 'result': '0.049376905164191125', 'result_long': None, 'result_double': None}] Qualite : 0.049376905164191125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28439567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439567_13-11-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28439567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439567_13-11-2025_05_35_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439584, 'pht': 3726}}" where mtr_portfolio_id = 28439567 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28439567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185501, 0.049376905164191125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28439567_13-11-2025_05_35_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28439573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28439574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28439575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28439576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28439577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28439578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28439579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28439580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28439581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28439582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28439583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28439584, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28440051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039587, 'mtr_portfolio_id': 28440051, 'created_at': datetime.datetime(2025, 11, 13, 5, 35, 28), 'result': '0.042970963090927614', 'result_long': None, 'result_double': None}] Qualite : 0.042970963090927614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28440051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440051_13-11-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28440051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440051_13-11-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440087, 'pht': 3726}}" where mtr_portfolio_id = 28440051 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28440051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185502, 0.042970963090927614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440051_13-11-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440087, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28440508 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039588, 'mtr_portfolio_id': 28440508, 'created_at': datetime.datetime(2025, 11, 13, 5, 35, 57), 'result': '0.07038990018874619', 'result_long': None, 'result_double': None}] Qualite : 0.07038990018874619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28440508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440508_13-11-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28440508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440508_13-11-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440526, 'pht': 3726}}" where mtr_portfolio_id = 28440508 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28440508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185503, 0.07038990018874619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440508_13-11-2025_05_35_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440526, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28440876 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039589, 'mtr_portfolio_id': 28440876, 'created_at': datetime.datetime(2025, 11, 13, 5, 36, 9), 'result': '0.03597029779318216', 'result_long': None, 'result_double': None}] Qualite : 0.03597029779318216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28440876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440876_13-11-2025_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28440876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440876_13-11-2025_05_36_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440893, 'pht': 3726}}" where mtr_portfolio_id = 28440876 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28440876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185504, 0.03597029779318216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28440876_13-11-2025_05_36_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28440882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28440883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28440884, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28440885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28440886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28440887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28440888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28440889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28440890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28440891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28440892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28440893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28441317 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039590, 'mtr_portfolio_id': 28441317, 'created_at': datetime.datetime(2025, 11, 13, 5, 36, 29), 'result': '0.04940517744365811', 'result_long': None, 'result_double': None}] Qualite : 0.04940517744365811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28441317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28441317_13-11-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28441317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28441317_13-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28441319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28441320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28441321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28441322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28441323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28441324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28441325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28441326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28441327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28441328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28441329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28441330, 'pht': 3726}}" where mtr_portfolio_id = 28441317 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28441317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185505, 0.04940517744365811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28441317_13-11-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28441319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28441320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28441321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28441322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28441323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28441324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28441325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28441326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28441327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28441328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28441329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28441330, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28442063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039591, 'mtr_portfolio_id': 28442063, 'created_at': datetime.datetime(2025, 11, 13, 5, 36, 59), 'result': '0.06540045808800096', 'result_long': None, 'result_double': None}] Qualite : 0.06540045808800096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28442063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442063_13-11-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28442063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442063_13-11-2025_05_37_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28442088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442099, 'pht': 3726}}" where mtr_portfolio_id = 28442063 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28442063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185506, 0.06540045808800096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442063_13-11-2025_05_37_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28442088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28442584 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039592, 'mtr_portfolio_id': 28442584, 'created_at': datetime.datetime(2025, 11, 13, 5, 37, 34), 'result': '0.043376751697430514', 'result_long': None, 'result_double': None}] Qualite : 0.043376751697430514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28442584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442584_13-11-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28442584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442584_13-11-2025_05_37_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28442613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442620, 'pht': 3726}}" where mtr_portfolio_id = 28442584 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28442584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185507, 0.043376751697430514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442584_13-11-2025_05_37_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28442609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28442613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28442615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28442618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28442619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28442620, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28442978 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039593, 'mtr_portfolio_id': 28442978, 'created_at': datetime.datetime(2025, 11, 13, 5, 37, 31), 'result': '0.04242295567263018', 'result_long': None, 'result_double': None}] Qualite : 0.04242295567263018 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28442978 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_13-11-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28442978 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_13-11-2025_05_37_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443005, 'pht': 3726}}" where mtr_portfolio_id = 28442978 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28442978 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185508, 0.04242295567263018, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28442978_13-11-2025_05_37_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28442994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28442995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28442996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28442997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28442998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28442999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443005, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28443525 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039594, 'mtr_portfolio_id': 28443525, 'created_at': datetime.datetime(2025, 11, 13, 5, 37, 58), 'result': '0.03682536550424333', 'result_long': None, 'result_double': None}] Qualite : 0.03682536550424333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28443525 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28443525_13-11-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28443525 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28443525_13-11-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28443529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28443530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28443534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28443536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28443537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28443538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443540, 'pht': 3726}}" where mtr_portfolio_id = 28443525 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28443525 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185509, 0.03682536550424333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28443525_13-11-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28443529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28443530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28443531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28443532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28443533, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28443534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28443535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28443536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28443537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28443538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28443539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28443540, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28444126 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039595, 'mtr_portfolio_id': 28444126, 'created_at': datetime.datetime(2025, 11, 13, 5, 38, 28), 'result': '0.03595784924840209', 'result_long': None, 'result_double': None}] Qualite : 0.03595784924840209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28444126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444126_13-11-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28444126 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444126_13-11-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28444127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444138, 'pht': 3726}}" where mtr_portfolio_id = 28444126 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28444126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185510, 0.03595784924840209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444126_13-11-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28444127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444131, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444138, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28444580 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039596, 'mtr_portfolio_id': 28444580, 'created_at': datetime.datetime(2025, 11, 13, 5, 38, 58), 'result': '0.05242542952087066', 'result_long': None, 'result_double': None}] Qualite : 0.05242542952087066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28444580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444580_13-11-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28444580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444580_13-11-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28444624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444629, 'pht': 3726}}" where mtr_portfolio_id = 28444580 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28444580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185511, 0.05242542952087066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28444580_13-11-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28444618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28444619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28444620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28444621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28444622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28444623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28444624, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28444625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28444626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28444627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28444628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28444629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28445271 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039597, 'mtr_portfolio_id': 28445271, 'created_at': datetime.datetime(2025, 11, 13, 5, 39, 32), 'result': '0.0742530576962444', 'result_long': None, 'result_double': None}] Qualite : 0.0742530576962444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28445271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28445271_13-11-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28445271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28445271_13-11-2025_05_39_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28445278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28445279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28445280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28445282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28445283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28445284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28445285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28445286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28445287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28445288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28445289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28445290, 'pht': 3726}}" where mtr_portfolio_id = 28445271 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28445271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185512, 0.0742530576962444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28445271_13-11-2025_05_39_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28445278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28445279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28445280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28445282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28445283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28445284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28445285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28445286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28445287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28445288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28445289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28445290, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28446031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4039598, 'mtr_portfolio_id': 28446031, 'created_at': datetime.datetime(2025, 11, 13, 5, 39, 30), 'result': '0.052775933503206286', 'result_long': None, 'result_double': None}] Qualite : 0.052775933503206286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28446031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_13-11-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28446031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_13-11-2025_05_39_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446045, 'pht': 3726}}" where mtr_portfolio_id = 28446031 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28446031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185513, 0.052775933503206286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446031_13-11-2025_05_39_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28446272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035573, 'mtr_portfolio_id': 28446272, 'created_at': datetime.datetime(2025, 11, 12, 10, 2, 56), 'result': '0.058284714546717666', 'result_long': None, 'result_double': None}] Qualite : 0.058284714546717666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28446272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446272_12-11-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28446272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446272_12-11-2025_10_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446304, 'pht': 3726}}" where mtr_portfolio_id = 28446272 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28446272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185514, 0.058284714546717666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446272_12-11-2025_10_02_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28446293, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446304, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28446669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035632, 'mtr_portfolio_id': 28446669, 'created_at': datetime.datetime(2025, 11, 12, 10, 16, 59), 'result': '0.04057481385329212', 'result_long': None, 'result_double': None}] Qualite : 0.04057481385329212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28446669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446669_12-11-2025_10_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28446669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446669_12-11-2025_10_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28446684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446688, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446692, 'pht': 3726}}" where mtr_portfolio_id = 28446669 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28446669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185515, 0.04057481385329212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28446669_12-11-2025_10_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28446681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28446682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28446683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28446684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28446685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28446686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28446687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28446688, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28446689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28446690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28446691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28446692, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28447239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035701, 'mtr_portfolio_id': 28447239, 'created_at': datetime.datetime(2025, 11, 12, 10, 32, 59), 'result': '0.057576946828687296', 'result_long': None, 'result_double': None}] Qualite : 0.057576946828687296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28447239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447239_12-11-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28447239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447239_12-11-2025_10_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447258, 'pht': 3726}}" where mtr_portfolio_id = 28447239 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28447239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185516, 0.057576946828687296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447239_12-11-2025_10_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28447703 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035793, 'mtr_portfolio_id': 28447703, 'created_at': datetime.datetime(2025, 11, 12, 10, 46, 59), 'result': '0.05793115358241939', 'result_long': None, 'result_double': None}] Qualite : 0.05793115358241939 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28447703 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447703_12-11-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28447703 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447703_12-11-2025_10_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447741, 'pht': 3726}}" where mtr_portfolio_id = 28447703 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28447703 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185517, 0.05793115358241939, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28447703_12-11-2025_10_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28447730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28447731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28447732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28447733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28447734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28447735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28447736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28447737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28447738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28447739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28447740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28447741, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28448213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035846, 'mtr_portfolio_id': 28448213, 'created_at': datetime.datetime(2025, 11, 12, 11, 2, 59), 'result': '0.031382249133977386', 'result_long': None, 'result_double': None}] Qualite : 0.031382249133977386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28448213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448213_12-11-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28448213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448213_12-11-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28448225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448233, 'pht': 3726}}" where mtr_portfolio_id = 28448213 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28448213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185518, 0.031382249133977386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448213_12-11-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448222, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448223, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28448225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28448705 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4035942, 'mtr_portfolio_id': 28448705, 'created_at': datetime.datetime(2025, 11, 12, 11, 18, 58), 'result': '0.043153045321306385', 'result_long': None, 'result_double': None}] Qualite : 0.043153045321306385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28448705 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448705_12-11-2025_11_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28448705 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448705_12-11-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28448737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448748, 'pht': 3726}}" where mtr_portfolio_id = 28448705 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28448705 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185519, 0.043153045321306385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28448705_12-11-2025_11_18_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28448737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28448738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28448739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28448740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28448741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28448742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28448743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28448744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28448745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28448746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28448747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28448748, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28449458 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036017, 'mtr_portfolio_id': 28449458, 'created_at': datetime.datetime(2025, 11, 12, 11, 32, 59), 'result': '0.030150344740870316', 'result_long': None, 'result_double': None}] Qualite : 0.030150344740870316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28449458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449458_12-11-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28449458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449458_12-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449495, 'pht': 3726}}" where mtr_portfolio_id = 28449458 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28449458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185520, 0.030150344740870316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449458_12-11-2025_11_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449495, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28449854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036080, 'mtr_portfolio_id': 28449854, 'created_at': datetime.datetime(2025, 11, 12, 11, 46, 58), 'result': '0.06850753439317708', 'result_long': None, 'result_double': None}] Qualite : 0.06850753439317708 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28449854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449854_12-11-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28449854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449854_12-11-2025_11_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449881, 'pht': 3726}}" where mtr_portfolio_id = 28449854 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28449854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185521, 0.06850753439317708, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28449854_12-11-2025_11_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28449869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28449870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28449871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28449873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28449874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28449875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28449876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28449877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28449878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28449879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28449880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28449881, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28450449 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036202, 'mtr_portfolio_id': 28450449, 'created_at': datetime.datetime(2025, 11, 12, 12, 4, 59), 'result': '0.05203388630201553', 'result_long': None, 'result_double': None}] Qualite : 0.05203388630201553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28450449 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28450449_12-11-2025_12_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28450449 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28450449_12-11-2025_12_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28450498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28450499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28450500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28450501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28450502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28450503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28450504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28450505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28450506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28450507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28450508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28450509, 'pht': 3726}}" where mtr_portfolio_id = 28450449 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28450449 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185522, 0.05203388630201553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28450449_12-11-2025_12_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28450498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28450499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28450500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28450501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28450502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28450503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28450504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28450505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28450506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28450507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28450508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28450509, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28451008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036300, 'mtr_portfolio_id': 28451008, 'created_at': datetime.datetime(2025, 11, 12, 12, 26, 59), 'result': '0.04498932939802386', 'result_long': None, 'result_double': None}] Qualite : 0.04498932939802386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28451008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28451008_12-11-2025_12_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28451008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28451008_12-11-2025_12_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28451035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28451037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28451038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28451039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28451040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28451041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28451042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28451043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28451044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28451045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28451046, 'pht': 3726}}" where mtr_portfolio_id = 28451008 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28451008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185523, 0.04498932939802386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28451008_12-11-2025_12_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28451035, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28451037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28451038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28451039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28451040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28451041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28451042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28451043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28451044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28451045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28451046, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28453230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036583, 'mtr_portfolio_id': 28453230, 'created_at': datetime.datetime(2025, 11, 12, 13, 46, 59), 'result': '0.06502857073333629', 'result_long': None, 'result_double': None}] Qualite : 0.06502857073333629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28453230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453230_12-11-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28453230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453230_12-11-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453244, 'pht': 3726}}" where mtr_portfolio_id = 28453230 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28453230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185524, 0.06502857073333629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453230_12-11-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453234, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453244, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28453361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036597, 'mtr_portfolio_id': 28453361, 'created_at': datetime.datetime(2025, 11, 12, 14, 3, 1), 'result': '0.03582624182261684', 'result_long': None, 'result_double': None}] Qualite : 0.03582624182261684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28453361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453361_12-11-2025_14_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28453361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453361_12-11-2025_14_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28453365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453376, 'pht': 3726}}" where mtr_portfolio_id = 28453361 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28453361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185525, 0.03582624182261684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453361_12-11-2025_14_03_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28453365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28453374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453376, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28453742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036657, 'mtr_portfolio_id': 28453742, 'created_at': datetime.datetime(2025, 11, 12, 14, 16, 58), 'result': '0.06559513583676933', 'result_long': None, 'result_double': None}] Qualite : 0.06559513583676933 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28453742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453742_12-11-2025_14_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28453742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453742_12-11-2025_14_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28453753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453764, 'pht': 3726}}" where mtr_portfolio_id = 28453742 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28453742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185526, 0.06559513583676933, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28453742_12-11-2025_14_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28453753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28453754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28453755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28453756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28453757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28453758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28453759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28453760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28453761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28453762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28453763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28453764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28454265 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036717, 'mtr_portfolio_id': 28454265, 'created_at': datetime.datetime(2025, 11, 12, 14, 32, 58), 'result': '0.06890269781197342', 'result_long': None, 'result_double': None}] Qualite : 0.06890269781197342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28454265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454265_12-11-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28454265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454265_12-11-2025_14_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454284, 'pht': 3726}}" where mtr_portfolio_id = 28454265 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28454265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185527, 0.06890269781197342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454265_12-11-2025_14_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28454846 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036788, 'mtr_portfolio_id': 28454846, 'created_at': datetime.datetime(2025, 11, 12, 14, 48, 57), 'result': '0.03902233846826116', 'result_long': None, 'result_double': None}] Qualite : 0.03902233846826116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28454846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454846_12-11-2025_14_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28454846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454846_12-11-2025_14_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454874, 'pht': 3726}}" where mtr_portfolio_id = 28454846 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28454846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185528, 0.03902233846826116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28454846_12-11-2025_14_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28454863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28454864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28454865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28454866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28454867, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28454868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28454869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28454870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28454871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28454872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28454873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28454874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28455557 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036878, 'mtr_portfolio_id': 28455557, 'created_at': datetime.datetime(2025, 11, 12, 15, 4, 58), 'result': '0.04585221427810639', 'result_long': None, 'result_double': None}] Qualite : 0.04585221427810639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28455557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455557_12-11-2025_15_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28455557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455557_12-11-2025_15_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28455583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28455584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28455585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28455589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28455591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28455592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28455593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28455594, 'pht': 3726}}" where mtr_portfolio_id = 28455557 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28455557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185529, 0.04585221427810639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455557_12-11-2025_15_04_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28455583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28455584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28455585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28455589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28455591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28455592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28455593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28455594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28455981 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4036944, 'mtr_portfolio_id': 28455981, 'created_at': datetime.datetime(2025, 11, 12, 15, 16, 58), 'result': '0.050662418481762006', 'result_long': None, 'result_double': None}] Qualite : 0.050662418481762006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28455981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455981_12-11-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28455981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455981_12-11-2025_15_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28455995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456006, 'pht': 3726}}" where mtr_portfolio_id = 28455981 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28455981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185530, 0.050662418481762006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28455981_12-11-2025_15_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28455995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28455996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28455997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28455998, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28455999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28456551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037014, 'mtr_portfolio_id': 28456551, 'created_at': datetime.datetime(2025, 11, 12, 15, 33), 'result': '0.045775135068252905', 'result_long': None, 'result_double': None}] Qualite : 0.045775135068252905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28456551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456551_12-11-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28456551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456551_12-11-2025_15_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28456555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28456561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28456562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28456563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28456566, 'pht': 3726}}" where mtr_portfolio_id = 28456551 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28456551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185531, 0.045775135068252905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456551_12-11-2025_15_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28456555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28456556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28456557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28456558, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28456560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28456561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28456562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28456563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28456564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28456565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28456566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28456982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037080, 'mtr_portfolio_id': 28456982, 'created_at': datetime.datetime(2025, 11, 12, 15, 46, 57), 'result': '0.03210069789643234', 'result_long': None, 'result_double': None}] Qualite : 0.03210069789643234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28456982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456982_12-11-2025_15_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28456982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456982_12-11-2025_15_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457010, 'pht': 3726}}" where mtr_portfolio_id = 28456982 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28456982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185532, 0.03210069789643234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28456982_12-11-2025_15_46_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28456999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457009, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457010, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28457654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037150, 'mtr_portfolio_id': 28457654, 'created_at': datetime.datetime(2025, 11, 12, 16, 4, 59), 'result': '0.03624139119484413', 'result_long': None, 'result_double': None}] Qualite : 0.03624139119484413 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28457654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28457654_12-11-2025_16_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28457654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28457654_12-11-2025_16_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28457690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457699, 'pht': 3726}}" where mtr_portfolio_id = 28457654 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28457654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185533, 0.03624139119484413, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28457654_12-11-2025_16_04_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28457687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28457688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28457689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28457690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28457691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28457692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28457693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28457694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28457695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28457697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28457698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28457699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28458325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037243, 'mtr_portfolio_id': 28458325, 'created_at': datetime.datetime(2025, 11, 12, 16, 16, 58), 'result': '0.06438595325761913', 'result_long': None, 'result_double': None}] Qualite : 0.06438595325761913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28458325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28458325_12-11-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28458325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28458325_12-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28458396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28458398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28458399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28458400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28458401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28458402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28458403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28458404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28458405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28458406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28458407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28458408, 'pht': 3726}}" where mtr_portfolio_id = 28458325 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28458325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185534, 0.06438595325761913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28458325_12-11-2025_16_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28458396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28458398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28458399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28458400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28458401, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28458402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28458403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28458404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28458405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28458406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28458407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28458408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28459027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037320, 'mtr_portfolio_id': 28459027, 'created_at': datetime.datetime(2025, 11, 12, 16, 32, 56), 'result': '0.034397860806281134', 'result_long': None, 'result_double': None}] Qualite : 0.034397860806281134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28459027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459027_12-11-2025_16_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28459027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459027_12-11-2025_16_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28459052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459061, 'pht': 3726}}" where mtr_portfolio_id = 28459027 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28459027 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185535, 0.034397860806281134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459027_12-11-2025_16_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28459052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28459711 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037390, 'mtr_portfolio_id': 28459711, 'created_at': datetime.datetime(2025, 11, 12, 16, 47), 'result': '0.045972488162189185', 'result_long': None, 'result_double': None}] Qualite : 0.045972488162189185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28459711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459711_12-11-2025_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28459711 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459711_12-11-2025_16_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28459729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459740, 'pht': 3726}}" where mtr_portfolio_id = 28459711 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28459711 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185536, 0.045972488162189185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28459711_12-11-2025_16_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28459729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28459730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28459731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28459732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28459733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28459734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28459735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28459736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28459737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28459738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28459739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28459740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28460192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037452, 'mtr_portfolio_id': 28460192, 'created_at': datetime.datetime(2025, 11, 12, 17, 6, 57), 'result': '0.0576984718184156', 'result_long': None, 'result_double': None}] Qualite : 0.0576984718184156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28460192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460192_12-11-2025_17_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28460192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460192_12-11-2025_17_06_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460228, 'pht': 3726}}" where mtr_portfolio_id = 28460192 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28460192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185537, 0.0576984718184156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460192_12-11-2025_17_06_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460228, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28460680 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037519, 'mtr_portfolio_id': 28460680, 'created_at': datetime.datetime(2025, 11, 12, 17, 20, 57), 'result': '0.04449862778668985', 'result_long': None, 'result_double': None}] Qualite : 0.04449862778668985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28460680 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460680_12-11-2025_17_20_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28460680 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460680_12-11-2025_17_20_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460709, 'pht': 3726}}" where mtr_portfolio_id = 28460680 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28460680 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185538, 0.04449862778668985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28460680_12-11-2025_17_20_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28460697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28460698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28460699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28460700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28460702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28460703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28460704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28460705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28460706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28460707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28460708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28460709, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28461225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037602, 'mtr_portfolio_id': 28461225, 'created_at': datetime.datetime(2025, 11, 12, 18, 59, 58), 'result': '0.04022485731338489', 'result_long': None, 'result_double': None}] Qualite : 0.04022485731338489 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28461225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28461225_12-11-2025_18_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28461225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28461225_12-11-2025_18_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28461234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28461235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28461236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28461237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28461238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28461239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28461240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28461241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28461242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28461243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28461245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28461246, 'pht': 3726}}" where mtr_portfolio_id = 28461225 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28461225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185539, 0.04022485731338489, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28461225_12-11-2025_18_59_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28461234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28461235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28461236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28461237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28461238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28461239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28461240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28461241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28461242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28461243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28461245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28461246, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28463302 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037895, 'mtr_portfolio_id': 28463302, 'created_at': datetime.datetime(2025, 11, 12, 19, 5), 'result': '0.060588273243048434', 'result_long': None, 'result_double': None}] Qualite : 0.060588273243048434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28463302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463302_12-11-2025_19_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28463302 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463302_12-11-2025_19_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463314, 'pht': 3726}}" where mtr_portfolio_id = 28463302 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28463302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185540, 0.060588273243048434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463302_12-11-2025_19_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463314, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28463432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037912, 'mtr_portfolio_id': 28463432, 'created_at': datetime.datetime(2025, 11, 12, 19, 16, 57), 'result': '0.053979485779784224', 'result_long': None, 'result_double': None}] Qualite : 0.053979485779784224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28463432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463432_12-11-2025_19_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28463432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463432_12-11-2025_19_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463458, 'pht': 3726}}" where mtr_portfolio_id = 28463432 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28463432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185541, 0.053979485779784224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463432_12-11-2025_19_16_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28463913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4037950, 'mtr_portfolio_id': 28463913, 'created_at': datetime.datetime(2025, 11, 12, 19, 33, 1), 'result': '0.05015329202663592', 'result_long': None, 'result_double': None}] Qualite : 0.05015329202663592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28463913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463913_12-11-2025_19_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28463913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463913_12-11-2025_19_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463928, 'pht': 3726}}" where mtr_portfolio_id = 28463913 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28463913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185542, 0.05015329202663592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28463913_12-11-2025_19_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28463917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28463918, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28463919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28463920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28463921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28463922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28463923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28463924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28463925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28463926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28463927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28463928, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28464353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038016, 'mtr_portfolio_id': 28464353, 'created_at': datetime.datetime(2025, 11, 12, 19, 47), 'result': '0.03618028844016359', 'result_long': None, 'result_double': None}] Qualite : 0.03618028844016359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28464353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464353_12-11-2025_19_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28464353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464353_12-11-2025_19_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28464407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28464410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464418, 'pht': 3726}}" where mtr_portfolio_id = 28464353 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28464353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185543, 0.03618028844016359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464353_12-11-2025_19_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28464407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28464410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464418, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28464819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038084, 'mtr_portfolio_id': 28464819, 'created_at': datetime.datetime(2025, 11, 12, 20, 5), 'result': '0.040740649912163716', 'result_long': None, 'result_double': None}] Qualite : 0.040740649912163716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28464819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464819_12-11-2025_20_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28464819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464819_12-11-2025_20_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28464829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28464832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464840, 'pht': 3726}}" where mtr_portfolio_id = 28464819 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28464819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185544, 0.040740649912163716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28464819_12-11-2025_20_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28464829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28464830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28464831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28464832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28464833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28464834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28464835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28464836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28464837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28464838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28464839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28464840, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28465258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038170, 'mtr_portfolio_id': 28465258, 'created_at': datetime.datetime(2025, 11, 12, 20, 17, 28), 'result': '0.03878602786271151', 'result_long': None, 'result_double': None}] Qualite : 0.03878602786271151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28465258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465258_12-11-2025_20_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28465258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465258_12-11-2025_20_17_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465342, 'pht': 3726}}" where mtr_portfolio_id = 28465258 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28465258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185545, 0.03878602786271151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465258_12-11-2025_20_17_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465342, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28465838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038258, 'mtr_portfolio_id': 28465838, 'created_at': datetime.datetime(2025, 11, 12, 20, 32, 58), 'result': '0.06612700014634387', 'result_long': None, 'result_double': None}] Qualite : 0.06612700014634387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28465838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465838_12-11-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28465838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465838_12-11-2025_20_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465866, 'pht': 3726}}" where mtr_portfolio_id = 28465838 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28465838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185546, 0.06612700014634387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28465838_12-11-2025_20_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28465855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28465856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28465857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28465858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28465859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28465860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28465861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28465862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28465863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28465864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28465865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28465866, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28466433 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038341, 'mtr_portfolio_id': 28466433, 'created_at': datetime.datetime(2025, 11, 12, 20, 48, 57), 'result': '0.03687500860556405', 'result_long': None, 'result_double': None}] Qualite : 0.03687500860556405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28466433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28466433_12-11-2025_20_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28466433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28466433_12-11-2025_20_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28466469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28466470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28466471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28466472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28466473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28466474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28466475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28466476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28466477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28466478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28466479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28466480, 'pht': 3726}}" where mtr_portfolio_id = 28466433 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28466433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185547, 0.03687500860556405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28466433_12-11-2025_20_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28466469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28466470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28466471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28466472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28466473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28466474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28466475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28466476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28466477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28466478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28466479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28466480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28467054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038438, 'mtr_portfolio_id': 28467054, 'created_at': datetime.datetime(2025, 11, 12, 21, 4, 59), 'result': '0.060021233332660344', 'result_long': None, 'result_double': None}] Qualite : 0.060021233332660344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28467054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467054_12-11-2025_21_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28467054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467054_12-11-2025_21_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467091, 'pht': 3726}}" where mtr_portfolio_id = 28467054 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28467054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185548, 0.060021233332660344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467054_12-11-2025_21_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467081, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467091, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28467598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038506, 'mtr_portfolio_id': 28467598, 'created_at': datetime.datetime(2025, 11, 12, 21, 19), 'result': '0.025340899194146102', 'result_long': None, 'result_double': None}] Qualite : 0.025340899194146102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28467598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467598_12-11-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28467598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467598_12-11-2025_21_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467617, 'pht': 3726}}" where mtr_portfolio_id = 28467598 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28467598 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185549, 0.025340899194146102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28467598_12-11-2025_21_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28467606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28467607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28467608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28467609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28467610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28467611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28467612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28467613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28467614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28467615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28467616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28467617, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28468052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038562, 'mtr_portfolio_id': 28468052, 'created_at': datetime.datetime(2025, 11, 12, 21, 33, 28), 'result': '0.15642512590762023', 'result_long': None, 'result_double': None}] Qualite : 0.15642512590762023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28468052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468052_12-11-2025_21_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28468052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468052_12-11-2025_21_33_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468065, 'pht': 3726}}" where mtr_portfolio_id = 28468052 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28468052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185550, 0.15642512590762023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468052_12-11-2025_21_33_28.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468065, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28468223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038585, 'mtr_portfolio_id': 28468223, 'created_at': datetime.datetime(2025, 11, 12, 21, 48, 59), 'result': '0.035445543835837666', 'result_long': None, 'result_double': None}] Qualite : 0.035445543835837666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28468223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468223_12-11-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28468223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468223_12-11-2025_21_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468239, 'pht': 3726}}" where mtr_portfolio_id = 28468223 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28468223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185551, 0.035445543835837666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468223_12-11-2025_21_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28468698 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038721, 'mtr_portfolio_id': 28468698, 'created_at': datetime.datetime(2025, 11, 12, 22, 19, 29), 'result': '0.06554465381318954', 'result_long': None, 'result_double': None}] Qualite : 0.06554465381318954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28468698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468698_12-11-2025_22_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28468698 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468698_12-11-2025_22_19_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468710, 'pht': 3726}}" where mtr_portfolio_id = 28468698 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28468698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185552, 0.06554465381318954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28468698_12-11-2025_22_19_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28468699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28468700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28468701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28468702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28468703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28468704, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28468705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28468706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28468707, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28468708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28468709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28468710, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28469164 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038744, 'mtr_portfolio_id': 28469164, 'created_at': datetime.datetime(2025, 11, 12, 22, 35), 'result': '0.09406498985621256', 'result_long': None, 'result_double': None}] Qualite : 0.09406498985621256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28469164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28469164_12-11-2025_22_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28469164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28469164_12-11-2025_22_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28469167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28469168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28469169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28469170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28469171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28469172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28469173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28469174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28469175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28469176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28469177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28469178, 'pht': 3726}}" where mtr_portfolio_id = 28469164 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28469164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185553, 0.09406498985621256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28469164_12-11-2025_22_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28469167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28469168, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28469169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28469170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28469171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28469172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28469173, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28469174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28469175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28469176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28469177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28469178, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28470691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038837, 'mtr_portfolio_id': 28470691, 'created_at': datetime.datetime(2025, 11, 12, 23, 16, 30), 'result': '0.04603900779996034', 'result_long': None, 'result_double': None}] Qualite : 0.04603900779996034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28470691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28470691_12-11-2025_23_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28470691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28470691_12-11-2025_23_16_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28470692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28470693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28470694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28470695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28470696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28470697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28470698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28470699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28470700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28470701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28470702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28470703, 'pht': 3726}}" where mtr_portfolio_id = 28470691 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28470691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185554, 0.04603900779996034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28470691_12-11-2025_23_16_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28470692, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28470693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28470694, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28470695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28470696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28470697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28470698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28470699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28470700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28470701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28470702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28470703, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038859, 'mtr_portfolio_id': 28471029, 'created_at': datetime.datetime(2025, 11, 12, 23, 35), 'result': '0.05890527398907287', 'result_long': None, 'result_double': None}] Qualite : 0.05890527398907287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28471029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471029_12-11-2025_23_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28471029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471029_12-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471042, 'pht': 3726}}" where mtr_portfolio_id = 28471029 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28471029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185555, 0.05890527398907287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471029_12-11-2025_23_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471536 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4038891, 'mtr_portfolio_id': 28471536, 'created_at': datetime.datetime(2025, 11, 12, 23, 51), 'result': '0.06811006023420522', 'result_long': None, 'result_double': None}] Qualite : 0.06811006023420522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28471536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471536_12-11-2025_23_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28471536 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471536_12-11-2025_23_51_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471550, 'pht': 3726}}" where mtr_portfolio_id = 28471536 and dashboard_run_id = 2579838 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28471536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17185556, 0.06811006023420522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471536_12-11-2025_23_51_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28471542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471550, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471792 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 28471792 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471792 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28471792 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28471792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471792_13-11-2025_01_03_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28471792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28471792_13-11-2025_01_03_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28471793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28471794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28471795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28471796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28471797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28471798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28471799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28471800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28471801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28471802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28471803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28471804, 'pht': 3726}}" where mtr_portfolio_id = 28471792 and dashboard_run_id = 2579838 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28438484,28438745,28439103,28439567,28440051,28440508,28440876,28441317,28442063,28442584,28442978,28443525,28444126,28444580,28445271,28446031,28446272,28446669,28447239,28447703,28448213,28448705,28449458,28449854,28450449,28451008,28453230,28453361,28453742,28454265,28454846,28455557,28455981,28456551,28456982,28457654,28458325,28459027,28459711,28460192,28460680,28461225,28463302,28463432,28463913,28464353,28464819,28465258,28465838,28466433,28467054,28467598,28468052,28468223,28468698,28469164,28470691,28471029,28471536,28471792) result : ((1393988874,), (1393988891,), (1393988893,), (1393988895,), (1393988897,), (1393988901,), (1393988920,), (1393988922,), (1393988924,), (1393988927,), (1393988931,), (1393988945,), (1393988946,), (1393988947,), (1393988948,), (1393988951,), (1393988973,), (1393988975,), (1393988977,), (1393989005,), (1393989007,), (1393989011,), (1393989015,), (1393989020,), (1393989023,), (1393989073,), (1393989077,), (1393989079,), (1393989080,), (1393989099,), (1393989101,), (1393989103,), (1393989106,), (1393989109,), (1393989112,), (1393989142,), (1393989143,), (1393989144,), (1393989145,), (1393989148,), (1393989150,), (1393989165,), (1393989168,), (1393989172,), (1393989178,), (1393989211,), (1393989212,), (1393989213,), (1393989216,), (1393989221,), (1393989223,), (1393989241,), (1393989243,), (1393989247,), (1393989250,), (1393989286,), (1393989291,), (1393989293,), (1393989294,), (1393989297,), (1393989301,), (1393989356,), (1393989360,), (1393989364,), (1393989369,), (1393989378,), (1393989380,), (1393989382,), (1393989351,), (1393989353,), (1393989396,), (1393989398,), (1393989400,), (1393989403,), (1393989407,), (1393989409,), (1393989433,), (1393989436,), (1393989438,), (1393989467,), (1393989469,), (1393989471,), (1393989474,), (1393989478,), (1393989482,), (1393989499,), (1393989502,), (1393989504,), (1393989506,), (1393989511,), (1393989547,), (1393989550,), (1393989552,), (1393989555,), (1393989559,), (1393989575,), (1393989576,), (1393989579,), (1393989581,), (1393989585,), (1393989588,), (1393989629,), (1393989631,), (1393989633,), (1393989635,), (1393989664,), (1393989667,), (1393989669,), (1393989672,), (1393989675,), (1393989678,), (1393989718,), (1393989720,), (1393989721,), (1393989722,), (1393989745,), (1393989747,), (1393989749,), (1393989788,), (1393989790,), (1393989791,), (1393989794,), (1393989799,), (1393989803,), (1393989815,), (1393989818,), (1393989820,), (1393989823,), (1393989850,), (1393989852,), (1393989854,), (1393989856,), (1393989861,), (1393989866,), (1393989882,), (1393989885,), (1393989889,), (1393989894,), (1393989901,), (1393989905,), (1393989928,), (1393989923,), (1393989925,), (1393989926,), (1393989948,), (1393989949,), (1393989950,), (1393989952,), (1393989957,), (1393989983,), (1393989985,), (1393989987,), (1393989990,), (1393989994,), (1393990013,), (1393990015,), (1393990016,), (1393990017,), (1393990058,), (1393990060,), (1393990062,), (1393990066,), (1393990071,), (1393990075,), (1393990090,), (1393990092,), (1393990094,), (1393990096,), (1393990136,), (1393990138,), (1393990140,), (1393990142,), (1393990146,), (1393990150,), (1393990164,), (1393990166,), (1393990167,), (1393990168,), (1393990209,), (1393990210,), (1393990213,), (1393990218,), (1393990220,), (1393990236,), (1393990239,), (1393990242,), (1393990247,), (1393990253,), (1393990278,), (1393990280,), (1393990283,), (1393990286,), (1393990291,), (1393990309,), (1393990312,), (1393990314,), (1393990342,), (1393990377,), (1393990412,), (1393990596,), (1393990597,), (1393990598,), (1393990601,), (1393990606,), (1393990640,), (1393990646,), (1393990652,), (1393990657,), (1393990662,), (1393990666,), (1393990702,), (1393990692,), (1393990696,), (1393990698,), (1393990700,), (1393990954,), (1393990989,), (1393991025,), (1393991081,), (1393991146,), (1393991685,), (1393991719,), (1393991751,), (1393991788,), (1393991820,), (1393991973,), (1393992002,), (1393992004,), (1393992025,), (1393992045,), (1393992049,), (1393992120,), (1393992124,), (1393992126,), (1393992163,), (1393992169,), (1393992170,), (1393992171,), (1393992174,), (1393992181,), (1393992199,), (1393992203,), (1393992209,), (1393992214,), (1393992241,), (1393992243,), (1393992244,), (1393992246,), (1393992250,), (1393992253,), (1393992270,), (1393992272,), (1393992274,), (1393992278,), (1393992282,), (1393992315,), (1393992316,), (1393992317,), (1393992319,), (1393992323,), (1393992327,), (1393992348,), (1393992350,), (1393992352,), (1393992355,), (1393992385,), (1393992388,), (1393992390,), (1393992393,), (1393992397,), (1393992419,), (1393992420,), (1393992421,), (1393992424,), (1393992429,), (1393992433,), (1393992459,), (1393992463,), (1393992466,), (1393992470,), (1393992499,), (1393992501,), (1393992503,), (1393992553,), (1393992544,), (1393992552,), (1393992816,), (1393992849,), (1393992850,), (1393992892,), (1393992895,), (1393992898,), (1393992902,), (1393992906,), (1393992927,), (1393992930,), (1393992931,), (1393992976,), (1393992979,), (1393992981,), (1393993014,), (1393993016,), (1393993018,), (1393993020,), (1393993024,), (1393993026,), (1393993069,), (1393993078,), (1393993082,), (1393993083,), (1393993086,), (1393993089,), (1393993120,), (1393993124,), (1393993127,), (1393993137,), (1393993139,), (1393993140,), (1393993142,), (1393993111,), (1393993113,), (1393993116,), (1393993170,), (1393993173,), (1393993177,), (1393993180,), (1393993183,), (1393993199,), (1393993202,), (1393993205,), (1393993208,), (1393993238,), (1393993241,), (1393993243,), (1393993245,), (1393993247,), (1393993268,), (1393993269,), (1393993270,), (1393993303,), (1393993306,), (1393993358,), (1393993360,), (1393993361,), (1393993387,), (1393993580,), (1393993582,), (1393993583,), (1393993584,), (1393993587,), (1393993608,), (1393993609,), (1393993611,), (1393993614,), (1393993645,), (1393993641,), (1393993643,), (1393993668,), (1393993670,), (1393993671,), (1393993672,), (1393993674,), (1393993708,), (1393993711,), (1393993713,), (1393993716,), (1393993738,), (1393993740,), (1393993742,), (1393993745,), (1393993750,), (1393993784,), (1393993792,), (1393993794,), (1393993797,), (1393993800,), (1393993804,), (1393993821,), (1393993824,), (1393993826,), (1393993865,), (1393993866,), (1393993867,), (1393993870,), (1393993873,), (1393993878,), (1393993894,), (1393993897,), (1393993900,), (1393993904,), (1393993910,), (1393993948,), (1393993950,), (1393993952,), (1393993955,), (1393993960,), (1393993962,), (1393993980,), (1393993983,), (1393993985,), (1393993987,), (1393993990,), (1393993994,), (1393994028,), (1393994029,), (1393994030,), (1393994054,), (1393994057,), (1393994060,), (1393994063,), (1393994092,), (1393994094,), (1393994095,), (1393994096,), (1393994099,), (1393994130,), (1393994134,), (1393994138,), (1393994178,), (1393994174,), (1393994175,), (1393994176,), (1393994554,), (1393994588,), (1393994653,), (1393995177,), (1393995211,), (1393995245,), (1393995298,), (1393995335,), (1393995372,), (1393995719,), (1393995786,), (1393995847,), (1393995880,), (1393995911,), (1393995915,), (1393996139,), (1393996156,), (1393996175,), (1393996192,), (1393996240,), (1393996243,), (1393996245,), (1393996248,), (1393996251,), (1393996253,), (1393996314,), (1393996320,), (1393996322,), (1393996724,), (1393996760,), (1393996795,), (1393996828,), (1393996863,), (1393997040,), (1393997045,), (1393997080,), (1393997124,), (1393997174,), (1393997249,), (1393997772,), (1393997820,), (1393997885,), (1393997972,), (1393998045,), (1393998204,), (1393998237,), (1393998273,), (1393998305,), (1393998313,), (1393998322,), (1393998396,), (1393998454,), (1393998548,), (1393998645,), (1393998747,), (1393999051,), (1393999053,), (1393999055,), (1393999059,), (1393999062,), (1393999066,), (1393999434,), (1393999440,), (1393999441,), (1393999442,), (1393999505,), (1393999508,), (1393999512,), (1393999519,), (1393999525,), (1393999595,), (1393999577,), (1393999586,), (1393999589,), (1393999591,), (1393999704,), (1393999732,), (1393999767,), (1393999782,), (1393999786,), (1393999913,), (1393999926,), (1393999936,), (1393999941,), (1393999945,), (1393999951,), (1393999992,), (1394000003,), (1394000004,), (1394000049,), (1394000060,), (1394000063,), (1394000066,), (1394000071,), (1394000076,), (1394000101,), (1394000103,), (1394000104,), (1394000105,), (1394000108,), (1394000135,), (1394000136,), (1394000286,), (1394000288,), (1394000291,), (1394000294,), (1394000298,), (1394000301,), (1394000329,), (1394000332,), (1394000334,), (1394000336,), (1394000365,), (1394000373,), (1394000417,), (1394000419,), (1394000421,), (1394000424,), (1394000446,), (1394000449,), (1394000451,), (1394000454,), (1394000459,), (1394000500,), (1394000503,), (1394000505,), (1394000509,), (1394000515,), (1394000543,), (1394000547,), (1394000550,), (1394000578,), (1394000580,), (1394000583,), (1394000584,), (1394000585,), (1394000587,), (1394000625,), (1394000630,), (1394000643,), (1394000644,), (1394000645,), (1394000646,), (1394000648,), (1394000614,), (1394000615,), (1394000617,), (1394000621,), (1394000660,), (1394000664,), (1394000668,), (1394000672,), (1394000691,), (1394000693,), (1394000694,), (1394000695,), (1394000697,), (1394000699,), (1394000734,), (1394000736,), (1394000748,), (1394000757,), (1394000765,), (1394000787,), (1394000790,), (1394000792,), (1394000795,), (1394000825,), (1394000833,), (1394000837,), (1394000840,), (1394000844,), (1394000847,), (1394000868,), (1394000870,), (1394000872,), (1394000902,), (1394000909,), (1394000912,), (1394000916,), (1394000921,), (1394000925,), (1394000949,), (1394000952,), (1394000955,), (1394000956,), (1394000979,), (1394000980,), (1394000981,), (1394000984,), (1394001010,), (1394001012,), (1394001016,), (1394001021,), (1394001025,), (1394001028,), (1394001057,), (1394001058,), (1394001059,), (1394001062,), (1394001065,), (1394001086,), (1394001089,), (1394001092,), (1394001095,), (1394001129,), (1394001130,), (1394001131,), (1394001132,), (1394001134,), (1394001167,), (1394001169,), (1394001170,), (1394001172,), (1394001205,), (1394001197,), (1394001201,), (1394001239,), (1394001241,), (1394001242,), (1394001244,), (1394001248,), (1394001269,), (1394001272,), (1394001273,), (1394001306,), (1394001308,), (1394001311,), (1394001323,), (1394001337,), (1394001340,), (1394001364,), (1394001367,), (1394001369,), (1394001371,), (1394001391,), (1394001393,), (1394001395,), (1394001399,), (1394001432,), (1394001434,), (1394001436,), (1394001439,), (1394001444,), (1394001446,), (1394001467,), (1394001471,), (1394001474,), (1394001477,), (1394001482,), (1394001504,), (1394001505,), (1394001506,), (1394001509,), (1394001567,), (1394001569,), (1394001571,), (1394001574,), (1394001580,), (1394001583,), (1394001605,), (1394001610,), (1394001612,), (1394001645,), (1394001646,), (1394001647,), (1394001650,), (1394001653,), (1394001657,), (1394001688,), (1394001691,), (1394001694,), (1394001697,), (1394001745,), (1394001747,), (1394001751,), (1394001755,), (1394001759,), (1394001761,), (1394001794,), (1394001779,), (1394001782,), (1394001785,), (1394001789,), (1394001827,), (1394001829,), (1394001831,), (1394001833,), (1394001836,), (1394001858,), (1394001861,), (1394001864,), (1394001873,), (1394001911,), (1394001943,), (1394002249,), (1394002279,), (1394002313,), (1394002343,), (1394002377,), (1394002414,), (1394003079,), (1394003114,), (1394003146,), (1394003203,), (1394003251,), (1394003488,), (1394003509,), (1394003540,), (1394003573,), (1394003611,), (1394003643,), (1394004042,), (1394004083,), (1394004116,), (1394004120,), (1394004298,), (1394004300,), (1394004301,), (1394004303,), (1394004306,), (1394004308,), (1394004334,), (1394004337,), (1394004340,), (1394004344,), (1394004349,), (1394004382,), (1394004389,), (1394004394,), (1394004438,), (1394004620,), (1394004670,), (1394004708,), (1394004755,), (1394004951,), (1394005136,), (1394005139,), (1394005166,), (1394005702,), (1394005739,), (1394005742,), (1394005745,), (1394005771,), (1394005773,), (1394005774,), (1394005809,), (1394005810,), (1394005812,), (1394005848,), (1394005850,), (1394005851,), (1394005853,), (1394005855,), (1394005902,), (1394005915,), (1394005918,), (1394005921,), (1394005924,), (1394005928,), (1394005978,), (1394006012,), (1394006043,), (1394006232,), (1394006234,), (1394006236,), (1394006239,), (1394006244,), (1394006269,), (1394006342,), (1394006345,), (1394006349,), (1394006351,), (1394006356,), (1394006359,), (1394006385,), (1394006389,), (1394006391,), (1394006392,), (1394006438,), (1394006449,), (1394006451,), (1394006454,), (1394006456,), (1394006422,), (1394006424,), (1394006426,), (1394006430,), (1394006433,), (1394006459,), (1394006462,), (1394006467,), (1394006471,), (1394006488,), (1394006491,), (1394006495,), (1394006499,), (1394006504,), (1394006529,), (1394006531,), (1394006532,), (1394006534,), (1394006576,), (1394006586,), (1394006619,), (1394006656,), (1394006692,), (1394006826,), (1394006829,), (1394006832,), (1394006836,), (1394006840,), (1394006844,), (1394006911,), (1394006944,), (1394006981,), (1394007009,), (1394007039,), (1394007063,), (1394007099,), (1394007136,), (1394007168,), (1394007170,), (1394007265,), (1394007268,), (1394007271,), (1394007273,), (1394007304,), (1394007306,), (1394007307,), (1394007309,), (1394007312,), (1394007314,), (1394007368,), (1394007370,), (1394007387,), (1394007401,), (1394007564,), (1394007565,), (1394007566,), (1394007568,), (1394007572,), (1394007592,), (1394007595,), (1394007602,), (1394007607,), (1394007611,), (1394007660,), (1394007661,), (1394007662,), (1394007946,), (1394007947,), (1394007949,), (1394007984,), (1394008002,), (1394008009,), (1394008141,), (1394008134,), (1394008136,), (1394008138,), (1394008158,), (1394008163,), (1394008170,), (1394008180,), (1394008190,), (1394008203,), (1394008230,), (1394008232,), (1394008233,), (1394008234,), (1394008260,), (1394008261,), (1394008366,), (1394008397,), (1394008428,), (1394008449,), (1394008476,), (1394008513,), (1394008571,), (1394008725,), (1394008728,), (1394008731,), (1394008790,), (1394012207,), (1394012415,), (1394012479,), (1394012481,), (1394012487,), (1394012525,), (1394012537,), (1394012571,), (1394012606,), (1394012727,), (1394012728,), (1394012729,), (1394012731,), (1394012735,), (1394012761,), (1394012764,), (1394012767,), (1394012770,), (1394012774,), (1394012794,), (1394012796,), (1394012797,), (1394012825,), (1394012826,), (1394012827,), (1394012828,), (1394012831,), (1394012851,), (1394012855,), (1394012859,), (1394012864,), (1394012869,), (1394012910,), (1394012914,), (1394012926,), (1394012927,), (1394012954,), (1394012956,), (1394012983,), (1394013242,), (1394013221,), (1394013238,), (1394013240,), (1394013350,), (1394013352,), (1394013353,), (1394013390,), (1394013393,), (1394013395,), (1394013397,), (1394013400,), (1394013463,), (1394013465,), (1394013467,), (1394013470,), (1394013472,), (1394013496,), (1394013500,), (1394013503,), (1394013507,), (1394013512,), (1394013516,), (1394013538,), (1394013540,), (1394013542,), (1394013545,), (1394013549,), (1394013888,), (1394013891,), (1394013893,), (1394013895,), (1394013899,), (1394013903,), (1394013928,), (1394013930,), (1394013931,), (1394013933,), (1394013937,), (1394013959,), (1394013961,), (1394013966,), (1394013972,), (1394013977,), (1394013980,), (1394014008,), (1394014010,), (1394014013,), (1394014033,), (1394014036,), (1394014039,), (1394014043,), (1394014049,), (1394014054,), (1394014083,), (1394014084,), (1394014085,), (1394014087,), (1394014307,), (1394014313,), (1394014319,), (1394014324,), (1394014329,), (1394014785,), (1394014682,), (1394014716,), (1394014750,), (1394015078,), (1394015115,), (1394015158,), (1394015197,), (1394015261,), (1394015679,), (1394015722,), (1394015760,), (1394015798,), (1394016244,), (1394016278,), (1394016309,), (1394016340,), (1394016925,), (1394016962,), (1394016967,), (1394017001,), (1394017304,), (1394017307,), (1394017318,), (1394017338,), (1394017343,), (1394017408,), (1394017410,), (1394017413,), (1394017416,), (1394017441,), (1394017443,), (1394017445,), (1394017447,), (1394017455,), (1394017458,), (1394017824,), (1394017838,), (1394017841,), (1394017844,), (1394017848,), (1394017881,), (1394017883,), (1394017885,), (1394017907,), (1394017908,), (1394017909,), (1394017911,), (1394017912,), (1394017915,), (1394017945,), (1394017947,), (1394017949,), (1394017977,), (1394017980,), (1394017982,), (1394017983,), (1394017998,), (1394018005,), (1394018029,), (1394018031,), (1394018036,), (1394018071,), (1394018107,), (1394018216,), (1394018222,), (1394018223,), (1394018224,), (1394018307,), (1394018292,), (1394018295,), (1394018298,), (1394018302,), (1394018322,), (1394018324,), (1394018326,), (1394018329,), (1394018333,), (1394018336,), (1394018358,), (1394018359,), (1394018360,), (1394018361,), (1394018390,), (1394018392,), (1394018396,), (1394018400,), (1394018403,), (1394018408,), (1394018457,), (1394018459,), (1394018460,), (1394018461,), (1394018790,), (1394018791,), (1394018792,), (1394018794,), (1394018798,), (1394018832,), (1394018838,), (1394018840,), (1394018843,), (1394018847,), (1394018851,), (1394018867,), (1394018870,), (1394018873,), (1394018915,), (1394018921,), (1394018922,), (1394018924,), (1394018927,), (1394018928,), (1394018952,), (1394018953,), (1394018954,), (1394018957,), (1394018961,), (1394018997,), (1394018999,), (1394019001,), (1394019004,), (1394019027,), (1394019030,), (1394019032,), (1394019035,), (1394019039,), (1394019042,), (1394019073,), (1394019075,), (1394019078,), (1394019082,), (1394019086,), (1394019089,), (1394019096,), (1394019097,), (1394019098,), (1394019104,), (1394019106,), (1394019110,), (1394019115,), (1394019119,), (1394019123,), (1394019147,), (1394019149,), (1394019151,), (1394019154,), (1394019199,), (1394019201,), (1394019227,), (1394019230,), (1394019232,), (1394019186,), (1394019189,), (1394019192,), (1394019196,), (1394019238,), (1394019240,), (1394019243,), (1394019247,), (1394019252,), (1394019276,), (1394019278,), (1394019281,), (1394019286,), (1394019291,), (1394019325,), (1394019328,), (1394019331,), (1394019334,), (1394019339,), (1394019361,), (1394019365,), (1394019369,), (1394019374,), (1394019381,), (1394019391,), (1394019423,), (1394019425,), (1394019433,), (1394019448,), (1394019491,), (1394019493,), (1394019495,), (1394019498,), (1394019501,), (1394019505,), (1394019536,), (1394019538,), (1394019540,), (1394019544,), (1394019549,), (1394019571,), (1394019573,), (1394019574,), (1394019575,), (1394019578,), (1394019606,), (1394019608,), (1394019610,), (1394019614,), (1394019622,), (1394019631,), (1394019678,), (1394019707,), (1394019713,), (1394019715,), (1394019831,), (1394019837,), (1394019839,), (1394019841,), (1394019844,), (1394019846,), (1394019864,), (1394019867,), (1394019869,), (1394019874,), (1394019878,), (1394019917,), (1394019929,), (1394019941,), (1394019944,), (1394019977,), (1394019980,), (1394019982,), (1394019986,), (1394019992,), (1394019998,), (1394020045,), (1394020041,), (1394020043,), (1394020075,), (1394020078,), (1394020080,), (1394020083,), (1394020087,), (1394020089,), (1394020117,), (1394020118,), (1394020119,), (1394020121,), (1394020144,), (1394020147,), (1394020151,), (1394020154,), (1394020160,), (1394020163,), (1394020194,), (1394020201,), (1394020205,), (1394020207,), (1394020231,), (1394020234,), (1394020241,), (1394020246,), (1394020251,), (1394020280,), (1394020287,), (1394020290,), (1394020295,), (1394020298,), (1394020301,), (1394020322,), (1394020324,), (1394020326,), (1394020329,), (1394020333,), (1394020375,), (1394020376,), (1394020378,), (1394020379,), (1394020416,), (1394020417,), (1394020419,), (1394020423,), (1394020428,), (1394020431,), (1394020462,), (1394020464,), (1394020466,), (1394020469,), (1394020496,), (1394020497,), (1394020498,), (1394020500,), (1394020504,), (1394020507,), (1394020558,), (1394020560,), (1394020562,), (1394020566,), (1394020571,), (1394020575,), (1394020885,), (1394020953,), (1394021015,), (1394021078,), (1394021785,), (1394021720,), (1394021752,), (1394022151,), (1394022184,), (1394022215,), (1394022269,), (1394022341,), (1394022896,), (1394022959,), (1394023015,), (1394023058,), (1394023092,), (1394023264,), (1394023301,), (1394023332,), (1394023363,), (1394023528,), (1394023529,), (1394023530,), (1394023531,), (1394023549,), (1394023583,), (1394023804,), (1394023806,), (1394023828,), (1394023830,), (1394023932,), (1394023934,), (1394023941,), (1394023945,), (1394023948,), (1394023988,), (1394023989,), (1394023990,), (1394023991,), (1394024012,), (1394024032,), (1394024053,), (1394024055,), (1394024057,), (1394024060,), (1394024193,), (1394024196,), (1394024199,), (1394024202,), (1394024207,), (1394024212,), (1394024258,), (1394024260,), (1394024261,), (1394024262,), (1394024265,), (1394024458,), (1394024460,), (1394024462,), (1394024466,), (1394024471,), (1394024488,), (1394024579,), (1394024581,), (1394024586,), (1394024625,), (1394024667,), (1394024720,), (1394024724,), (1394024727,), (1394024731,), (1394024804,), (1394024807,), (1394024810,), (1394024814,), (1394024818,), (1394024820,), (1394024876,), (1394024854,), (1394024856,), (1394024859,), (1394024864,), (1394024868,), (1394025078,), (1394025092,), (1394025116,), (1394025119,), (1394025123,), (1394025126,), (1394025292,), (1394025296,), (1394025325,), (1394025343,), (1394025373,), (1394025374,), (1394025375,), (1394025378,), (1394025383,), (1394025386,), (1394025571,), (1394025602,), (1394025641,), (1394025671,), (1394025814,), (1394025815,), (1394025816,), (1394025818,), (1394025821,), (1394025826,), (1394025851,), (1394025853,), (1394025855,), (1394025858,), (1394025863,), (1394025890,), (1394025894,), (1394025897,), (1394025961,), (1394025964,), (1394025967,), (1394025971,), (1394025976,), (1394025979,), (1394026012,), (1394026015,), (1394026018,), (1394026053,), (1394026056,), (1394026059,), (1394026062,), (1394026065,), (1394026068,), (1394026091,), (1394026094,), (1394026097,), (1394026103,), (1394026109,), (1394026113,), (1394026138,), (1394026141,), (1394026144,), (1394026148,), (1394026172,), (1394026175,), (1394026176,), (1394026179,), (1394026182,), (1394026185,), (1394026212,), (1394026213,), (1394026215,), (1394026290,), (1394026299,), (1394026303,), (1394026305,), (1394026274,), (1394026276,), (1394026278,), (1394026282,), (1394026286,), (1394026314,), (1394026327,), (1394026328,), (1394026331,), (1394026351,), (1394026356,), (1394026359,), (1394026362,), (1394026367,), (1394026370,), (1394026402,), (1394026404,), (1394026406,), (1394026408,), (1394026433,), (1394026435,), (1394026436,), (1394026437,), (1394026439,), (1394026476,), (1394026485,), (1394026491,), (1394026503,), (1394026507,), (1394026510,), (1394026538,), (1394026541,), (1394026544,), (1394026552,), (1394026598,), (1394026605,), (1394026606,), (1394026608,), (1394026612,), (1394026615,), (1394026642,), (1394026644,), (1394026646,), (1394026713,), (1394026718,), (1394026721,), (1394026725,), (1394026744,), (1394026796,), (1394026799,), (1394026830,), (1394026958,), (1394026960,), (1394026962,), (1394026966,), (1394026971,), (1394026975,), (1394026990,), (1394026992,), (1394026994,), (1394026999,), (1394027009,), (1394027066,), (1394027072,), (1394027109,), (1394027111,), (1394027112,), (1394027114,), (1394027118,), (1394027124,), (1394027217,), (1394027211,), (1394027215,), (1394027250,), (1394027256,), (1394027270,), (1394027276,), (1394027584,), (1394027610,), (1394027611,), (1394027615,), (1394027646,), (1394027649,), (1394027695,), (1394027697,), (1394027699,), (1394027724,), (1394027725,), (1394027726,), (1394027729,), (1394027734,), (1394027766,), (1394027769,), (1394027772,), (1394027776,), (1394027799,), (1394027801,), (1394027802,), (1394027826,), (1394027827,), (1394027829,), (1394027833,), (1394027837,), (1394027843,), (1394027866,), (1394027868,), (1394027871,), (1394027878,), (1394027887,), (1394027914,), (1394027923,), (1394027927,), (1394027931,), (1394027935,), (1394027939,), (1394027953,), (1394027954,), (1394027955,), (1394027958,), (1394027963,), (1394027984,), (1394027987,), (1394027990,), (1394028022,), (1394028058,), (1394028881,), (1394028955,), (1394029025,), (1394029073,), (1394029111,), (1394029234,), (1394029271,), (1394029312,), (1394029357,), (1394029382,), (1394029550,), (1394029551,), (1394029552,), (1394029588,), (1394029592,), (1394029596,), (1394029542,), (1394029546,), (1394029549,), (1394029559,), (1394029562,), (1394029564,), (1394029567,), (1394029569,), (1394029572,), (1394029609,), (1394029613,), (1394029619,), (1394029624,), (1394029642,), (1394029644,), (1394029647,), (1394029650,), (1394029654,), (1394029658,), (1394029678,), (1394029679,), (1394029681,), (1394029683,), (1394029921,), (1394029943,), (1394029976,), (1394030002,), (1394030011,), (1394030016,), (1394030140,), (1394030143,), (1394030146,), (1394030149,), (1394030226,), (1394030258,), (1394030289,), (1394030313,), (1394030315,), (1394030322,), (1394030447,), (1394030469,), (1394030502,), (1394030514,), (1394030518,), (1394030554,), (1394030556,), (1394030558,), (1394030561,), (1394030670,), (1394030704,), (1394030718,), (1394030818,), (1394030820,), (1394031359,), (1394041835,), (1394041858,), (1394041860,), (1394041916,), (1394041917,), (1394041935,), (1394041981,), (1394041999,), (1394042000,), (1394042001,), (1394042018,), (1394042020,), (1394042023,), (1394042040,), (1394042042,), (1394042061,), (1394042064,), (1394042066,), (1394042067,), (1394042069,), (1394042101,), (1394042094,), (1394042096,), (1394042099,), (1394042115,), (1394042116,), (1394042117,), (1394042118,), (1394042119,), (1394042133,), (1394042134,), (1394042135,), (1394042137,), (1394042156,), (1394042158,), (1394042159,), (1394042160,), (1394042161,), (1394042163,), (1394042183,), (1394042185,), (1394042187,), (1394042189,), (1394042203,), (1394042206,), (1394042210,), (1394042213,), (1394042219,), (1394042223,), (1394042248,), (1394042251,), (1394042253,), (1394042256,), (1394042271,), (1394042273,), (1394042274,), (1394042276,), (1394042278,), (1394042280,), (1394042309,), (1394042311,), (1394042313,), (1394042316,), (1394042321,), (1394042323,), (1394042341,), (1394042342,), (1394042343,), (1394042345,), (1394042370,), (1394042372,), (1394042373,), (1394042375,), (1394042378,), (1394042390,), (1394042418,), (1394042421,), (1394042423,), (1394042426,), (1394042429,), (1394042776,), (1394042811,), (1394042846,), (1394042886,), (1394042924,), (1394043064,), (1394043087,), (1394043131,), (1394043825,), (1394043848,), (1394043856,), (1394043883,), (1394043754,), (1394043787,), (1394043965,), (1394043996,), (1394044032,), (1394044063,), (1394044151,), (1394044153,), (1394044154,), (1394044155,), (1394044157,), (1394044158,), (1394044181,), (1394044185,), (1394044187,), (1394044190,), (1394044214,), (1394044247,), (1394044278,), (1394044311,), (1394044344,), (1394044738,), (1394044771,), (1394044800,), (1394044839,), (1394044877,), (1394045171,), (1394045174,), (1394045177,), (1394045181,), (1394045419,), (1394045428,), (1394045430,), (1394045432,), (1394045435,), (1394045439,), (1394045461,), (1394045463,), (1394045465,), (1394045468,), (1394045512,), (1394045515,), (1394045518,), (1394045522,), (1394045525,), (1394045528,), (1394045553,), (1394045555,), (1394045558,), (1394045562,), (1394045566,), (1394045624,), (1394045657,), (1394045658,), (1394045659,), (1394045661,), (1394045665,), (1394045684,), (1394045687,), (1394045690,), (1394045693,), (1394045696,), (1394045700,), (1394045723,), (1394045717,), (1394045720,), (1394045721,), (1394045745,), (1394045747,), (1394045748,), (1394045751,), (1394045754,), (1394045758,), (1394045777,), (1394045778,), (1394045794,), (1394045828,), (1394046119,), (1394046121,), (1394046122,), (1394046123,), (1394046125,), (1394046128,), (1394046428,), (1394046967,), (1394047366,), (1394047368,), (1394047412,), (1394047416,), (1394047417,), (1394047419,), (1394047423,), (1394047653,), (1394047656,), (1394047838,), (1394047840,), (1394047841,), (1394047843,), (1394047844,), (1394047887,), (1394047917,), (1394047949,), (1394047981,), (1394047988,), (1394048104,), (1394048141,), (1394048172,), (1394048191,), (1394048194,), (1394048309,), (1394048312,), (1394048314,), (1394048330,), (1394048334,), (1394048337,), (1394048302,), (1394048304,), (1394048306,), (1394048346,), (1394048356,), (1394048360,), (1394048364,), (1394048367,), (1394048370,), (1394048524,), (1394048526,), (1394048551,), (1394048586,), (1394048927,), (1394048972,), (1394049013,), (1394049428,), (1394049429,), (1394049430,), (1394049433,), (1394049437,), (1394049440,), (1394049819,), (1394049875,), (1394049897,), (1394049923,), (1394050414,), (1394050458,), (1394050467,), (1394050540,), (1394050574,), (1394050608,), (1394050645,), (1394050650,), (1394050667,), (1394050774,), (1394050776,), (1394050778,), (1394050780,), (1394050784,), (1394050820,), (1394050824,), (1394050826,), (1394050829,), (1394050855,), (1394050857,), (1394050859,), (1394050862,), (1394050867,), (1394050898,), (1394050900,), (1394050902,), (1394050904,), (1394050927,), (1394050929,), (1394050936,), (1394050942,), (1394050952,), (1394050956,), (1394050974,), (1394050976,), (1394050978,), (1394050981,), (1394051038,), (1394051041,), (1394051043,), (1394051318,), (1394051269,), (1394051297,), (1394051298,), (1394051300,), (1394051428,), (1394051468,), (1394051499,), (1394051535,), (1394051572,), (1394051755,), (1394051762,), (1394051780,), (1394051781,), (1394051782,), (1394051788,), (1394051795,), (1394051826,), (1394051828,), (1394051829,), (1394051832,), (1394051835,), (1394051838,), (1394051860,), (1394051864,), (1394051865,), (1394051868,), (1394051870,), (1394051901,), (1394051915,), (1394052260,), (1394052301,), (1394052303,), (1394052328,), (1394052336,), (1394052386,), (1394052389,), (1394052392,), (1394052423,), (1394052427,), (1394052456,), (1394052457,), (1394052458,), (1394053022,), (1394053034,), (1394053056,), (1394053138,), (1394053189,), (1394053251,), (1394053315,), (1394053380,), (1394054232,), (1394054490,), (1394054633,), (1394054664,), (1394054683,), (1394054685,), (1394054167,), (1394054200,), (1394054219,), (1394054223,), (1394054226,), (1394054356,), (1394054421,), (1394054459,), (1394054483,), (1394054487,), (1394054688,), (1394054691,), (1394054694,), (1394054727,), (1394054731,), (1394054733,), (1394054736,), (1394054765,), (1394054766,), (1394054767,), (1394054770,), (1394054775,), (1394054779,), (1394054811,), (1394054814,), (1394054817,), (1394054821,), (1394054826,), (1394054844,), (1394054847,), (1394054849,), (1394054859,), (1394054886,), (1394054888,), (1394054891,), (1394054896,), (1394054900,), (1394054919,), (1394054921,), (1394054924,), (1394054928,), (1394054932,), (1394054935,), (1394055219,), (1394055237,), (1394055239,), (1394055270,), (1394055271,), (1394055272,), (1394055305,), (1394055308,), (1394055311,), (1394055314,), (1394055343,), (1394055384,), (1394055388,), (1394055390,), (1394055452,), (1394055492,), (1394055495,), (1394055497,), (1394055501,), (1394055525,), (1394055526,), (1394055527,), (1394055586,), (1394055588,), (1394055622,), (1394055623,), (1394055624,), (1394055659,), (1394055660,), (1394055661,), (1394055664,), (1394055668,), (1394055686,), (1394055689,), (1394055692,), (1394055695,), (1394055699,), (1394055704,), (1394055731,), (1394055734,), (1394055736,), (1394055738,), (1394055764,), (1394055765,), (1394055767,), (1394055769,), (1394055774,), (1394055793,), (1394055803,), (1394055807,), (1394055811,), (1394055813,), (1394055832,), (1394055834,), (1394055835,), (1394055837,), (1394055839,), (1394055842,), (1394055909,), (1394055912,), (1394055915,), (1394055920,), (1394055925,), (1394055927,), (1394055949,), (1394055951,), (1394055953,), (1394055956,), (1394055962,), (1394055970,), (1394055973,), (1394055978,), (1394055982,), (1394055986,), (1394055991,), (1394056019,), (1394056022,), (1394056027,), (1394056038,), (1394056049,), (1394056051,), (1394056053,), (1394056014,), (1394056016,), (1394056083,), (1394056092,), (1394056113,), (1394056114,), (1394056116,), (1394056120,), (1394056133,), (1394056135,), (1394056136,), (1394056138,), (1394056170,), (1394056172,), (1394056174,), (1394056176,), (1394056180,), (1394056185,), (1394056370,), (1394056400,), (1394056435,), (1394056443,), (1394056466,), (1394056690,), (1394056701,), (1394056733,), (1394056767,), (1394056804,), (1394056927,), (1394056930,), (1394056938,), (1394056942,), (1394056947,), (1394056950,), (1394056967,), (1394056969,), (1394056970,), (1394056972,), (1394056985,), (1394057007,), (1394057009,), (1394057011,), (1394057014,), (1394057020,), (1394057024,), (1394057050,), (1394057051,), (1394057053,), (1394057057,), (1394057125,), (1394057143,), (1394057177,), (1394057224,), (1394057262,), (1394057284,), (1394057458,), (1394057482,), (1394057506,), (1394057510,), (1394057679,), (1394057712,), (1394057736,), (1394057740,), (1394057748,), (1394057751,), (1394057814,), (1394057849,), (1394057882,), (1394057917,), (1394058087,), (1394058090,), (1394058092,), (1394058095,), (1394058098,), (1394058101,), (1394058135,), (1394058130,), (1394058131,), (1394058132,), (1394058209,), (1394058215,), (1394058229,), (1394058267,), (1394058305,), (1394058357,), (1394058674,), (1394058703,), (1394058733,), (1394058769,), (1394058864,), (1394058865,), (1394058867,), (1394058870,), (1394059000,), (1394059012,), (1394059025,), (1394059028,), (1394059032,), (1394059035,), (1394059069,), (1394059071,), (1394059084,), (1394059088,), (1394059092,), (1394059128,), (1394059129,), (1394059131,), (1394059134,), (1394059137,), (1394059141,), (1394059276,), (1394059278,), (1394059280,), (1394059283,), (1394059288,), (1394059290,), (1394059476,), (1394059479,), (1394059500,), (1394059515,), (1394059519,), (1394059600,), (1394059632,), (1394059662,), (1394059670,), (1394059673,), (1394059709,), (1394059711,), (1394059713,), (1394059716,), (1394059979,), (1394059981,), (1394060009,), (1394060022,), (1394060026,), (1394060041,), (1394060097,), (1394060099,), (1394060101,), (1394060105,), (1394060109,), (1394060113,), (1394061174,), (1394061254,), (1394061321,), (1394061434,), (1394061453,), (1394061487,), (1394061534,), (1394061577,), (1394061940,), (1394061944,), (1394061947,), (1394061965,), (1394061974,), (1394061978,), (1394061863,), (1394061870,), (1394061934,), (1394061952,), (1394061955,), (1394061957,), (1394061959,), (1394061962,), (1394061986,), (1394061989,), (1394061992,), (1394061995,), (1394062029,), (1394062031,), (1394062032,), (1394062033,), (1394062036,), (1394062094,), (1394062130,), (1394062168,), (1394062190,), (1394062195,), (1394062232,), (1394062328,), (1394062331,), (1394062354,), (1394062358,), (1394062383,), (1394062389,), (1394062391,), (1394062392,), (1394062395,), (1394062397,), (1394062416,), (1394062418,), (1394062420,), (1394062423,), (1394062426,), (1394062429,), (1394062674,), (1394062682,), (1394062689,), (1394062904,), (1394062906,), (1394062907,), (1394062908,), (1394062911,), (1394062934,), (1394062936,), (1394062938,), (1394062941,), (1394062989,), (1394062992,), (1394062995,), (1394063002,), (1394063016,), (1394063075,), (1394063115,), (1394063151,), (1394063187,), (1394063224,), (1394063605,), (1394063606,), (1394063607,), (1394063635,), (1394063939,), (1394063973,), (1394064039,), (1394064089,), (1394064124,), (1394064164,), (1394064482,), (1394064428,), (1394064431,), (1394064449,), (1394064914,), (1394064916,), (1394064927,), (1394064962,), (1394064973,), (1394065190,), (1394065192,), (1394065198,), (1394065224,), (1394065232,), (1394065336,), (1394065366,), (1394065369,), (1394065419,), (1394065421,), (1394065422,), (1394065424,), (1394065432,), (1394065471,), (1394065749,), (1394065752,), (1394065756,), (1394065759,), (1394065798,), (1394065800,), (1394065802,), (1394065804,), (1394065806,), (1394065906,), (1394065936,), (1394065944,), (1394065952,), (1394065970,), (1394065974,), (1394066007,), (1394066009,), (1394066011,), (1394066015,), (1394066046,), (1394066049,), (1394066075,), (1394066113,), (1394066155,), (1394066199,), (1394066581,), (1394066617,), (1394066651,), (1394066686,), (1394066719,), (1394066755,), (1394066877,), (1394066908,), (1394066940,), (1394066970,), (1394067128,), (1394067160,), (1394067195,), (1394067230,), (1394067262,), (1394067367,), (1394067372,), (1394067374,), (1394067491,), (1394067530,), (1394067563,), (1394067947,), (1394067963,), (1394067995,), (1394068018,), (1394068022,), (1394068025,), (1394068248,), (1394068282,), (1394068315,), (1394068331,), (1394068343,), (1394068358,), (1394068144,), (1394068180,), (1394068214,), (1394068365,), (1394068369,), (1394068372,), (1394068377,), (1394068382,), (1394068399,), (1394068402,), (1394068404,), (1394068407,), (1394068410,), (1394068413,), (1394068457,), (1394068458,), (1394068459,), (1394068461,), (1394068487,), (1394068489,), (1394068492,), (1394068498,), (1394068502,), (1394068506,), (1394068534,), (1394068536,), (1394068538,), (1394068540,), (1394068545,), (1394068570,), (1394068572,), (1394068573,), (1394068574,), (1394068576,), (1394068606,), (1394068607,), (1394068608,), (1394068609,), (1394068612,), (1394068615,), (1394068633,), (1394068635,), (1394068637,), (1394068640,), (1394068643,), (1394068672,), (1394068679,), (1394068683,), (1394068686,), (1394068690,), (1394068693,), (1394068703,), (1394068706,), (1394068711,), (1394068738,), (1394068739,), (1394068742,), (1394068746,), (1394068749,), (1394068752,), (1394068760,), (1394068761,), (1394068762,), (1394068775,), (1394068778,), (1394068781,), (1394068787,), (1394068792,), (1394068831,), (1394068833,), (1394068835,), (1394068838,), (1394068863,), (1394068865,), (1394068869,), (1394068874,), (1394068912,), (1394068904,), (1394068908,), (1394068910,), (1394068943,), (1394068945,), (1394068946,), (1394068947,), (1394068949,), (1394068952,), (1394068981,), (1394068986,), (1394068989,), (1394068994,), (1394069268,), (1394069304,), (1394069336,), (1394069370,), (1394069397,), (1394069400,), (1394069524,), (1394069561,), (1394069592,), (1394069768,), (1394069769,), (1394069770,), (1394069772,), (1394069776,), (1394069779,), (1394069817,), (1394069820,), (1394069823,), (1394069828,), (1394069832,), (1394069834,), (1394069843,), (1394069845,), (1394069848,), (1394069851,), (1394069853,), (1394069856,), (1394069862,), (1394069864,), (1394069866,), (1394069870,), (1394069888,), (1394069890,), (1394069891,), (1394069894,), (1394069898,), (1394069903,), (1394069923,), (1394069925,), (1394069927,), (1394069930,), (1394069933,), (1394069968,), (1394069971,), (1394069974,), (1394069976,), (1394069993,), (1394069995,), (1394069998,), (1394070001,), (1394070003,), (1394070005,), (1394070035,), (1394070039,), (1394070048,), (1394070060,), (1394070122,), (1394070127,), (1394070131,), (1394070143,), (1394070144,), (1394070146,), (1394070148,), (1394070152,), (1394070203,), (1394070204,), (1394070321,), (1394070323,), (1394070325,), (1394070329,), (1394070349,), (1394070351,), (1394070183,), (1394070184,), (1394070188,), (1394070189,), (1394070191,), (1394070194,), (1394070196,), (1394070198,), (1394070200,), (1394070201,), (1394070268,), (1394070270,), (1394070273,), (1394070276,), (1394070278,), (1394070280,), (1394070287,), (1394070288,), (1394070291,), (1394070295,), (1394070298,), (1394070299,), (1394070316,), (1394070319,), (1394070331,), (1394070335,), (1394070341,), (1394070345,), (1394070355,), (1394070358,), (1394070361,), (1394070373,), (1394070384,), (1394070387,), (1394070411,), (1394070413,), (1394070414,), (1394070416,), (1394070420,), (1394070423,), (1394070443,), (1394070445,), (1394070447,), (1394070452,), (1394070496,), (1394070498,), (1394070499,), (1394070503,), (1394070508,), (1394070511,), (1394070527,), (1394070530,), (1394070533,), (1394070578,), (1394070581,), (1394070583,), (1394070585,), (1394070588,), (1394070591,), (1394070605,), (1394070606,), (1394070607,), (1394070610,), (1394070615,), (1394070619,), (1394070652,), (1394070655,), (1394070658,), (1394070661,), (1394070735,), (1394070736,), (1394070755,), (1394070762,), (1394070772,), (1394070775,), (1394070820,), (1394070908,), (1394070979,), (1394070989,), (1394071026,), (1394071311,), (1394071313,), (1394071315,), (1394071318,), (1394071324,), (1394071326,), (1394071369,), (1394072024,), (1394071357,), (1394071363,), (1394071365,), (1394071367,), (1394071390,), (1394071391,), (1394071393,), (1394071402,), (1394071405,), (1394071409,), (1394071488,), (1394071492,), (1394071496,), (1394071499,), (1394071503,), (1394071506,), (1394071524,), (1394071528,), (1394071563,), (1394071596,), (1394071659,), (1394071719,), (1394071779,), (1394071781,), (1394071809,), (1394071824,), (1394071829,), (1394071831,), (1394071974,), (1394071990,), (1394071998,), (1394072165,), (1394072167,), (1394072169,), (1394072172,), (1394072176,), (1394072179,), (1394072212,), (1394072214,), (1394072215,), (1394072218,), (1394072222,), (1394072297,), (1394072332,), (1394072367,), (1394072378,), (1394072383,), (1394072419,), (1394072526,), (1394072530,), (1394072534,), (1394072537,), (1394072857,), (1394072898,), (1394072910,), (1394072918,), (1394072926,), (1394072931,), (1394072947,), (1394072950,), (1394072953,), (1394072956,), (1394073130,), (1394073160,), (1394073191,), (1394073223,), (1394073257,), (1394073278,), (1394073415,), (1394073428,), (1394073429,), (1394073432,), (1394073458,), (1394073557,), (1394073565,), (1394073574,), (1394073590,), (1394073594,), (1394073598,), (1394073639,), (1394073641,), (1394073644,), (1394073670,), (1394073718,), (1394073721,), (1394073727,), (1394073757,), (1394088798,), (1394087522,), (1394088668,), (1394088719,), (1394088722,), (1394088725,), (1394088729,), (1394088759,), (1394089461,), (1394089504,), (1394089548,), (1394089584,), (1394089712,), (1394089743,), (1394089757,), (1394089762,), (1394089766,), (1394089933,), (1394089936,), (1394089939,), (1394090118,), (1394090159,), (1394090160,), (1394089924,), (1394089926,), (1394089930,), (1394089957,), (1394089984,), (1394090015,), (1394090050,), (1394090085,), (1394090226,), (1394090229,), (1394090232,), (1394090236,), (1394090240,), (1394090291,), (1394090292,), (1394090294,), (1394090296,), (1394090299,), (1394090320,), (1394090321,), (1394090323,), (1394090326,), (1394090403,), (1394090406,), (1394090407,), (1394090409,), (1394090415,), (1394090418,), (1394090439,), (1394090441,), (1394090443,), (1394090447,), (1394090509,), (1394090510,), (1394090511,), (1394090514,), (1394090692,), (1394090694,), (1394090695,), (1394090697,), (1394090700,), (1394090702,), (1394090724,), (1394090731,), (1394090737,), (1394090741,), (1394090746,), (1394090767,), (1394090770,), (1394090772,), (1394090775,), (1394090779,), (1394090811,), (1394090813,), (1394090817,), (1394090825,), (1394090837,), (1394090880,), (1394090883,), (1394090885,), (1394090888,), (1394090917,), (1394090919,), (1394090921,), (1394090923,), (1394090928,), (1394090931,), (1394090946,), (1394090948,), (1394090950,), (1394090953,), (1394090996,), (1394090984,), (1394090987,), (1394090989,), (1394090992,), (1394091016,), (1394091018,), (1394091020,), (1394091023,), (1394091058,), (1394091061,), (1394091063,), (1394091067,), (1394091092,), (1394091094,), (1394091095,), (1394091096,), (1394091099,), (1394091126,), (1394091129,), (1394091132,), (1394091135,), (1394091139,), (1394091157,), (1394091158,), (1394091170,), (1394091175,), (1394091219,), (1394091222,), (1394091261,), (1394091265,), (1394091269,), (1394091273,), (1394091287,), (1394091288,), (1394091289,), (1394091291,), (1394091295,), (1394091297,), (1394091324,), (1394091327,), (1394091329,), (1394091354,), (1394091367,), (1394091369,), (1394091384,), (1394091390,), (1394091392,), (1394091466,), (1394091467,), (1394091469,), (1394091473,), (1394091478,), (1394091649,), (1394091651,), (1394091652,), (1394091653,), (1394091655,), (1394091688,), (1394091690,), (1394091692,), (1394091694,), (1394091699,), (1394091703,), (1394091723,), (1394091724,), (1394091725,), (1394091727,), (1394091763,), (1394091767,), (1394091770,), (1394091772,), (1394091775,), (1394091779,), (1394091807,), (1394091811,), (1394091813,), (1394091827,), (1394091847,), (1394091884,), (1394091919,), (1394091798,), (1394091799,), (1394091803,), (1394091959,), (1394091979,), (1394091995,), (1394091998,), (1394092000,), (1394092003,), (1394092016,), (1394092017,), (1394092018,), (1394092019,), (1394092061,), (1394092063,), (1394092065,), (1394092068,), (1394092073,), (1394092076,), (1394092088,), (1394092091,), (1394092093,), (1394092096,), (1394092133,), (1394092135,), (1394092137,), (1394092159,), (1394092160,), (1394092161,), (1394092194,), (1394092198,), (1394092199,), (1394092201,), (1394092204,), (1394092221,), (1394092224,), (1394092228,), (1394092233,), (1394092236,), (1394092266,), (1394092268,), (1394092269,), (1394092271,), (1394092274,), (1394092276,), (1394092294,), (1394092295,), (1394092296,), (1394092299,), (1394092338,), (1394092339,), (1394092340,), (1394092342,), (1394092345,), (1394092370,), (1394092372,), (1394092374,), (1394092377,), (1394092380,), (1394092382,), (1394092418,), (1394092420,), (1394092421,), (1394092422,), (1394092442,), (1394092443,), (1394092445,), (1394092448,), (1394092452,), (1394092455,), (1394092502,), (1394092491,), (1394092495,), (1394092498,), (1394092525,), (1394092527,), (1394092528,), (1394092530,), (1394092533,), (1394092535,), (1394092552,), (1394092554,), (1394092556,), (1394092559,), (1394092564,), (1394092569,), (1394092582,), (1394092584,), (1394092585,), (1394092614,), (1394092621,), (1394092622,), (1394092625,), (1394092630,), (1394092651,), (1394092656,), (1394092658,), (1394092663,), (1394092667,), (1394092702,), (1394092710,), (1394092712,), (1394092716,), (1394092720,), (1394092744,), (1394092747,), (1394092748,), (1394092751,), (1394092754,), (1394092757,), (1394092797,), (1394092798,), (1394092799,), (1394092802,), (1394092824,), (1394092827,), (1394092830,), (1394092834,), (1394092839,), (1394092844,), (1394092867,), (1394092870,), (1394092873,), (1394092877,), (1394092880,), (1394092904,), (1394092916,), (1394092919,), (1394092923,), (1394092928,), (1394092933,), (1394092949,), (1394092950,), (1394092951,), (1394092954,), (1394092959,), (1394093725,), (1394093762,), (1394093802,), (1394093871,), (1394093906,), (1394094062,), (1394094102,), (1394094134,), (1394094168,), (1394094551,), (1394094585,), (1394094791,), (1394094794,), (1394094795,), (1394094492,), (1394094498,), (1394094506,), (1394094521,), (1394094653,), (1394094676,), (1394094708,), (1394094723,), (1394094740,), (1394094769,), (1394094892,), (1394094896,), (1394094899,), (1394094926,), (1394094928,), (1394094930,), (1394094932,), (1394094959,), (1394094961,), (1394094962,), (1394094963,), (1394094992,), (1394094993,), (1394094994,), (1394094997,), (1394095002,), (1394095020,), (1394095022,), (1394095025,), (1394095053,), (1394095055,), (1394095056,), (1394095063,), (1394095066,), (1394095067,), (1394095090,), (1394095094,), (1394095099,), (1394095107,), (1394095116,), (1394095121,), (1394095151,), (1394095153,), (1394095155,), (1394095162,), (1394095218,), (1394095220,), (1394095222,), (1394095225,), (1394095229,), (1394095231,), (1394095277,), (1394095284,), (1394095295,), (1394095639,), (1394095641,), (1394095643,), (1394095646,), (1394095651,), (1394095653,), (1394095680,), (1394095681,), (1394095682,), (1394095683,), (1394095686,), (1394095730,), (1394095733,), (1394095735,), (1394095738,), (1394095743,), (1394095747,), (1394095820,), (1394095810,), (1394095813,), (1394095816,), (1394096034,), (1394096068,), (1394096079,), (1394096085,), (1394096089,), (1394096092,), (1394096173,), (1394096215,), (1394096218,), (1394096395,), (1394096437,), (1394096471,), (1394096501,), (1394096518,), (1394096522,), (1394096668,), (1394096671,), (1394096674,), (1394096675,), (1394096679,), (1394097063,), (1394097106,), (1394097140,), (1394097227,), (1394097263,), (1394097316,), (1394097366,), (1394097367,), (1394097368,), (1394097370,), (1394097374,), (1394097414,), (1394097416,), (1394097420,), (1394097456,), (1394097493,), (1394097571,), (1394097581,), (1394097589,), (1394097592,), (1394097596,), (1394097599,), (1394097635,), (1394097636,), (1394097637,), (1394097639,), (1394097673,), (1394097681,), (1394097687,), (1394097690,), (1394097694,), (1394097716,), (1394097717,), (1394097718,), (1394097721,), (1394097741,), (1394097743,), (1394097745,), (1394097747,), (1394097750,), (1394097756,), (1394097831,), (1394097832,), (1394097833,), (1394097834,), (1394097875,), (1394097881,), (1394097885,), (1394097887,), (1394097889,), (1394097892,), (1394097926,), (1394097929,), (1394097932,), (1394097950,), (1394097951,), (1394097953,), (1394097955,), (1394097920,), (1394097922,), (1394097924,), (1394097963,), (1394097966,), (1394097970,), (1394097973,), (1394097975,), (1394097979,), (1394097998,), (1394098001,), (1394098003,), (1394098005,), (1394098047,), (1394098049,), (1394098050,), (1394098052,), (1394098055,), (1394098056,), (1394098079,), (1394098081,), (1394098082,), (1394098083,), (1394098086,), (1394098109,), (1394098111,), (1394098113,), (1394098116,), (1394098120,), (1394098143,), (1394098145,), (1394098157,), (1394098193,), (1394098229,), (1394098268,), (1394098453,), (1394098459,), (1394098461,), (1394098464,), (1394098469,), (1394098518,), (1394098535,), (1394098567,), (1394098575,), (1394098751,), (1394098757,), (1394098762,), (1394098765,), (1394098772,), (1394098863,), (1394098867,), (1394098920,), (1394098991,), (1394098995,), (1394098999,), (1394099029,), (1394099035,), (1394099038,), (1394099097,), (1394099099,), (1394099100,), (1394099101,), (1394099102,), (1394099106,), (1394099331,), (1394099340,), (1394099344,), (1394099348,), (1394099471,), (1394099476,), (1394099477,), (1394099479,), (1394099482,), (1394099484,), (1394099526,), (1394099514,), (1394099516,), (1394099518,), (1394099520,), (1394099543,), (1394099545,), (1394099552,), (1394099555,), (1394099559,), (1394099607,), (1394099613,), (1394099651,), (1394099655,), (1394099933,), (1394099937,), (1394099939,), (1394099942,), (1394099945,), (1394099965,), (1394099967,), (1394099969,), (1394100003,), (1394100005,), (1394100008,), (1394100019,), (1394100027,), (1394100030,), (1394100061,), (1394100094,), (1394100126,), (1394100163,), (1394100254,), (1394100268,), (1394100301,), (1394100332,), (1394100360,), (1394100643,), (1394100674,), (1394100706,), (1394100711,), (1394100715,), (1394100721,), (1394101074,), (1394101072,), (1394101106,), (1394101109,), (1394101112,), (1394101220,), (1394101272,), (1394101275,), (1394101355,), (1394101388,), (1394101390,), (1394101448,), (1394101477,), (1394101513,), (1394101631,), (1394101662,), (1394101727,), (1394101730,), (1394101760,), (1394101761,), (1394101798,), (1394101801,), (1394101804,), (1394101879,), (1394101882,), (1394101923,), (1394101949,), (1394101950,), (1394102100,), (1394102082,), (1394102094,), (1394102096,), (1394102189,), (1394102191,), (1394102358,), (1394102370,), (1394102401,), (1394102404,), (1394102497,), (1394102951,), (1394105099,), (1394106425,), (1394106931,), (1394107269,), (1394107534,), (1394108124,), (1394108127,), (1394108131,), (1394109127,), (1394109160,), (1394110517,), (1394110394,), (1394110932,), (1394110997,), (1394111875,), (1394113157,), (1394113186,), (1394113546,), (1394113576,), (1394113578,), (1394113602,), (1394114046,), (1394115337,), (1394122194,), (1394122217,), (1394122219,), (1394122274,), (1394122960,), (1394122963,), (1394123417,), (1394123419,), (1394123760,), (1394123806,), (1394123807,), (1394123837,), (1394125942,), (1394125975,), (1394125980,), (1394127151,), (1394127153,), (1394128973,), (1394128971,), (1394128996,), (1394129022,), (1394129046,), (1394129048,), (1394129286,), (1394130668,), (1394131811,), (1394131949,), (1394131922,), (1394132000,), (1394132056,), (1394132107,), (1394132133,), (1394132315,), (1394132494,), (1394132621,), (1394132781,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12112025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28446031]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] map_info['map_portfolio_photo'] : {28446031: [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415]} final : True mtd_id 4302 list_pids : [1394013242, 1394012983, 1394012956, 1394012954, 1394012927, 1394012926, 1394012914, 1394012910, 1394012869, 1394012864, 1394012859, 1394012855, 1394012851, 1394012831, 1394012828, 1394012827, 1394012826, 1394012825, 1394012797, 1394012796, 1394012794, 1394012774, 1394012770, 1394012767, 1394012764, 1394012761, 1394012735, 1394012731, 1394012729, 1394012728, 1394012727, 1394012606, 1394012571, 1394012537, 1394012525, 1394012487, 1394012481, 1394012479, 1394012415] Looping around the photos to save general results len do output : 1 /28446031Didn'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, '4039598') ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598') ('4302', None, None, None, None, None, None, None, '4039598') ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '28446031', 'None', None, None, None, None, '4039598'), ('4302', '28446031', '1394013242', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012983', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012956', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012954', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012927', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012926', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012914', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012910', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012869', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012864', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012859', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012855', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012851', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012831', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012828', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012827', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012826', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012825', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012797', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012796', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012794', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012774', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012770', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012767', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012764', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012761', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012735', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012731', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012729', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012728', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012727', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012606', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012571', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012537', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012525', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012487', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012481', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012479', None, None, None, None, None, '4039598'), ('4302', '28446031', '1394012415', None, None, None, None, None, '4039598')] time used for this insertion : 0.01768803596496582 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.5393359661102295 time spend to save output : 0.018107891082763672 total time spend for step 5 : 5.557443857192993 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 (4039598) 3.24user 2.39system 0:21.39elapsed 26%CPU (0avgtext+0avgdata 168088maxresident)k 64inputs+31896outputs (11major+82141minor)pagefaults 0swaps