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 : 3545896 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 (4098205) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4098205) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796125 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4098205'] with mtr_portfolio_ids : ['28796125'] and first list_photo_ids : [] new path : /proc/3545896/ Name: python3 Umask: 0002 State: R (running) Tgid: 3545896 Ngid: 0 Pid: 3545896 PPid: 3545895 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3545896 NSpid: 3545896 NSpgid: 3544456 NSsid: 3544456 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100296 kB VmRSS: 100296 kB RssAnon: 59900 kB RssFile: 40396 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 576 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: 84 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3545896', 'Ngid': '0', 'Pid': '3545896', 'PPid': '3545895', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3545896', 'NSpid': '3545896', 'NSpgid': '3544456', 'NSsid': '3544456', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100296 kB', 'VmRSS': '100296 kB', 'RssAnon': '59900 kB', 'RssFile': '40396 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '576 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': '84'} ('datou_batch_current', '3545896', '1106908', '0', '1106884', '865636', '100296', b'', 'marlene', '4098205') 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 (28796125) 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 (4098205 ) ) 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 (28796125) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1395616924, 'portfolio_id': 28796125}, {'photo_id': 1395616897, 'portfolio_id': 28796125}, {'photo_id': 1395616895, 'portfolio_id': 28796125}, {'photo_id': 1395616882, 'portfolio_id': 28796125}, {'photo_id': 1395616881, 'portfolio_id': 28796125}, {'photo_id': 1395616851, 'portfolio_id': 28796125}, {'photo_id': 1395616836, 'portfolio_id': 28796125}, {'photo_id': 1395616831, 'portfolio_id': 28796125}, {'photo_id': 1395616827, 'portfolio_id': 28796125}, {'photo_id': 1395616825, 'portfolio_id': 28796125}, {'photo_id': 1395616787, 'portfolio_id': 28796125}, {'photo_id': 1395616786, 'portfolio_id': 28796125}, {'photo_id': 1395616785, 'portfolio_id': 28796125}, {'photo_id': 1395616761, 'portfolio_id': 28796125}, {'photo_id': 1395616759, 'portfolio_id': 28796125}, {'photo_id': 1395616758, 'portfolio_id': 28796125}, {'photo_id': 1395616757, 'portfolio_id': 28796125}, {'photo_id': 1395616736, 'portfolio_id': 28796125}, {'photo_id': 1395616733, 'portfolio_id': 28796125}, {'photo_id': 1395616710, 'portfolio_id': 28796125}, {'photo_id': 1395616709, 'portfolio_id': 28796125}, {'photo_id': 1395616708, 'portfolio_id': 28796125}, {'photo_id': 1395616622, 'portfolio_id': 28796125}, {'photo_id': 1395616619, 'portfolio_id': 28796125}, {'photo_id': 1395616615, 'portfolio_id': 28796125}, {'photo_id': 1395616610, 'portfolio_id': 28796125}, {'photo_id': 1395616609, 'portfolio_id': 28796125}, {'photo_id': 1395616586, 'portfolio_id': 28796125}, {'photo_id': 1395616579, 'portfolio_id': 28796125}, {'photo_id': 1395616575, 'portfolio_id': 28796125}, {'photo_id': 1395616574, 'portfolio_id': 28796125}, {'photo_id': 1395616559, 'portfolio_id': 28796125}, {'photo_id': 1395616557, 'portfolio_id': 28796125}, {'photo_id': 1395616555, 'portfolio_id': 28796125}, {'photo_id': 1395616554, 'portfolio_id': 28796125}, {'photo_id': 1395616553, 'portfolio_id': 28796125}, {'photo_id': 1395616528, 'portfolio_id': 28796125}, {'photo_id': 1395616527, 'portfolio_id': 28796125}, {'photo_id': 1395616526, 'portfolio_id': 28796125}, {'photo_id': 1395616170, 'portfolio_id': 28796125}] map_portfolio_id_photo_id: {28796125: [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170]} ##### 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.018189668655395508 #### 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 Sat Nov 22 05:54:56 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 (28796125) 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 : 28796125 get user id for portfolio 28796125 get sub ptf for main ptf 28796125, type 3726 and hashtags ['environnement', 'Carton_gris', 'papier', 'flou', 'autre_refus', 'Teint_Dans_La_Masse', 'plastique', 'cartonnette', 'mal_croppe', 'metal', 'Carton_brun', 'kraft'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28796125 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','papier','flou','autre_refus','Teint_Dans_La_Masse','plastique','cartonnette','mal_croppe','metal','Carton_brun','kraft')) 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`=28796125 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','papier','flou','autre_refus','Teint_Dans_La_Masse','plastique','cartonnette','mal_croppe','metal','Carton_brun','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28796125, 'sub_port_id': 28796134, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538951, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'autre_refus': {'main_port_id': 28796125, 'sub_port_id': 28796135, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538952, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'mal_croppe': {'main_port_id': 28796125, 'sub_port_id': 28796136, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538953, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'metal': {'main_port_id': 28796125, 'sub_port_id': 28796137, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538954, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'papier': {'main_port_id': 28796125, 'sub_port_id': 28796138, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538955, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'kraft': {'main_port_id': 28796125, 'sub_port_id': 28796139, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538956, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'cartonnette': {'main_port_id': 28796125, 'sub_port_id': 28796140, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538957, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'flou': {'main_port_id': 28796125, 'sub_port_id': 28796141, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538958, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'plastique': {'main_port_id': 28796125, 'sub_port_id': 28796142, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538959, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 28796125, 'sub_port_id': 28796143, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538960, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'Carton_gris': {'main_port_id': 28796125, 'sub_port_id': 28796144, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538961, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}, 'Carton_brun': {'main_port_id': 28796125, 'sub_port_id': 28796145, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538962, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28796134 , 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=28796125 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 (28796134) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796135 , 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=28796125 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 (28796135) result : ((1395616779,), (1395616861,), (1395616862,), (1395616863,), (1395617163,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796136 , 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=28796125 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 (28796136) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796137 , 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=28796125 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 (28796137) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796138 , 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=28796125 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 (28796138) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796139 , 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=28796125 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 (28796139) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796140 , 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=28796125 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 (28796140) result : ((1395616730,), (1395616784,), (1395616865,), (1395617183,), (1395617185,), (1395617387,), (1395617388,), (1395617389,), (1395617390,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796141 , 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=28796125 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 (28796141) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796142 , 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=28796125 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 (28796142) result : ((1395616869,), (1395617202,), (1395617391,), (1395623650,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796143 , 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=28796125 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 (28796143) result : ((1395616781,), (1395616857,), (1395616858,), (1395616860,), (1395616875,), (1395617385,), (1395625263,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796144 , 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=28796125 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 (28796144) result : ((1395616782,), (1395616783,), (1395616864,), (1395616877,), (1395617174,), (1395625264,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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 28796145 , 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=28796125 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 (28796145) result : ((1395616731,), (1395616780,), (1395616867,), (1395616868,), (1395617193,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28796125) result : ((1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,)) 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`=28796125 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','papier','flou','autre_refus','Teint_Dans_La_Masse','plastique','cartonnette','mal_croppe','metal','Carton_brun','kraft')) 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`=28796125 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Carton_gris','papier','flou','autre_refus','Teint_Dans_La_Masse','plastique','cartonnette','mal_croppe','metal','Carton_brun','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 28796125, 'sub_port_id': 28796146, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538963, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'autre_refus': {'main_port_id': 28796125, 'sub_port_id': 28796147, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538964, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'mal_croppe': {'main_port_id': 28796125, 'sub_port_id': 28796148, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538965, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'metal': {'main_port_id': 28796125, 'sub_port_id': 28796149, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538966, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'papier': {'main_port_id': 28796125, 'sub_port_id': 28796150, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538967, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'kraft': {'main_port_id': 28796125, 'sub_port_id': 28796151, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538968, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'cartonnette': {'main_port_id': 28796125, 'sub_port_id': 28796152, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538969, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'flou': {'main_port_id': 28796125, 'sub_port_id': 28796153, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538970, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'plastique': {'main_port_id': 28796125, 'sub_port_id': 28796154, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538971, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28796125, 'sub_port_id': 28796155, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538972, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'Carton_gris': {'main_port_id': 28796125, 'sub_port_id': 28796156, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538973, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 36, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}, 'Carton_brun': {'main_port_id': 28796125, 'sub_port_id': 28796157, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19538974, 'last_updated_at': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_desc': datetime.datetime(2025, 11, 21, 21, 47), 'last_updated_at_asc': datetime.datetime(2025, 11, 21, 21, 36, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796146,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796134 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796147,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796135 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796148,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796136 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796149,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796137 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796150,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796138 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796151,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796139 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796152,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796140 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796153,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796141 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796154,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796142 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796155,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796143 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796156,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796144 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28796157,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28796145 lien utilise dans velours : https://marlene.fotonower.com/velours/28796146,28796147,28796148,28796149,28796150,28796151,28796152,28796153,28796154,28796155,28796156,28796157?tags=environnement,autre_refus,mal_croppe,metal,papier,kraft,cartonnette,flou,plastique,Teint_Dans_La_Masse,Carton_gris,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28796125]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] map_info['map_portfolio_photo'] : {28796125: [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170]} final : False mtd_id 4302 list_pids : [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] Looping around the photos to save general results len do output : 1 /28796125. 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, '4098205') ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '28796125', "{'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145}", None, None, None, None, '4098205'), ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205')] time used for this insertion : 0.021638154983520508 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8478448390960693 time spend to save output : 0.02218174934387207 total time spend for step 1 : 1.8700265884399414 step2:final Sat Nov 22 05:54:58 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 (28796125) 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 28796125 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1395616170,1395616528,1395616527,1395616559,1395616526,1395616557,1395616555,1395616554,1395616553,1395616586,1395616579,1395616575,1395616574,1395616622,1395616619,1395616615,1395616610,1395616609,1395616710,1395616709,1395616708,1395616736,1395616733,1395616761,1395616759,1395616758,1395616757,1395616787,1395616786,1395616785,1395616851,1395616836,1395616831,1395616827,1395616825,1395616882,1395616881,1395616897,1395616895,1395616924); 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([28796125]) Inside saveOutput : final : False verbose : True original output for save of step final : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} new output for save of step final : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] map_info['map_portfolio_photo'] : {28796125: [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170]} final : False mtd_id 4302 list_pids : [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] Looping around the photos to save general results len do output : 40 /1395616924.Didn't retrieve data . /1395616897.Didn't retrieve data . /1395616895.Didn't retrieve data . /1395616882.Didn't retrieve data . /1395616881.Didn't retrieve data . /1395616851.Didn't retrieve data . /1395616836.Didn't retrieve data . /1395616831.Didn't retrieve data . /1395616827.Didn't retrieve data . /1395616825.Didn't retrieve data . /1395616787.Didn't retrieve data . /1395616786.Didn't retrieve data . /1395616785.Didn't retrieve data . /1395616761.Didn't retrieve data . /1395616759.Didn't retrieve data . /1395616758.Didn't retrieve data . /1395616757.Didn't retrieve data . /1395616736.Didn't retrieve data . /1395616733.Didn't retrieve data . /1395616710.Didn't retrieve data . /1395616709.Didn't retrieve data . /1395616708.Didn't retrieve data . /1395616622.Didn't retrieve data . /1395616619.Didn't retrieve data . /1395616615.Didn't retrieve data . /1395616610.Didn't retrieve data . /1395616609.Didn't retrieve data . /1395616586.Didn't retrieve data . /1395616579.Didn't retrieve data . /1395616575.Didn't retrieve data . /1395616574.Didn't retrieve data . /1395616559.Didn't retrieve data . /1395616557.Didn't retrieve data . /1395616555.Didn't retrieve data . /1395616554.Didn't retrieve data . /1395616553.Didn't retrieve data . /1395616528.Didn't retrieve data . /1395616527.Didn't retrieve data . /1395616526.Didn't retrieve data . /1395616170.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, '4098205') ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '28796125', '1395616924', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616897', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616895', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616882', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616881', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616851', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616836', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616831', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616827', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616825', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616787', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616786', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616785', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616761', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616759', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616758', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616757', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616736', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616733', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616710', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616709', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616708', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616622', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616619', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616615', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616610', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616609', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616586', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616579', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616575', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616574', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616559', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616557', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616555', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616554', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616553', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616528', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616527', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616526', '0.05811374332416799', None, None, None, None, '4098205'), ('4302', '28796125', '1395616170', '0.05811374332416799', None, None, None, None, '4098205')] time used for this insertion : 0.023859739303588867 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08312368392944336 time spend to save output : 0.02551102638244629 total time spend for step 2 : 0.10863471031188965 step3:velours_tree Sat Nov 22 05:54:58 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 : {28796125: [{'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145}]} input_args_next_step : {28796125: ()} output_args : {28796125: [{'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145}]} args : 28796125 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28796125) 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([28796125]) 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.3103036880493164 time spend to save output : 5.7697296142578125e-05 total time spend for step 3 : 0.310361385345459 step4:send_mail_cod Sat Nov 22 05:54:58 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 : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} input_args_next_step : {1395616924: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616924 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616897 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616895 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616882 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616881 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616851 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616836 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616831 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616827 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616825 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616787 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616786 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616785 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616761 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616759 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616758 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616757 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616736 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616733 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616710 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616709 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616708 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616622 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616619 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616615 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616610 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616609 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616586 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616579 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616575 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616574 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616559 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616557 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616555 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616554 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616553 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616528 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616527 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616526 depend.output_id : 0 input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ()} output_args : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',)} args : 1395616170 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 : {28796125: [{'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145}]} input_args_next_step : {1395616924: ('0.05811374332416799',), 1395616897: ('0.05811374332416799',), 1395616895: ('0.05811374332416799',), 1395616882: ('0.05811374332416799',), 1395616881: ('0.05811374332416799',), 1395616851: ('0.05811374332416799',), 1395616836: ('0.05811374332416799',), 1395616831: ('0.05811374332416799',), 1395616827: ('0.05811374332416799',), 1395616825: ('0.05811374332416799',), 1395616787: ('0.05811374332416799',), 1395616786: ('0.05811374332416799',), 1395616785: ('0.05811374332416799',), 1395616761: ('0.05811374332416799',), 1395616759: ('0.05811374332416799',), 1395616758: ('0.05811374332416799',), 1395616757: ('0.05811374332416799',), 1395616736: ('0.05811374332416799',), 1395616733: ('0.05811374332416799',), 1395616710: ('0.05811374332416799',), 1395616709: ('0.05811374332416799',), 1395616708: ('0.05811374332416799',), 1395616622: ('0.05811374332416799',), 1395616619: ('0.05811374332416799',), 1395616615: ('0.05811374332416799',), 1395616610: ('0.05811374332416799',), 1395616609: ('0.05811374332416799',), 1395616586: ('0.05811374332416799',), 1395616579: ('0.05811374332416799',), 1395616575: ('0.05811374332416799',), 1395616574: ('0.05811374332416799',), 1395616559: ('0.05811374332416799',), 1395616557: ('0.05811374332416799',), 1395616555: ('0.05811374332416799',), 1395616554: ('0.05811374332416799',), 1395616553: ('0.05811374332416799',), 1395616528: ('0.05811374332416799',), 1395616527: ('0.05811374332416799',), 1395616526: ('0.05811374332416799',), 1395616170: ('0.05811374332416799',), 28796125: ()} output_args : {28796125: [{'environnement': 28796134, 'autre_refus': 28796135, 'mal_croppe': 28796136, 'metal': 28796137, 'papier': 28796138, 'kraft': 28796139, 'cartonnette': 28796140, 'flou': 28796141, 'plastique': 28796142, 'Teint_Dans_La_Masse': 28796143, 'Carton_gris': 28796144, 'Carton_brun': 28796145}]} args : 28796125 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 :41, first value : ('0.05811374332416799',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28796125) 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 (1395616924,1395616897,1395616895,1395616882,1395616881,1395616851,1395616836,1395616831,1395616827,1395616825,1395616787,1395616786,1395616785,1395616761,1395616759,1395616758,1395616757,1395616736,1395616733,1395616710,1395616709,1395616708,1395616622,1395616619,1395616615,1395616610,1395616609,1395616586,1395616579,1395616575,1395616574,1395616559,1395616557,1395616555,1395616554,1395616553,1395616528,1395616527,1395616526,1395616170) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1395616170 begin to download photo : 1395616574 begin to download photo : 1395616708 begin to download photo : 1395616785 begin to download photo : 1395616882 download finish for photo 1395616708 begin to download photo : 1395616709 download finish for photo 1395616882 begin to download photo : 1395616895 download finish for photo 1395616574 begin to download photo : 1395616575 download finish for photo 1395616785 begin to download photo : 1395616786 download finish for photo 1395616170 begin to download photo : 1395616526 download finish for photo 1395616709 begin to download photo : 1395616710 download finish for photo 1395616895 begin to download photo : 1395616897 download finish for photo 1395616786 begin to download photo : 1395616787 download finish for photo 1395616526 begin to download photo : 1395616527 download finish for photo 1395616575 begin to download photo : 1395616579 download finish for photo 1395616710 begin to download photo : 1395616733 download finish for photo 1395616897 begin to download photo : 1395616924 download finish for photo 1395616527 begin to download photo : 1395616528 download finish for photo 1395616787 begin to download photo : 1395616825 download finish for photo 1395616579 begin to download photo : 1395616586 download finish for photo 1395616528 begin to download photo : 1395616553 download finish for photo 1395616733 begin to download photo : 1395616736 download finish for photo 1395616924 download finish for photo 1395616825 begin to download photo : 1395616827 download finish for photo 1395616586 begin to download photo : 1395616609 download finish for photo 1395616827 begin to download photo : 1395616831 download finish for photo 1395616736 begin to download photo : 1395616757 download finish for photo 1395616553 begin to download photo : 1395616554 download finish for photo 1395616609 begin to download photo : 1395616610 download finish for photo 1395616831 begin to download photo : 1395616836 download finish for photo 1395616554 begin to download photo : 1395616555 download finish for photo 1395616757 begin to download photo : 1395616758 download finish for photo 1395616610 begin to download photo : 1395616615 download finish for photo 1395616836 begin to download photo : 1395616851 download finish for photo 1395616758 begin to download photo : 1395616759 download finish for photo 1395616555 begin to download photo : 1395616557 download finish for photo 1395616615 begin to download photo : 1395616619 download finish for photo 1395616851 begin to download photo : 1395616881 download finish for photo 1395616619 begin to download photo : 1395616622 download finish for photo 1395616759 begin to download photo : 1395616761 download finish for photo 1395616557 begin to download photo : 1395616559 download finish for photo 1395616881 download finish for photo 1395616622 download finish for photo 1395616559 download finish for photo 1395616761 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P28796125_22-11-2025_05_55_00.pdf 28796135 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=28796135 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616779: '1763757683_1977681_1395616709_6b567cb520b57e18195c28337103083f_rle_crop_4041595253_0.png', 1395616861: '1763757785_1979586_1395616619_982d694118949b995b57d421fed36dd8_rle_crop_4041595926_0.png', 1395616862: '1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595964_0.png', 1395616863: '1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595966_0.png', 1395617163: '1763758026_1985716_1395616825_41d1f705051e2f1917b808d2a4584272_rle_crop_4041596631_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d4afd51a6b04a1a070eb066c2678102a_35110546.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/2ed36f57509c5f79f1face7eaf928538_94418583.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d901ea89c28896cae79b879ea8c4ec34_20404740.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/1fa2462332a3109d33ccebe5350eb5a9_37350380.png change filename to text .imagette287961351763787300/ imagette287961351763787300/1763757683_1977681_1395616709_6b567cb520b57e18195c28337103083f_rle_crop_4041595253_0.png.png imagette287961351763787300/1763757785_1979586_1395616619_982d694118949b995b57d421fed36dd8_rle_crop_4041595926_0.png.png imagette287961351763787300/1763758026_1985716_1395616825_41d1f705051e2f1917b808d2a4584272_rle_crop_4041596631_0.png.png imagette287961351763787300/1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595966_0.png.png imagette287961351763787300/1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595964_0.png.png imagette287961361763787300/ imagette287961371763787300/ imagette287961391763787300/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/85d755126a54b29089bb426064ef41b5_1338017.png imagette287961351763787300 28796136 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=28796136 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287961361763787300 28796137 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=28796137 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287961371763787300 28796139 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=28796139 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287961391763787300 28796140 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=28796140 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616730: '1763757568_1975213_1395616579_b4fc5126282feeeb99ffb23bf440c70f_rle_crop_4041594458_0.png', 1395616784: '1763757665_1977249_1395616554_a8199dd05d682ab54fbd7db315de8a76_rle_crop_4041595293_0.png', 1395616865: '1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595965_0.png', 1395617183: '1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596618_0.png', 1395617185: '1763758026_1985716_1395616825_41d1f705051e2f1917b808d2a4584272_rle_crop_4041596630_0.png', 1395617387: '1763758167_1987859_1395616924_5abcb0a37d79eaab4e3d42884e632bf2_rle_crop_4041598562_0.png', 1395617388: '1763758167_1987859_1395616924_5abcb0a37d79eaab4e3d42884e632bf2_rle_crop_4041598566_0.png', 1395617389: '1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598574_0.png', 1395617390: '1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598578_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/75709a6d7e5284ae260d3ad1d5b38d95_21303059.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/40f79062b7b81d1b185ae96a66e17c78_48966319.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/a2bbfd3ae938839ec291bc223a0e78ad_22529705.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/6299d0fe88611b5903acdc013502bc6e_15335093.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/cfdbf92929c217b816c92153671d4f50_90234856.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/7ec4e437076b3ee06451596d93123049_60631281.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/f983a53739a92193c950e45b2ec871e2_60051857.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/6dd8365e9b3495b2a35ae3d6059c8a82_38271968.png change filename to text .imagette287961401763787300/ imagette287961401763787300/1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595965_0.png.png imagette287961401763787300/1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596618_0.png.png imagette287961401763787300/1763758026_1985716_1395616825_41d1f705051e2f1917b808d2a4584272_rle_crop_4041596630_0.png.png imagette287961401763787300/1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598578_0.png.png imagette287961401763787300/1763757665_1977249_1395616554_a8199dd05d682ab54fbd7db315de8a76_rle_crop_4041595293_0.png.png imagette287961401763787300/1763757568_1975213_1395616579_b4fc5126282feeeb99ffb23bf440c70f_rle_crop_4041594458_0.png.png imagette287961401763787300/1763758167_1987859_1395616924_5abcb0a37d79eaab4e3d42884e632bf2_rle_crop_4041598566_0.png.png imagette287961401763787300/1763758167_1987859_1395616924_5abcb0a37d79eaab4e3d42884e632bf2_rle_crop_4041598562_0.png.png imagette287961401763787300/1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598574_0.png.png imagette287961411763787301/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d6247d54bf5acc51fe1af0afea2eb4ae_81848500.png imagette287961401763787300 28796141 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=28796141 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette287961411763787301 28796142 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=28796142 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616869: '1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595949_0.png', 1395617202: '1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596621_0.png', 1395617391: '1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598579_0.png', 1395623650: '1763759846_2070947_1395616897_1b68b72436e4b5a8ee097ab2f6b5ee65_rle_crop_4041668000_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/a0ff019ec7304175791fb1d78d5fdba8_46769717.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/f9cfe5e32b47cecc6dea786873835311_63196138.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/04ff295dcdcaefe58079cbab26d1e400_4999499.png change filename to text .imagette287961421763787301/ imagette287961421763787301/1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598579_0.png.png imagette287961421763787301/1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595949_0.png.png imagette287961421763787301/1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596621_0.png.png imagette287961421763787301/1763759846_2070947_1395616897_1b68b72436e4b5a8ee097ab2f6b5ee65_rle_crop_4041668000_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d098e6bc448426f7cebde1bf9a1910bd_82251327.png imagette287961421763787301 28796143 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=28796143 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616781: '1763757665_1977249_1395616586_65321ea3cfc47815ae3b1386e608b1ce_rle_crop_4041595265_0.png', 1395616857: '1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595955_0.png', 1395616858: '1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595950_0.png', 1395616860: '1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595954_0.png', 1395616875: '1763757807_1980018_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596087_0.png', 1395617385: '1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598575_0.png', 1395625263: '1763760086_2075755_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596087_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/111ed9a1c5fa40b06d3eb48fa2144e32_79363630.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/49f825755fb2933c99fcbfcc6e334813_66121611.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/baf908c8d7bfb73bad79638724350fd2_37432696.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/1c97b2b363729ccdaeeb52df2fb7e2d4_27164292.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/07f4689ef240a3319ec9eb9ffd9f70d7_79990426.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d6aa3f2129d35329bc59879cd60908c4_51082685.png change filename to text .imagette287961431763787302/ imagette287961431763787302/1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595950_0.png.png imagette287961431763787302/1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595954_0.png.png imagette287961431763787302/1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595955_0.png.png imagette287961431763787302/1763758167_1987859_1395616895_6b02a2419960f026bc8786e5c87ef5db_rle_crop_4041598575_0.png.png imagette287961431763787302/1763757665_1977249_1395616586_65321ea3cfc47815ae3b1386e608b1ce_rle_crop_4041595265_0.png.png imagette287961431763787302/1763760086_2075755_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596087_0.png.png imagette287961431763787302/1763757807_1980018_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596087_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/07f4689ef240a3319ec9eb9ffd9f70d7_20057001.png imagette287961431763787302 28796144 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=28796144 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616782: '1763757665_1977249_1395616586_65321ea3cfc47815ae3b1386e608b1ce_rle_crop_4041595268_0.png', 1395616783: '1763757665_1977249_1395616555_a028eebb2c0811563ef8adde422e50e9_rle_crop_4041595283_0.png', 1395616864: '1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595972_0.png', 1395616877: '1763757807_1980018_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596086_0.png', 1395617174: '1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596622_0.png', 1395625264: '1763760086_2075755_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596086_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/490a157c06761cddeabc7adb85eb7edb_8824107.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/ffea57775229dd2a950bdaadd82758bf_59059280.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/99489fb2b272b2ef873dd4f7e04173f2_94184605.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/7d7262dd145d0459edd272667660f759_42794134.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/96599480d78bbf5e29633cc65208e5cb_91025161.png change filename to text .imagette287961441763787302/ imagette287961441763787302/1763757807_1980018_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596086_0.png.png imagette287961441763787302/1763757665_1977249_1395616555_a028eebb2c0811563ef8adde422e50e9_rle_crop_4041595283_0.png.png imagette287961441763787302/1763758026_1985716_1395616827_ba317a80f25b29a314e6f677725088db_rle_crop_4041596622_0.png.png imagette287961441763787302/1763757665_1977249_1395616586_65321ea3cfc47815ae3b1386e608b1ce_rle_crop_4041595268_0.png.png imagette287961441763787302/1763760086_2075755_1395616761_fb4de4842040538a6c48c3c747439e76_rle_crop_4041596086_0.png.png imagette287961441763787302/1763757785_1979586_1395616610_ed4f329d327f27424f77c34b06b131ef_rle_crop_4041595972_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/7d7262dd145d0459edd272667660f759_34088725.png imagette287961441763787302 28796145 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=28796145 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1395616731: '1763757568_1975213_1395616575_4b1a5ea36f2e3f2371b628b58f3129d3_rle_crop_4041594465_0.png', 1395616780: '1763757683_1977681_1395616736_a1d5c0cbb7931584635d6ace474fac05_rle_crop_4041595236_0.png', 1395616867: '1763757785_1979586_1395616619_982d694118949b995b57d421fed36dd8_rle_crop_4041595934_0.png', 1395616868: '1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595952_0.png', 1395617193: '1763758026_1985716_1395616831_f666bc5de5e45ba07de94abfa20e5485_rle_crop_4041596604_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/f96a29269470469d64ed867b545fa1f1_72035304.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/1344c5af4c928b3f91e94159daec8910_26116580.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/2f550d1e05df38483ee69bd16cf0b389_47176102.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/7144b0d2ffcaf86d0d7fb18f58ac668c_86996271.png change filename to text .imagette287961451763787303/ imagette287961451763787303/1763757683_1977681_1395616736_a1d5c0cbb7931584635d6ace474fac05_rle_crop_4041595236_0.png.png imagette287961451763787303/1763757568_1975213_1395616575_4b1a5ea36f2e3f2371b628b58f3129d3_rle_crop_4041594465_0.png.png imagette287961451763787303/1763758026_1985716_1395616831_f666bc5de5e45ba07de94abfa20e5485_rle_crop_4041596604_0.png.png imagette287961451763787303/1763757785_1979586_1395616619_982d694118949b995b57d421fed36dd8_rle_crop_4041595934_0.png.png imagette287961451763787303/1763757785_1979586_1395616615_d3642c69568d2ef36d71fc838fab380f_rle_crop_4041595952_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/1a9076e57e2b4851077c53413aeb9c7f_98602507.png imagette287961451763787303 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28796125 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28796146,28796147,28796148,28796149,28796150,28796151,28796152,28796153,28796154,28796155,28796156,28796157?tags=environnement,autre_refus,mal_croppe,metal,papier,kraft,cartonnette,flou,plastique,Teint_Dans_La_Masse,Carton_gris,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1395616924] : ('0.05811374332416799',) no score found for photo 1395616924 We are sending mail with results at report@fotonower.com args[1395616897] : ('0.05811374332416799',) no score found for photo 1395616897 We are sending mail with results at report@fotonower.com args[1395616895] : ('0.05811374332416799',) no score found for photo 1395616895 We are sending mail with results at report@fotonower.com args[1395616882] : ('0.05811374332416799',) no score found for photo 1395616882 We are sending mail with results at report@fotonower.com args[1395616881] : ('0.05811374332416799',) no score found for photo 1395616881 We are sending mail with results at report@fotonower.com args[1395616851] : ('0.05811374332416799',) no score found for photo 1395616851 We are sending mail with results at report@fotonower.com args[1395616836] : ('0.05811374332416799',) no score found for photo 1395616836 We are sending mail with results at report@fotonower.com args[1395616831] : ('0.05811374332416799',) no score found for photo 1395616831 We are sending mail with results at report@fotonower.com args[1395616827] : ('0.05811374332416799',) no score found for photo 1395616827 We are sending mail with results at report@fotonower.com args[1395616825] : ('0.05811374332416799',) no score found for photo 1395616825 We are sending mail with results at report@fotonower.com args[1395616787] : ('0.05811374332416799',) no score found for photo 1395616787 We are sending mail with results at report@fotonower.com args[1395616786] : ('0.05811374332416799',) no score found for photo 1395616786 We are sending mail with results at report@fotonower.com args[1395616785] : ('0.05811374332416799',) no score found for photo 1395616785 We are sending mail with results at report@fotonower.com args[1395616761] : ('0.05811374332416799',) no score found for photo 1395616761 We are sending mail with results at report@fotonower.com args[1395616759] : ('0.05811374332416799',) no score found for photo 1395616759 We are sending mail with results at report@fotonower.com args[1395616758] : ('0.05811374332416799',) no score found for photo 1395616758 We are sending mail with results at report@fotonower.com args[1395616757] : ('0.05811374332416799',) no score found for photo 1395616757 We are sending mail with results at report@fotonower.com args[1395616736] : ('0.05811374332416799',) no score found for photo 1395616736 We are sending mail with results at report@fotonower.com args[1395616733] : ('0.05811374332416799',) no score found for photo 1395616733 We are sending mail with results at report@fotonower.com args[1395616710] : ('0.05811374332416799',) no score found for photo 1395616710 We are sending mail with results at report@fotonower.com args[1395616709] : ('0.05811374332416799',) no score found for photo 1395616709 We are sending mail with results at report@fotonower.com args[1395616708] : ('0.05811374332416799',) no score found for photo 1395616708 We are sending mail with results at report@fotonower.com args[1395616622] : ('0.05811374332416799',) no score found for photo 1395616622 We are sending mail with results at report@fotonower.com args[1395616619] : ('0.05811374332416799',) no score found for photo 1395616619 We are sending mail with results at report@fotonower.com args[1395616615] : ('0.05811374332416799',) no score found for photo 1395616615 We are sending mail with results at report@fotonower.com args[1395616610] : ('0.05811374332416799',) no score found for photo 1395616610 We are sending mail with results at report@fotonower.com args[1395616609] : ('0.05811374332416799',) no score found for photo 1395616609 We are sending mail with results at report@fotonower.com args[1395616586] : ('0.05811374332416799',) no score found for photo 1395616586 We are sending mail with results at report@fotonower.com args[1395616579] : ('0.05811374332416799',) no score found for photo 1395616579 We are sending mail with results at report@fotonower.com args[1395616575] : ('0.05811374332416799',) no score found for photo 1395616575 We are sending mail with results at report@fotonower.com args[1395616574] : ('0.05811374332416799',) no score found for photo 1395616574 We are sending mail with results at report@fotonower.com args[1395616559] : ('0.05811374332416799',) no score found for photo 1395616559 We are sending mail with results at report@fotonower.com args[1395616557] : ('0.05811374332416799',) no score found for photo 1395616557 We are sending mail with results at report@fotonower.com args[1395616555] : ('0.05811374332416799',) no score found for photo 1395616555 We are sending mail with results at report@fotonower.com args[1395616554] : ('0.05811374332416799',) no score found for photo 1395616554 We are sending mail with results at report@fotonower.com args[1395616553] : ('0.05811374332416799',) no score found for photo 1395616553 We are sending mail with results at report@fotonower.com args[1395616528] : ('0.05811374332416799',) no score found for photo 1395616528 We are sending mail with results at report@fotonower.com args[1395616527] : ('0.05811374332416799',) no score found for photo 1395616527 We are sending mail with results at report@fotonower.com args[1395616526] : ('0.05811374332416799',) no score found for photo 1395616526 We are sending mail with results at report@fotonower.com args[1395616170] : ('0.05811374332416799',) no score found for photo 1395616170 We are sending mail with results at report@fotonower.com refus_total : 0.05811374332416799 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=28796125 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_P28796125_22-11-2025_05_55_00.pdf results_Auto_P28796125_22-11-2025_05_55_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_22-11-2025_05_55_00.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','28796125','results_Auto_P28796125_22-11-2025_05_55_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_22-11-2025_05_55_00.pdf','pdf','','0.41','0.05811374332416799') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28796125]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] map_info['map_portfolio_photo'] : {28796125: [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170]} final : False mtd_id 4302 list_pids : [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] 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, '4098205') ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205') 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', '28796125', '1395616924', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205')] time used for this insertion : 0.040731191635131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.270271062850952 time spend to save output : 0.04114890098571777 total time spend for step 4 : 7.31141996383667 step5:split_time_score Sat Nov 22 05:55:06 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 : ['28796125'] 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 : [('28796125',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28796125) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1395616882: {'path': 'temp/1763787298_3545896_1395616882_af3f5b6cb26fcb5eaba73b3b35441fc0.jpg', 'extension': 'jpg'}, 1395616895: {'path': 'temp/1763787298_3545896_1395616895_6b02a2419960f026bc8786e5c87ef5db.jpg', 'extension': 'jpg'}, 1395616897: {'path': 'temp/1763787298_3545896_1395616897_1b68b72436e4b5a8ee097ab2f6b5ee65.jpg', 'extension': 'jpg'}, 1395616924: {'path': 'temp/1763787298_3545896_1395616924_5abcb0a37d79eaab4e3d42884e632bf2.jpg', 'extension': 'jpg'}, 1395616785: {'path': 'temp/1763787298_3545896_1395616785_1dfc87218cadf73ea49fb00d8ff4482b.jpg', 'extension': 'jpg'}, 1395616786: {'path': 'temp/1763787298_3545896_1395616786_5f73f993f2e6d8f942e0999d7758938d.jpg', 'extension': 'jpg'}, 1395616787: {'path': 'temp/1763787298_3545896_1395616787_910dda6f5a63137ab962108e8da947ae.jpg', 'extension': 'jpg'}, 1395616825: {'path': 'temp/1763787298_3545896_1395616825_41d1f705051e2f1917b808d2a4584272.jpg', 'extension': 'jpg'}, 1395616827: {'path': 'temp/1763787298_3545896_1395616827_ba317a80f25b29a314e6f677725088db.jpg', 'extension': 'jpg'}, 1395616831: {'path': 'temp/1763787298_3545896_1395616831_f666bc5de5e45ba07de94abfa20e5485.jpg', 'extension': 'jpg'}, 1395616836: {'path': 'temp/1763787298_3545896_1395616836_541db09e637972c770ca89e916f0ecdb.jpg', 'extension': 'jpg'}, 1395616851: {'path': 'temp/1763787298_3545896_1395616851_bfdead6682162a561336bf2d71c4eeba.jpg', 'extension': 'jpg'}, 1395616881: {'path': 'temp/1763787298_3545896_1395616881_1e7f42e31c10a2ea483aa257c6fb3faa.jpg', 'extension': 'jpg'}, 1395616574: {'path': 'temp/1763787298_3545896_1395616574_776d62b9b2fdda6ccbd7e7cf364946a1.jpg', 'extension': 'jpg'}, 1395616575: {'path': 'temp/1763787298_3545896_1395616575_4b1a5ea36f2e3f2371b628b58f3129d3.jpg', 'extension': 'jpg'}, 1395616579: {'path': 'temp/1763787298_3545896_1395616579_b4fc5126282feeeb99ffb23bf440c70f.jpg', 'extension': 'jpg'}, 1395616586: {'path': 'temp/1763787298_3545896_1395616586_65321ea3cfc47815ae3b1386e608b1ce.jpg', 'extension': 'jpg'}, 1395616609: {'path': 'temp/1763787298_3545896_1395616609_16f633aeee0c8a31649c096e4aa2678c.jpg', 'extension': 'jpg'}, 1395616610: {'path': 'temp/1763787298_3545896_1395616610_ed4f329d327f27424f77c34b06b131ef.jpg', 'extension': 'jpg'}, 1395616615: {'path': 'temp/1763787298_3545896_1395616615_d3642c69568d2ef36d71fc838fab380f.jpg', 'extension': 'jpg'}, 1395616619: {'path': 'temp/1763787298_3545896_1395616619_982d694118949b995b57d421fed36dd8.jpg', 'extension': 'jpg'}, 1395616622: {'path': 'temp/1763787298_3545896_1395616622_1fd56f717a007e74d56065c727e5bfbf.jpg', 'extension': 'jpg'}, 1395616170: {'path': 'temp/1763787298_3545896_1395616170_d788b7e1ad7db524289efdc6ed5eda08.jpg', 'extension': 'jpg'}, 1395616526: {'path': 'temp/1763787298_3545896_1395616526_fbf531c9fb9f2dbc701cdae258e04213.jpg', 'extension': 'jpg'}, 1395616527: {'path': 'temp/1763787298_3545896_1395616527_b581e3fa133f0631284388d6d2aba32f.jpg', 'extension': 'jpg'}, 1395616528: {'path': 'temp/1763787298_3545896_1395616528_73e32c5c8122905a12d25a6ea88968bd.jpg', 'extension': 'jpg'}, 1395616553: {'path': 'temp/1763787298_3545896_1395616553_884f5be739713852a149c21f6cf7e8cc.jpg', 'extension': 'jpg'}, 1395616554: {'path': 'temp/1763787298_3545896_1395616554_a8199dd05d682ab54fbd7db315de8a76.jpg', 'extension': 'jpg'}, 1395616555: {'path': 'temp/1763787298_3545896_1395616555_a028eebb2c0811563ef8adde422e50e9.jpg', 'extension': 'jpg'}, 1395616557: {'path': 'temp/1763787298_3545896_1395616557_acaddecaa54669984605b264219c459e.jpg', 'extension': 'jpg'}, 1395616559: {'path': 'temp/1763787298_3545896_1395616559_6a65174ef25f7d85ba813eeba5657386.jpg', 'extension': 'jpg'}, 1395616708: {'path': 'temp/1763787298_3545896_1395616708_5e0d988d2519df91308b04e3b43ce47d.jpg', 'extension': 'jpg'}, 1395616709: {'path': 'temp/1763787298_3545896_1395616709_6b567cb520b57e18195c28337103083f.jpg', 'extension': 'jpg'}, 1395616710: {'path': 'temp/1763787298_3545896_1395616710_4bd4da647f97bb68ab88a5d8f3c22e45.jpg', 'extension': 'jpg'}, 1395616733: {'path': 'temp/1763787298_3545896_1395616733_e4105b781f445f446d654f92db2a578f.jpg', 'extension': 'jpg'}, 1395616736: {'path': 'temp/1763787298_3545896_1395616736_a1d5c0cbb7931584635d6ace474fac05.jpg', 'extension': 'jpg'}, 1395616757: {'path': 'temp/1763787298_3545896_1395616757_ec71c2fe76dc8af65f1008b6e868d118.jpg', 'extension': 'jpg'}, 1395616758: {'path': 'temp/1763787298_3545896_1395616758_25948c3cb7937cbf4f357ff92f980172.jpg', 'extension': 'jpg'}, 1395616759: {'path': 'temp/1763787298_3545896_1395616759_207670bab3735047a04b6a235d4fbb6d.jpg', 'extension': 'jpg'}, 1395616761: {'path': 'temp/1763787298_3545896_1395616761_fb4de4842040538a6c48c3c747439e76.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 = 28796125; (('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 = 28796125 group by h (('21', 40),) 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=28796125 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 (28796125) 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 (28796125) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21112025 28796125 Nombre de photos uploadées : 40 / 23040 (0%) 21112025 28796125 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 21112025 28796125 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1395616170, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/d788b7e1ad7db524289efdc6ed5eda08.jpg', 'username': None, 'uploaded_at': 1763757128, 'text': 'image_21112025_21_31_04_10152.jpg'}, {'photo_id': 1395616528, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/73e32c5c8122905a12d25a6ea88968bd.jpg', 'username': None, 'uploaded_at': 1763757308, 'text': 'image_21112025_21_31_14_10137.jpg'}, {'photo_id': 1395616527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/b581e3fa133f0631284388d6d2aba32f.jpg', 'username': None, 'uploaded_at': 1763757308, 'text': 'image_21112025_21_34_23_9127.jpg'}, {'photo_id': 1395616559, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/21/6a65174ef25f7d85ba813eeba5657386.jpg', 'username': None, 'uploaded_at': 1763757367, 'text': 'image_21112025_21_34_44_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018513202667236328 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28796125, '2025-11-21' ) 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-21' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2620552,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2432260513305664 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= 2620552 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28762662, 'dashboard_result_id': 17612952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762662_22-11-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28762699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762701, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28763044, 'dashboard_result_id': 17612953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763044_22-11-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28763049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763061, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28763533, 'dashboard_result_id': 17612954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763533_22-11-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763548, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28763781, 'dashboard_result_id': 17612955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763781_22-11-2025_05_35_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763801, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28764719, 'dashboard_result_id': 17612956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28764719_22-11-2025_05_36_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28764723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28764724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28764725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28764726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28764727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28764728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28764729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28764730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28764731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28764732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28764733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28764734, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28765064, 'dashboard_result_id': 17612957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765064_22-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765076, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28765712, 'dashboard_result_id': 17612958, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765712_22-11-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28765713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765724, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28765950, 'dashboard_result_id': 17612959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765950_22-11-2025_05_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28765954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765966, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28766408, 'dashboard_result_id': 17612960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766408_22-11-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766427, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28766709, 'dashboard_result_id': 17612961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766709_22-11-2025_05_38_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766726, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28769436, 'dashboard_result_id': 17612962, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769436_22-11-2025_05_39_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769451, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28769662, 'dashboard_result_id': 17612963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769662_22-11-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769682, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28769961, 'dashboard_result_id': 17612964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769961_22-11-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769993, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28770522, 'dashboard_result_id': 17612965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28770522_22-11-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28770537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28770538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28770539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28770540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28770541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28770542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28770543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28770544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28770545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28770546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28770547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28770548, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28773043, 'dashboard_result_id': 17612966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773043_22-11-2025_05_41_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28773047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773058, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28773245, 'dashboard_result_id': 17612967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773245_22-11-2025_05_41_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773311, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28773755, 'dashboard_result_id': 17612968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773755_22-11-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28773762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773773, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28774293, 'dashboard_result_id': 17612969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774293_22-11-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28774300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774309, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28774855, 'dashboard_result_id': 17612970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774855_22-11-2025_05_42_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28774900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774911, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28778960, 'dashboard_result_id': 17612971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28778960_22-11-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28778964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28778965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28778966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28778967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28778968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28778969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28778970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28778971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28778972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28778973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28778974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28778975, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28779599, 'dashboard_result_id': 17612972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28779599_22-11-2025_05_43_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28779604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28779605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28779606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28779607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28779608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28779609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28779610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28779611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28779612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28779613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28779614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28779615, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28780075, 'dashboard_result_id': 17612973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780075_22-11-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28780084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780095, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28780517, 'dashboard_result_id': 17612974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780517_22-11-2025_05_44_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28780527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780532, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28781135, 'dashboard_result_id': 17612975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781135_22-11-2025_05_45_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28781143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28781151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781154, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28781891, 'dashboard_result_id': 17612976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781891_22-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28781905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28781910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781917, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28782456, 'dashboard_result_id': 17612977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782456_22-11-2025_05_46_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28782474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28782475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28782476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28782477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28782478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28782479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28782480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28782481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28782482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28782483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28782484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28782485, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28782958, 'dashboard_result_id': 17612978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782958_22-11-2025_05_46_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28783012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783020, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28783677, 'dashboard_result_id': 17612979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28783677_22-11-2025_05_46_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28783689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783700, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28784303, 'dashboard_result_id': 17612980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28784303_22-11-2025_05_47_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28784345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28784346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28784347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28784348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28784349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28784350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28784351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28784352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28784353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28784354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28784355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28784356, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28785019, 'dashboard_result_id': 17612981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785019_22-11-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785042, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28785594, 'dashboard_result_id': 17612982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785594_22-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785641, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28786209, 'dashboard_result_id': 17612983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28786209_22-11-2025_05_48_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28786242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28786243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28786244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28786245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28786246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28786247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28786248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28786249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28786250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28786251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28786252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28786253, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28787989, 'dashboard_result_id': 17612984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28787989_22-11-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28787993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28787994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28787995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28787996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28787997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28787998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28787999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788004, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28788401, 'dashboard_result_id': 17612985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788401_22-11-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28788415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788426, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28788916, 'dashboard_result_id': 17612986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788916_22-11-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788947, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28789530, 'dashboard_result_id': 17612987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789530_22-11-2025_05_50_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28789544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28789545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28789546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28789547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28789548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28789549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28789550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28789551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28789552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28789553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28789554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28789555, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28790022, 'dashboard_result_id': 17612988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790022_22-11-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28790052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790057, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28790907, 'dashboard_result_id': 17612989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790907_22-11-2025_05_51_13.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28790936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790947, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28791305, 'dashboard_result_id': 17612990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791305_22-11-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28791376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791384, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28791819, 'dashboard_result_id': 17612991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791819_22-11-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28791889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791903, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28792331, 'dashboard_result_id': 17612992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792331_22-11-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792392, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28792948, 'dashboard_result_id': 17612993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792948_22-11-2025_05_53_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792983, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28793668, 'dashboard_result_id': 17612994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28793668_22-11-2025_05_53_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28793682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28793683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28793684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28793685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28793686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28793687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28793688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28793689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28793690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28793691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28793692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28793693, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28795149, 'dashboard_result_id': 17612995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795149_22-11-2025_05_54_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795167, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28795444, 'dashboard_result_id': 17612996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795444_22-11-2025_05_54_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795472, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28796125, 'dashboard_result_id': 17612997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_21-11-2025_21_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796145, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28796456, 'dashboard_result_id': 17612998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796456_21-11-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796475, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28796841, 'dashboard_result_id': 17612999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796841_21-11-2025_22_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28796926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796937, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28797506, 'dashboard_result_id': 17613000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28797506_21-11-2025_22_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28797521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28797522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28797523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28797524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28797525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28797526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28797527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28797528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28797529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28797530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28797531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28797532, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28798187, 'dashboard_result_id': 17613001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798187_21-11-2025_22_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28798228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28798230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798236, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28798918, 'dashboard_result_id': 17613002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798918_21-11-2025_23_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799001, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28799873, 'dashboard_result_id': 17613003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28799873_21-11-2025_23_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28799905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28799907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28799908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28799911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28799912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28799913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28799914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28799915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28799916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28799917, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28800538, 'dashboard_result_id': 17613004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28800538_21-11-2025_23_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28800568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28800569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28800570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28800571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28800572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28800573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28800574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28800575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28800576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28800577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28800578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28800579, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28801087, 'dashboard_result_id': 17613005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801087_21-11-2025_23_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801123, 'pht': 3726}}"}, {'dashboat_entry_day': 2620552, 'dashboard_run_id': 2635270, 'mtr_portfolio_id': 28801831, 'dashboard_result_id': 17613006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801831_22-11-2025_01_01_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801863, '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 = 28762662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098160, 'mtr_portfolio_id': 28762662, 'created_at': datetime.datetime(2025, 11, 22, 5, 34, 27), 'result': '0.0335321444106526', 'result_long': None, 'result_double': None}] Qualite : 0.0335321444106526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28762662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762662_22-11-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28762662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762662_22-11-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28762699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762701, 'pht': 3726}}" where mtr_portfolio_id = 28762662 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28762662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612952, 0.0335321444106526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28762662_22-11-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28762690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28762691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28762692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28762693, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28762694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28762695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28762696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28762697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28762698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28762699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28762700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28762701, '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 = 28763044 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098161, 'mtr_portfolio_id': 28763044, 'created_at': datetime.datetime(2025, 11, 22, 5, 34, 57), 'result': '0.043341102704995846', 'result_long': None, 'result_double': None}] Qualite : 0.043341102704995846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28763044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763044_22-11-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28763044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763044_22-11-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28763049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763061, 'pht': 3726}}" where mtr_portfolio_id = 28763044 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28763044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612953, 0.043341102704995846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763044_22-11-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28763049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763057, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763061, '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 = 28763533 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098162, 'mtr_portfolio_id': 28763533, 'created_at': datetime.datetime(2025, 11, 22, 5, 35, 30), 'result': '0.0343134230540663', 'result_long': None, 'result_double': None}] Qualite : 0.0343134230540663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28763533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763533_22-11-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28763533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763533_22-11-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763548, 'pht': 3726}}" where mtr_portfolio_id = 28763533 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28763533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612954, 0.0343134230540663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763533_22-11-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763548, '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 = 28763781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098163, 'mtr_portfolio_id': 28763781, 'created_at': datetime.datetime(2025, 11, 22, 5, 35, 56), 'result': '0.030743217828098125', 'result_long': None, 'result_double': None}] Qualite : 0.030743217828098125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28763781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763781_22-11-2025_05_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28763781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763781_22-11-2025_05_35_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763801, 'pht': 3726}}" where mtr_portfolio_id = 28763781 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28763781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612955, 0.030743217828098125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28763781_22-11-2025_05_35_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28763790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28763791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28763792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28763793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28763794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28763795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28763796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28763797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28763798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28763799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28763800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28763801, '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 = 28764719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098164, 'mtr_portfolio_id': 28764719, 'created_at': datetime.datetime(2025, 11, 22, 5, 36, 9), 'result': '0.05715487488060221', 'result_long': None, 'result_double': None}] Qualite : 0.05715487488060221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28764719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28764719_22-11-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28764719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28764719_22-11-2025_05_36_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28764723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28764724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28764725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28764726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28764727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28764728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28764729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28764730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28764731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28764732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28764733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28764734, 'pht': 3726}}" where mtr_portfolio_id = 28764719 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28764719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612956, 0.05715487488060221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28764719_22-11-2025_05_36_13.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28764723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28764724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28764725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28764726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28764727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28764728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28764729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28764730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28764731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28764732, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28764733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28764734, '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 = 28765064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098165, 'mtr_portfolio_id': 28765064, 'created_at': datetime.datetime(2025, 11, 22, 5, 36, 29), 'result': '0.04664491613355381', 'result_long': None, 'result_double': None}] Qualite : 0.04664491613355381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28765064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765064_22-11-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28765064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765064_22-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765076, 'pht': 3726}}" where mtr_portfolio_id = 28765064 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28765064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612957, 0.04664491613355381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765064_22-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765070, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765071, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765076, '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 = 28765712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098166, 'mtr_portfolio_id': 28765712, 'created_at': datetime.datetime(2025, 11, 22, 5, 37), 'result': '0.06257943452468175', 'result_long': None, 'result_double': None}] Qualite : 0.06257943452468175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28765712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765712_22-11-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28765712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765712_22-11-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28765713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765724, 'pht': 3726}}" where mtr_portfolio_id = 28765712 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28765712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612958, 0.06257943452468175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765712_22-11-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28765713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765715, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28765724, '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 = 28765950 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098167, 'mtr_portfolio_id': 28765950, 'created_at': datetime.datetime(2025, 11, 22, 5, 37, 31), 'result': '0.061092176791240876', 'result_long': None, 'result_double': None}] Qualite : 0.061092176791240876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28765950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765950_22-11-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28765950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765950_22-11-2025_05_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28765954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765966, 'pht': 3726}}" where mtr_portfolio_id = 28765950 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28765950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612959, 0.061092176791240876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28765950_22-11-2025_05_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28765954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28765955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28765956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28765957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28765958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28765959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28765961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28765962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28765963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28765964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28765965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28765966, '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 = 28766408 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098168, 'mtr_portfolio_id': 28766408, 'created_at': datetime.datetime(2025, 11, 22, 5, 38), 'result': '0.0489443804374229', 'result_long': None, 'result_double': None}] Qualite : 0.0489443804374229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28766408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766408_22-11-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28766408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766408_22-11-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766427, 'pht': 3726}}" where mtr_portfolio_id = 28766408 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28766408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612960, 0.0489443804374229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766408_22-11-2025_05_38_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766419, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766424, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766427, '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 = 28766709 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098169, 'mtr_portfolio_id': 28766709, 'created_at': datetime.datetime(2025, 11, 22, 5, 38, 30), 'result': '0.044003237785461884', 'result_long': None, 'result_double': None}] Qualite : 0.044003237785461884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28766709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766709_22-11-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28766709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766709_22-11-2025_05_38_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766726, 'pht': 3726}}" where mtr_portfolio_id = 28766709 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28766709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612961, 0.044003237785461884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28766709_22-11-2025_05_38_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28766715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28766716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28766717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28766718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28766719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28766720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28766721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28766722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28766723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28766724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28766725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28766726, '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 = 28769436 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098170, 'mtr_portfolio_id': 28769436, 'created_at': datetime.datetime(2025, 11, 22, 5, 39, 1), 'result': '0.032492604098221474', 'result_long': None, 'result_double': None}] Qualite : 0.032492604098221474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28769436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769436_22-11-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28769436 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769436_22-11-2025_05_39_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769451, 'pht': 3726}}" where mtr_portfolio_id = 28769436 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28769436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612962, 0.032492604098221474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769436_22-11-2025_05_39_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769451, '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 = 28769662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098171, 'mtr_portfolio_id': 28769662, 'created_at': datetime.datetime(2025, 11, 22, 5, 39, 29), 'result': '0.0347574712730524', 'result_long': None, 'result_double': None}] Qualite : 0.0347574712730524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28769662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769662_22-11-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28769662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769662_22-11-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769682, 'pht': 3726}}" where mtr_portfolio_id = 28769662 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28769662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612963, 0.0347574712730524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769662_22-11-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769679, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769682, '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 = 28769961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098172, 'mtr_portfolio_id': 28769961, 'created_at': datetime.datetime(2025, 11, 22, 5, 40), 'result': '0.04079051558978746', 'result_long': None, 'result_double': None}] Qualite : 0.04079051558978746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28769961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769961_22-11-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28769961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769961_22-11-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769993, 'pht': 3726}}" where mtr_portfolio_id = 28769961 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28769961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612964, 0.04079051558978746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28769961_22-11-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28769982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28769983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28769984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28769985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28769986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28769987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28769988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28769989, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28769990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28769991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28769992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28769993, '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 = 28770522 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098173, 'mtr_portfolio_id': 28770522, 'created_at': datetime.datetime(2025, 11, 22, 5, 40, 29), 'result': '0.037888920034834336', 'result_long': None, 'result_double': None}] Qualite : 0.037888920034834336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28770522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28770522_22-11-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28770522 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28770522_22-11-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28770537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28770538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28770539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28770540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28770541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28770542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28770543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28770544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28770545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28770546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28770547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28770548, 'pht': 3726}}" where mtr_portfolio_id = 28770522 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28770522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612965, 0.037888920034834336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28770522_22-11-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28770537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28770538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28770539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28770540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28770541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28770542, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28770543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28770544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28770545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28770546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28770547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28770548, '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 = 28773043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098174, 'mtr_portfolio_id': 28773043, 'created_at': datetime.datetime(2025, 11, 22, 5, 41), 'result': '0.0361252595584498', 'result_long': None, 'result_double': None}] Qualite : 0.0361252595584498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28773043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773043_22-11-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28773043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773043_22-11-2025_05_41_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28773047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773058, 'pht': 3726}}" where mtr_portfolio_id = 28773043 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28773043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612966, 0.0361252595584498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773043_22-11-2025_05_41_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28773047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773058, '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 = 28773245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098175, 'mtr_portfolio_id': 28773245, 'created_at': datetime.datetime(2025, 11, 22, 5, 41, 9), 'result': '0.03624030535286962', 'result_long': None, 'result_double': None}] Qualite : 0.03624030535286962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28773245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773245_22-11-2025_05_41_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28773245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773245_22-11-2025_05_41_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773311, 'pht': 3726}}" where mtr_portfolio_id = 28773245 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28773245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612967, 0.03624030535286962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773245_22-11-2025_05_41_13.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28773309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773311, '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 = 28773755 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098176, 'mtr_portfolio_id': 28773755, 'created_at': datetime.datetime(2025, 11, 22, 5, 41, 29), 'result': '0.05378054221317116', 'result_long': None, 'result_double': None}] Qualite : 0.05378054221317116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28773755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773755_22-11-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28773755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773755_22-11-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28773762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773773, 'pht': 3726}}" where mtr_portfolio_id = 28773755 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28773755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612968, 0.05378054221317116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28773755_22-11-2025_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28773762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28773763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28773764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28773765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28773766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28773767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28773768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28773769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28773770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28773771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28773772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28773773, '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 = 28774293 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098177, 'mtr_portfolio_id': 28774293, 'created_at': datetime.datetime(2025, 11, 22, 5, 41, 59), 'result': '0.03790942631149408', 'result_long': None, 'result_double': None}] Qualite : 0.03790942631149408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28774293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774293_22-11-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28774293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774293_22-11-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28774300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774309, 'pht': 3726}}" where mtr_portfolio_id = 28774293 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28774293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612969, 0.03790942631149408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774293_22-11-2025_05_42_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28774300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774309, '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 = 28774855 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098178, 'mtr_portfolio_id': 28774855, 'created_at': datetime.datetime(2025, 11, 22, 5, 42, 29), 'result': '0.019423440770719617', 'result_long': None, 'result_double': None}] Qualite : 0.019423440770719617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28774855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774855_22-11-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28774855 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774855_22-11-2025_05_42_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28774900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774911, 'pht': 3726}}" where mtr_portfolio_id = 28774855 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28774855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612970, 0.019423440770719617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28774855_22-11-2025_05_42_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28774900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28774901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28774902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28774903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28774904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28774905, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28774906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28774907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28774908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28774909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28774910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28774911, '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 = 28778960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098179, 'mtr_portfolio_id': 28778960, 'created_at': datetime.datetime(2025, 11, 22, 5, 42, 58), 'result': '0.043116579935063105', 'result_long': None, 'result_double': None}] Qualite : 0.043116579935063105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28778960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28778960_22-11-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28778960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28778960_22-11-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28778964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28778965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28778966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28778967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28778968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28778969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28778970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28778971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28778972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28778973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28778974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28778975, 'pht': 3726}}" where mtr_portfolio_id = 28778960 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28778960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612971, 0.043116579935063105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28778960_22-11-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28778964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28778965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28778966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28778967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28778968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28778969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28778970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28778971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28778972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28778973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28778974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28778975, '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 = 28779599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098180, 'mtr_portfolio_id': 28779599, 'created_at': datetime.datetime(2025, 11, 22, 5, 43, 30), 'result': '0.036875872639638825', 'result_long': None, 'result_double': None}] Qualite : 0.036875872639638825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28779599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28779599_22-11-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28779599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28779599_22-11-2025_05_43_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28779604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28779605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28779606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28779607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28779608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28779609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28779610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28779611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28779612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28779613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28779614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28779615, 'pht': 3726}}" where mtr_portfolio_id = 28779599 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28779599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612972, 0.036875872639638825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28779599_22-11-2025_05_43_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28779604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28779605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28779606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28779607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28779608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28779609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28779610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28779611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28779612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28779613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28779614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28779615, '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 = 28780075 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098181, 'mtr_portfolio_id': 28780075, 'created_at': datetime.datetime(2025, 11, 22, 5, 44), 'result': '0.04455947429684557', 'result_long': None, 'result_double': None}] Qualite : 0.04455947429684557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28780075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780075_22-11-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28780075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780075_22-11-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28780084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780095, 'pht': 3726}}" where mtr_portfolio_id = 28780075 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28780075 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612973, 0.04455947429684557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780075_22-11-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28780084, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780085, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780092, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780095, '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 = 28780517 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098182, 'mtr_portfolio_id': 28780517, 'created_at': datetime.datetime(2025, 11, 22, 5, 44, 29), 'result': '0.043636659502151225', 'result_long': None, 'result_double': None}] Qualite : 0.043636659502151225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28780517 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780517_22-11-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28780517 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780517_22-11-2025_05_44_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28780527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780532, 'pht': 3726}}" where mtr_portfolio_id = 28780517 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28780517 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612974, 0.043636659502151225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28780517_22-11-2025_05_44_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28780521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28780522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28780523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28780524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28780525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28780526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28780527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28780528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28780529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28780530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28780531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28780532, '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 = 28781135 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098183, 'mtr_portfolio_id': 28781135, 'created_at': datetime.datetime(2025, 11, 22, 5, 44, 57), 'result': '0.04508190105365981', 'result_long': None, 'result_double': None}] Qualite : 0.04508190105365981 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28781135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781135_22-11-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28781135 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781135_22-11-2025_05_45_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28781143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28781151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781154, 'pht': 3726}}" where mtr_portfolio_id = 28781135 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28781135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612975, 0.04508190105365981, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781135_22-11-2025_05_45_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28781143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28781151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781154, '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 = 28781891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098184, 'mtr_portfolio_id': 28781891, 'created_at': datetime.datetime(2025, 11, 22, 5, 45, 29), 'result': '0.035833609715959155', 'result_long': None, 'result_double': None}] Qualite : 0.035833609715959155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28781891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781891_22-11-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28781891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781891_22-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28781905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28781910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781917, 'pht': 3726}}" where mtr_portfolio_id = 28781891 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28781891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612976, 0.035833609715959155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28781891_22-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28781905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28781906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28781907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28781908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28781909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28781910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28781911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28781912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28781913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28781914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28781916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28781917, '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 = 28782456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098185, 'mtr_portfolio_id': 28782456, 'created_at': datetime.datetime(2025, 11, 22, 5, 46, 1), 'result': '0.04768955718593448', 'result_long': None, 'result_double': None}] Qualite : 0.04768955718593448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28782456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782456_22-11-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28782456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782456_22-11-2025_05_46_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28782474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28782475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28782476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28782477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28782478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28782479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28782480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28782481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28782482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28782483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28782484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28782485, 'pht': 3726}}" where mtr_portfolio_id = 28782456 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28782456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612977, 0.04768955718593448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782456_22-11-2025_05_46_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28782474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28782475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28782476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28782477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28782478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28782479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28782480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28782481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28782482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28782483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28782484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28782485, '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 = 28782958 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098186, 'mtr_portfolio_id': 28782958, 'created_at': datetime.datetime(2025, 11, 22, 5, 46, 8), 'result': '0.040973688468925275', 'result_long': None, 'result_double': None}] Qualite : 0.040973688468925275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28782958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782958_22-11-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28782958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782958_22-11-2025_05_46_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28783012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783020, 'pht': 3726}}" where mtr_portfolio_id = 28782958 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28782958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612978, 0.040973688468925275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28782958_22-11-2025_05_46_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783009, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783011, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28783012, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783020, '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 = 28783677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098187, 'mtr_portfolio_id': 28783677, 'created_at': datetime.datetime(2025, 11, 22, 5, 46, 31), 'result': '0.04018341259032875', 'result_long': None, 'result_double': None}] Qualite : 0.04018341259032875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28783677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28783677_22-11-2025_05_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28783677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28783677_22-11-2025_05_46_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28783689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783700, 'pht': 3726}}" where mtr_portfolio_id = 28783677 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28783677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612979, 0.04018341259032875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28783677_22-11-2025_05_46_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28783689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28783690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28783691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28783692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28783693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28783694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28783695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28783696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28783697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28783698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28783699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28783700, '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 = 28784303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098188, 'mtr_portfolio_id': 28784303, 'created_at': datetime.datetime(2025, 11, 22, 5, 47), 'result': '0.046182022269233625', 'result_long': None, 'result_double': None}] Qualite : 0.046182022269233625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28784303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28784303_22-11-2025_05_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28784303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28784303_22-11-2025_05_47_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28784345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28784346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28784347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28784348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28784349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28784350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28784351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28784352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28784353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28784354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28784355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28784356, 'pht': 3726}}" where mtr_portfolio_id = 28784303 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28784303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612980, 0.046182022269233625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28784303_22-11-2025_05_47_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28784345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28784346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28784347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28784348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28784349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28784350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28784351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28784352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28784353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28784354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28784355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28784356, '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 = 28785019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098189, 'mtr_portfolio_id': 28785019, 'created_at': datetime.datetime(2025, 11, 22, 5, 47, 30), 'result': '0.02542529129057517', 'result_long': None, 'result_double': None}] Qualite : 0.02542529129057517 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28785019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785019_22-11-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28785019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785019_22-11-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785042, 'pht': 3726}}" where mtr_portfolio_id = 28785019 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28785019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612981, 0.02542529129057517, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785019_22-11-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785042, '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 = 28785594 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098190, 'mtr_portfolio_id': 28785594, 'created_at': datetime.datetime(2025, 11, 22, 5, 47, 59), 'result': '0.043947978781802184', 'result_long': None, 'result_double': None}] Qualite : 0.043947978781802184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28785594 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785594_22-11-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28785594 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785594_22-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785641, 'pht': 3726}}" where mtr_portfolio_id = 28785594 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28785594 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612982, 0.043947978781802184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28785594_22-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28785629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28785630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28785631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28785632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28785633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28785634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28785635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28785636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28785638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28785639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28785640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28785641, '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 = 28786209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098191, 'mtr_portfolio_id': 28786209, 'created_at': datetime.datetime(2025, 11, 22, 5, 48, 28), 'result': '0.04057633319423265', 'result_long': None, 'result_double': None}] Qualite : 0.04057633319423265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28786209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28786209_22-11-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28786209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28786209_22-11-2025_05_48_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28786242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28786243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28786244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28786245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28786246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28786247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28786248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28786249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28786250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28786251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28786252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28786253, 'pht': 3726}}" where mtr_portfolio_id = 28786209 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28786209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612983, 0.04057633319423265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28786209_22-11-2025_05_48_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28786242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28786243, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28786244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28786245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28786246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28786247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28786248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28786249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28786250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28786251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28786252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28786253, '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 = 28787989 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098192, 'mtr_portfolio_id': 28787989, 'created_at': datetime.datetime(2025, 11, 22, 5, 48, 57), 'result': '0.0440527489004153', 'result_long': None, 'result_double': None}] Qualite : 0.0440527489004153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28787989 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28787989_22-11-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28787989 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28787989_22-11-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28787993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28787994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28787995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28787996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28787997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28787998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28787999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788004, 'pht': 3726}}" where mtr_portfolio_id = 28787989 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28787989 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612984, 0.0440527489004153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28787989_22-11-2025_05_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28787993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28787994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28787995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28787996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28787997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28787998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28787999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788004, '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 = 28788401 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098193, 'mtr_portfolio_id': 28788401, 'created_at': datetime.datetime(2025, 11, 22, 5, 49, 28), 'result': '0.033364134519190715', 'result_long': None, 'result_double': None}] Qualite : 0.033364134519190715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28788401 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788401_22-11-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28788401 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788401_22-11-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28788415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788426, 'pht': 3726}}" where mtr_portfolio_id = 28788401 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28788401 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612985, 0.033364134519190715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788401_22-11-2025_05_49_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28788415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788420, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788426, '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 = 28788916 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098194, 'mtr_portfolio_id': 28788916, 'created_at': datetime.datetime(2025, 11, 22, 5, 49, 57), 'result': '0.03668911382594767', 'result_long': None, 'result_double': None}] Qualite : 0.03668911382594767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28788916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788916_22-11-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28788916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788916_22-11-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788947, 'pht': 3726}}" where mtr_portfolio_id = 28788916 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28788916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612986, 0.03668911382594767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28788916_22-11-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28788935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28788936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28788938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28788939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28788940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28788941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28788942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28788943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28788944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28788945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28788946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28788947, '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 = 28789530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098195, 'mtr_portfolio_id': 28789530, 'created_at': datetime.datetime(2025, 11, 22, 5, 50, 28), 'result': '0.02428933841386063', 'result_long': None, 'result_double': None}] Qualite : 0.02428933841386063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28789530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789530_22-11-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28789530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789530_22-11-2025_05_50_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28789544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28789545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28789546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28789547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28789548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28789549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28789550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28789551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28789552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28789553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28789554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28789555, 'pht': 3726}}" where mtr_portfolio_id = 28789530 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28789530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612987, 0.02428933841386063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28789530_22-11-2025_05_50_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28789544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28789545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28789546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28789547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28789548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28789549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28789550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28789551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28789552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28789553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28789554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28789555, '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 = 28790022 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098196, 'mtr_portfolio_id': 28790022, 'created_at': datetime.datetime(2025, 11, 22, 5, 51, 1), 'result': '0.028506055171372273', 'result_long': None, 'result_double': None}] Qualite : 0.028506055171372273 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28790022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790022_22-11-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28790022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790022_22-11-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28790052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790057, 'pht': 3726}}" where mtr_portfolio_id = 28790022 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28790022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612988, 0.028506055171372273, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790022_22-11-2025_05_51_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790046, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790049, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28790052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790057, '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 = 28790907 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098197, 'mtr_portfolio_id': 28790907, 'created_at': datetime.datetime(2025, 11, 22, 5, 51, 10), 'result': '0.0369677194028174', 'result_long': None, 'result_double': None}] Qualite : 0.0369677194028174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28790907 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790907_22-11-2025_05_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28790907 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790907_22-11-2025_05_51_13.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28790936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790947, 'pht': 3726}}" where mtr_portfolio_id = 28790907 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28790907 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612989, 0.0369677194028174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28790907_22-11-2025_05_51_13.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28790936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28790937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28790938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28790939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28790940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28790941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28790942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28790943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28790944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28790945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28790946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28790947, '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 = 28791305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098198, 'mtr_portfolio_id': 28791305, 'created_at': datetime.datetime(2025, 11, 22, 5, 51, 30), 'result': '0.03460683584508467', 'result_long': None, 'result_double': None}] Qualite : 0.03460683584508467 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28791305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791305_22-11-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28791305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791305_22-11-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28791376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791384, 'pht': 3726}}" where mtr_portfolio_id = 28791305 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28791305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612990, 0.03460683584508467, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791305_22-11-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28791376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791384, '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 = 28791819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098199, 'mtr_portfolio_id': 28791819, 'created_at': datetime.datetime(2025, 11, 22, 5, 52), 'result': '0.042896001870192345', 'result_long': None, 'result_double': None}] Qualite : 0.042896001870192345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28791819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791819_22-11-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28791819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791819_22-11-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28791889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791903, 'pht': 3726}}" where mtr_portfolio_id = 28791819 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28791819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612991, 0.042896001870192345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28791819_22-11-2025_05_52_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28791889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28791891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28791892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28791893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28791895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28791896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28791897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28791899, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28791900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28791901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28791902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28791903, '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 = 28792331 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098200, 'mtr_portfolio_id': 28792331, 'created_at': datetime.datetime(2025, 11, 22, 5, 52, 28), 'result': '0.04507697534719032', 'result_long': None, 'result_double': None}] Qualite : 0.04507697534719032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28792331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792331_22-11-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28792331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792331_22-11-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792392, 'pht': 3726}}" where mtr_portfolio_id = 28792331 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28792331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612992, 0.04507697534719032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792331_22-11-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792382, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792385, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792392, '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 = 28792948 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098201, 'mtr_portfolio_id': 28792948, 'created_at': datetime.datetime(2025, 11, 22, 5, 52, 59), 'result': '0.031297051214615575', 'result_long': None, 'result_double': None}] Qualite : 0.031297051214615575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28792948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792948_22-11-2025_05_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28792948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792948_22-11-2025_05_53_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792983, 'pht': 3726}}" where mtr_portfolio_id = 28792948 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28792948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612993, 0.031297051214615575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28792948_22-11-2025_05_53_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28792972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28792973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28792974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28792975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28792976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28792977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28792978, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28792979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28792980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28792981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28792982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28792983, '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 = 28793668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098202, 'mtr_portfolio_id': 28793668, 'created_at': datetime.datetime(2025, 11, 22, 5, 53, 28), 'result': '0.040160262134514874', 'result_long': None, 'result_double': None}] Qualite : 0.040160262134514874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28793668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28793668_22-11-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28793668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28793668_22-11-2025_05_53_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28793682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28793683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28793684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28793685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28793686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28793687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28793688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28793689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28793690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28793691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28793692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28793693, 'pht': 3726}}" where mtr_portfolio_id = 28793668 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28793668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612994, 0.040160262134514874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28793668_22-11-2025_05_53_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28793682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28793683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28793684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28793685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28793686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28793687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28793688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28793689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28793690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28793691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28793692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28793693, '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 = 28795149 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098203, 'mtr_portfolio_id': 28795149, 'created_at': datetime.datetime(2025, 11, 22, 5, 54), 'result': '0.07583547936142786', 'result_long': None, 'result_double': None}] Qualite : 0.07583547936142786 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28795149 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795149_22-11-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28795149 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795149_22-11-2025_05_54_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795167, 'pht': 3726}}" where mtr_portfolio_id = 28795149 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28795149 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612995, 0.07583547936142786, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795149_22-11-2025_05_54_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795167, '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 = 28795444 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098204, 'mtr_portfolio_id': 28795444, 'created_at': datetime.datetime(2025, 11, 22, 5, 54, 26), 'result': '0.038372750444051834', 'result_long': None, 'result_double': None}] Qualite : 0.038372750444051834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28795444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795444_22-11-2025_05_54_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28795444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795444_22-11-2025_05_54_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795472, 'pht': 3726}}" where mtr_portfolio_id = 28795444 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28795444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612996, 0.038372750444051834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28795444_22-11-2025_05_54_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28795461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28795462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28795463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28795464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28795465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28795466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28795467, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28795468, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28795469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28795470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28795471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28795472, '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 = 28796125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4098205, 'mtr_portfolio_id': 28796125, 'created_at': datetime.datetime(2025, 11, 22, 5, 54, 58), 'result': '0.05811374332416799', 'result_long': None, 'result_double': None}] Qualite : 0.05811374332416799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28796125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_22-11-2025_05_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28796125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_22-11-2025_05_55_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796145, 'pht': 3726}}" where mtr_portfolio_id = 28796125 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28796125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612997, 0.05811374332416799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796125_22-11-2025_05_55_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796145, '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 = 28796456 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4094520, 'mtr_portfolio_id': 28796456, 'created_at': datetime.datetime(2025, 11, 21, 22, 2, 59), 'result': '0.05881788051054562', 'result_long': None, 'result_double': None}] Qualite : 0.05881788051054562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28796456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796456_21-11-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28796456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796456_21-11-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796475, 'pht': 3726}}" where mtr_portfolio_id = 28796456 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28796456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17612998, 0.05881788051054562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796456_21-11-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796464, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28796465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796475, '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 = 28796841 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 = 28796841 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 = 28796841 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28796841 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 = 28796841 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 = 28796841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796841_21-11-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28796841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28796841_21-11-2025_22_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28796926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28796927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28796928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28796929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28796930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28796931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28796932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28796933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28796934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28796935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28796936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28796937, 'pht': 3726}}" where mtr_portfolio_id = 28796841 and dashboard_run_id = 2635270 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28797506 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4094800, 'mtr_portfolio_id': 28797506, 'created_at': datetime.datetime(2025, 11, 21, 22, 32, 58), 'result': '0.04754175093468124', 'result_long': None, 'result_double': None}] Qualite : 0.04754175093468124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28797506 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28797506_21-11-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28797506 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28797506_21-11-2025_22_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28797521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28797522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28797523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28797524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28797525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28797526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28797527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28797528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28797529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28797530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28797531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28797532, 'pht': 3726}}" where mtr_portfolio_id = 28797506 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28797506 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613000, 0.04754175093468124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28797506_21-11-2025_22_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28797521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28797522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28797523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28797524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28797525, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28797526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28797527, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28797528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28797529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28797530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28797531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28797532, '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 = 28798187 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095009, 'mtr_portfolio_id': 28798187, 'created_at': datetime.datetime(2025, 11, 21, 22, 46, 57), 'result': '0.03185326389717688', 'result_long': None, 'result_double': None}] Qualite : 0.03185326389717688 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28798187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798187_21-11-2025_22_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28798187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798187_21-11-2025_22_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28798228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28798230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798236, 'pht': 3726}}" where mtr_portfolio_id = 28798187 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28798187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613001, 0.03185326389717688, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798187_21-11-2025_22_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28798228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28798230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798236, '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 = 28798918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095254, 'mtr_portfolio_id': 28798918, 'created_at': datetime.datetime(2025, 11, 21, 23, 2, 58), 'result': '0.016430658654896593', 'result_long': None, 'result_double': None}] Qualite : 0.016430658654896593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28798918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798918_21-11-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28798918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798918_21-11-2025_23_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799001, 'pht': 3726}}" where mtr_portfolio_id = 28798918 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28798918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613002, 0.016430658654896593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28798918_21-11-2025_23_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28798990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28798991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28798992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28798993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28798994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28798995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28798996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28798997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28798998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28798999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799001, '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 = 28799873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095530, 'mtr_portfolio_id': 28799873, 'created_at': datetime.datetime(2025, 11, 21, 23, 17), 'result': '0.05446550836587586', 'result_long': None, 'result_double': None}] Qualite : 0.05446550836587586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28799873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28799873_21-11-2025_23_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28799873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28799873_21-11-2025_23_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28799905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28799907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28799908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28799911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28799912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28799913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28799914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28799915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28799916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28799917, 'pht': 3726}}" where mtr_portfolio_id = 28799873 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28799873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613003, 0.05446550836587586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28799873_21-11-2025_23_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28799905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28799906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28799907, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28799908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28799909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28799911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28799912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28799913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28799914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28799915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28799916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28799917, '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 = 28800538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095699, 'mtr_portfolio_id': 28800538, 'created_at': datetime.datetime(2025, 11, 21, 23, 33), 'result': '0.04207063170037936', 'result_long': None, 'result_double': None}] Qualite : 0.04207063170037936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28800538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28800538_21-11-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28800538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28800538_21-11-2025_23_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28800568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28800569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28800570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28800571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28800572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28800573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28800574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28800575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28800576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28800577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28800578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28800579, 'pht': 3726}}" where mtr_portfolio_id = 28800538 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28800538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613004, 0.04207063170037936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28800538_21-11-2025_23_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28800568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28800569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28800570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28800571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28800572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28800573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28800574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28800575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28800576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28800577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28800578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28800579, '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 = 28801087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095842, 'mtr_portfolio_id': 28801087, 'created_at': datetime.datetime(2025, 11, 21, 23, 48, 58), 'result': '0.02875893213527529', 'result_long': None, 'result_double': None}] Qualite : 0.02875893213527529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28801087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801087_21-11-2025_23_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28801087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801087_21-11-2025_23_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801123, 'pht': 3726}}" where mtr_portfolio_id = 28801087 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28801087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613005, 0.02875893213527529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801087_21-11-2025_23_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801123, '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 = 28801831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4095990, 'mtr_portfolio_id': 28801831, 'created_at': datetime.datetime(2025, 11, 22, 1, 1, 27), 'result': '0.046816169974065486', 'result_long': None, 'result_double': None}] Qualite : 0.046816169974065486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28801831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801831_22-11-2025_01_01_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28801831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801831_22-11-2025_01_01_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801863, 'pht': 3726}}" where mtr_portfolio_id = 28801831 and dashboard_run_id = 2635270 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28801831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17613006, 0.046816169974065486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28801831_22-11-2025_01_01_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28801848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28801849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28801850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28801852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28801853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28801855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28801856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28801857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28801859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28801860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28801861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28801863, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28762662,28763044,28763533,28763781,28764719,28765064,28765712,28765950,28766408,28766709,28769436,28769662,28769961,28770522,28773043,28773245,28773755,28774293,28774855,28778960,28779599,28780075,28780517,28781135,28781891,28782456,28782958,28783677,28784303,28785019,28785594,28786209,28787989,28788401,28788916,28789530,28790022,28790907,28791305,28791819,28792331,28792948,28793668,28795149,28795444,28796125,28796456,28796841,28797506,28798187,28798918,28799873,28800538,28801087,28801831) result : ((1395438397,), (1395438400,), (1395438429,), (1395438430,), (1395438431,), (1395438433,), (1395438434,), (1395438450,), (1395438452,), (1395438454,), (1395438485,), (1395438486,), (1395438487,), (1395438489,), (1395438513,), (1395438515,), (1395438516,), (1395438520,), (1395438541,), (1395438543,), (1395438545,), (1395438569,), (1395438570,), (1395438571,), (1395438573,), (1395438596,), (1395438598,), (1395438602,), (1395438608,), (1395438671,), (1395438675,), (1395438695,), (1395438710,), (1395438743,), (1395438813,), (1395438814,), (1395438815,), (1395438817,), (1395438820,), (1395438824,), (1395438838,), (1395438840,), (1395438843,), (1395438848,), (1395438863,), (1395438865,), (1395438890,), (1395438927,), (1395439153,), (1395439157,), (1395439162,), (1395439166,), (1395439169,), (1395439172,), (1395439176,), (1395439177,), (1395439180,), (1395439183,), (1395439223,), (1395439218,), (1395439219,), (1395439220,), (1395439259,), (1395439267,), (1395439269,), (1395439271,), (1395439337,), (1395439370,), (1395439405,), (1395439438,), (1395439474,), (1395439586,), (1395439587,), (1395439588,), (1395439591,), (1395439835,), (1395439866,), (1395439898,), (1395439952,), (1395439954,), (1395439988,), (1395440022,), (1395440057,), (1395440089,), (1395440262,), (1395440302,), (1395440307,), (1395440308,), (1395440310,), (1395440416,), (1395440448,), (1395440470,), (1395440478,), (1395440526,), (1395440527,), (1395440529,), (1395440532,), (1395440535,), (1395440539,), (1395440547,), (1395440549,), (1395440551,), (1395440555,), (1395440561,), (1395440574,), (1395440575,), (1395440577,), (1395440581,), (1395440586,), (1395440600,), (1395440601,), (1395440602,), (1395440603,), (1395440622,), (1395440624,), (1395440652,), (1395440677,), (1395440681,), (1395440855,), (1395440844,), (1395440846,), (1395440848,), (1395440851,), (1395440869,), (1395440871,), (1395440918,), (1395440919,), (1395440920,), (1395440943,), (1395440945,), (1395440947,), (1395440950,), (1395440953,), (1395440954,), (1395440960,), (1395440965,), (1395440966,), (1395440967,), (1395440994,), (1395441017,), (1395441037,), (1395441066,), (1395441067,), (1395441068,), (1395441070,), (1395441090,), (1395441092,), (1395441096,), (1395441115,), (1395441117,), (1395441119,), (1395441123,), (1395441127,), (1395441143,), (1395441144,), (1395441145,), (1395441162,), (1395441164,), (1395441166,), (1395441197,), (1395441198,), (1395441201,), (1395441205,), (1395441208,), (1395441209,), (1395441218,), (1395441220,), (1395441222,), (1395441224,), (1395441227,), (1395441253,), (1395441251,), (1395441252,), (1395441271,), (1395441273,), (1395441275,), (1395441279,), (1395441301,), (1395441302,), (1395441303,), (1395441306,), (1395441327,), (1395441329,), (1395441363,), (1395441364,), (1395441365,), (1395441368,), (1395441452,), (1395441453,), (1395441454,), (1395441456,), (1395441458,), (1395441484,), (1395441486,), (1395441488,), (1395441492,), (1395441509,), (1395441510,), (1395441531,), (1395441533,), (1395441537,), (1395441541,), (1395441544,), (1395441556,), (1395441585,), (1395441586,), (1395441587,), (1395441590,), (1395441604,), (1395441629,), (1395441630,), (1395441633,), (1395441638,), (1395441661,), (1395441664,), (1395441667,), (1395441670,), (1395441675,), (1395441700,), (1395442761,), (1395442779,), (1395442781,), (1395442784,), (1395442788,), (1395442791,), (1395442798,), (1395442800,), (1395442802,), (1395442836,), (1395442840,), (1395442841,), (1395442858,), (1395442862,), (1395442915,), (1395442916,), (1395442917,), (1395442919,), (1395442934,), (1395442935,), (1395442940,), (1395442942,), (1395442946,), (1395442950,), (1395443183,), (1395443194,), (1395443196,), (1395443270,), (1395443306,), (1395443317,), (1395443338,), (1395443339,), (1395443340,), (1395443343,), (1395443347,), (1395443350,), (1395443373,), (1395443374,), (1395443376,), (1395443379,), (1395443388,), (1395443391,), (1395443403,), (1395443404,), (1395443405,), (1395443422,), (1395443423,), (1395443425,), (1395443428,), (1395443431,), (1395443433,), (1395443441,), (1395443442,), (1395443443,), (1395443447,), (1395443449,), (1395443453,), (1395443458,), (1395443460,), (1395443463,), (1395443475,), (1395443473,), (1395443498,), (1395443500,), (1395443504,), (1395443509,), (1395443514,), (1395443518,), (1395443528,), (1395443530,), (1395443533,), (1395443538,), (1395443542,), (1395443565,), (1395443574,), (1395443576,), (1395443580,), (1395443611,), (1395443617,), (1395443640,), (1395443642,), (1395443643,), (1395443647,), (1395443651,), (1395443662,), (1395443664,), (1395443666,), (1395443669,), (1395443674,), (1395443711,), (1395443712,), (1395443714,), (1395443718,), (1395443720,), (1395443723,), (1395443738,), (1395443741,), (1395443743,), (1395443746,), (1395443748,), (1395443751,), (1395443758,), (1395443759,), (1395443761,), (1395443765,), (1395443767,), (1395443768,), (1395443779,), (1395443780,), (1395443782,), (1395443786,), (1395443794,), (1395443797,), (1395443798,), (1395443807,), (1395443814,), (1395443822,), (1395443825,), (1395443828,), (1395443832,), (1395443834,), (1395443837,), (1395446104,), (1395446348,), (1395446385,), (1395446389,), (1395446394,), (1395446440,), (1395446471,), (1395446792,), (1395446794,), (1395446796,), (1395446800,), (1395446803,), (1395446806,), (1395446817,), (1395446819,), (1395446821,), (1395446846,), (1395446847,), (1395446848,), (1395446853,), (1395446892,), (1395446893,), (1395446894,), (1395446914,), (1395446915,), (1395446916,), (1395446918,), (1395446929,), (1395446931,), (1395446933,), (1395446936,), (1395446959,), (1395446960,), (1395446961,), (1395446964,), (1395446996,), (1395446982,), (1395446984,), (1395446985,), (1395446988,), (1395446992,), (1395447018,), (1395447019,), (1395447020,), (1395447038,), (1395447039,), (1395447040,), (1395447042,), (1395447046,), (1395447049,), (1395447063,), (1395447065,), (1395447068,), (1395447073,), (1395447077,), (1395447081,), (1395447085,), (1395447086,), (1395447087,), (1395447088,), (1395447089,), (1395447091,), (1395447094,), (1395447097,), (1395447173,), (1395447174,), (1395447223,), (1395447224,), (1395447225,), (1395447237,), (1395447239,), (1395447241,), (1395447244,), (1395447250,), (1395447413,), (1395447440,), (1395447471,), (1395447504,), (1395447802,), (1395447803,), (1395447804,), (1395447807,), (1395447833,), (1395447868,), (1395448038,), (1395448072,), (1395448095,), (1395448098,), (1395448311,), (1395448312,), (1395448313,), (1395448315,), (1395448318,), (1395448321,), (1395448444,), (1395448474,), (1395448504,), (1395448540,), (1395448577,), (1395448610,), (1395448732,), (1395448761,), (1395448794,), (1395448930,), (1395448962,), (1395448997,), (1395449039,), (1395449074,), (1395449108,), (1395449284,), (1395449137,), (1395449139,), (1395449158,), (1395449198,), (1395449239,), (1395449466,), (1395449468,), (1395449470,), (1395449473,), (1395449476,), (1395449642,), (1395449672,), (1395449704,), (1395449745,), (1395449749,), (1395449750,), (1395449752,), (1395450003,), (1395450005,), (1395450159,), (1395450180,), (1395450157,), (1395450158,), (1395450177,), (1395450178,), (1395450236,), (1395450237,), (1395450239,), (1395450267,), (1395450268,), (1395450270,), (1395450985,), (1395467004,), (1395467006,), (1395467060,), (1395467063,), (1395467064,), (1395467065,), (1395467085,), (1395467103,), (1395467104,), (1395467106,), (1395467109,), (1395467135,), (1395467137,), (1395467138,), (1395467178,), (1395467204,), (1395467234,), (1395467435,), (1395467456,), (1395467457,), (1395467458,), (1395467460,), (1395467483,), (1395467484,), (1395467485,), (1395467487,), (1395467490,), (1395467493,), (1395467513,), (1395467515,), (1395467517,), (1395467520,), (1395467523,), (1395467526,), (1395467543,), (1395467544,), (1395467545,), (1395467547,), (1395467565,), (1395467566,), (1395467567,), (1395467569,), (1395467573,), (1395467593,), (1395467596,), (1395467620,), (1395467622,), (1395467631,), (1395467638,), (1395467742,), (1395467744,), (1395467745,), (1395467771,), (1395467773,), (1395467775,), (1395467777,), (1395467804,), (1395467805,), (1395467807,), (1395467809,), (1395467812,), (1395467840,), (1395467843,), (1395467846,), (1395467854,), (1395467855,), (1395467860,), (1395467834,), (1395467835,), (1395467837,), (1395467864,), (1395467865,), (1395467867,), (1395467871,), (1395467875,), (1395467878,), (1395467891,), (1395467893,), (1395467895,), (1395467897,), (1395467901,), (1395467904,), (1395467946,), (1395467947,), (1395467949,), (1395467953,), (1395467957,), (1395467960,), (1395467972,), (1395467973,), (1395467974,), (1395467975,), (1395467978,), (1395467980,), (1395467982,), (1395467986,), (1395468009,), (1395468010,), (1395468011,), (1395468013,), (1395468016,), (1395468066,), (1395468068,), (1395468071,), (1395468081,), (1395468084,), (1395468122,), (1395468123,), (1395468124,), (1395468131,), (1395468137,), (1395468337,), (1395468340,), (1395468343,), (1395468346,), (1395468350,), (1395468378,), (1395468381,), (1395468382,), (1395468384,), (1395468388,), (1395468391,), (1395468425,), (1395468426,), (1395468427,), (1395468586,), (1395468588,), (1395468590,), (1395468592,), (1395468595,), (1395468598,), (1395468613,), (1395468615,), (1395468617,), (1395468660,), (1395468662,), (1395468665,), (1395468673,), (1395468676,), (1395468678,), (1395468689,), (1395468691,), (1395468693,), (1395468697,), (1395468699,), (1395468701,), (1395468705,), (1395468709,), (1395468713,), (1395468748,), (1395468741,), (1395468743,), (1395468745,), (1395468825,), (1395468826,), (1395468827,), (1395468829,), (1395468832,), (1395469121,), (1395469127,), (1395469129,), (1395469133,), (1395469166,), (1395469168,), (1395469173,), (1395469176,), (1395469179,), (1395469182,), (1395469195,), (1395469198,), (1395469200,), (1395469203,), (1395469207,), (1395469232,), (1395469234,), (1395469243,), (1395469263,), (1395469273,), (1395469280,), (1395469326,), (1395469334,), (1395469343,), (1395469530,), (1395469531,), (1395469723,), (1395469724,), (1395469826,), (1395469858,), (1395469890,), (1395469921,), (1395470039,), (1395470041,), (1395470043,), (1395470046,), (1395470150,), (1395470151,), (1395470152,), (1395470154,), (1395470157,), (1395470194,), (1395470196,), (1395470198,), (1395470200,), (1395470203,), (1395470239,), (1395470243,), (1395470247,), (1395470252,), (1395470256,), (1395470313,), (1395478088,), (1395478384,), (1395478439,), (1395478441,), (1395478443,), (1395478446,), (1395478453,), (1395478459,), (1395478613,), (1395478617,), (1395478629,), (1395478631,), (1395478735,), (1395478736,), (1395478737,), (1395478739,), (1395478743,), (1395478761,), (1395478792,), (1395478824,), (1395478857,), (1395478891,), (1395478908,), (1395478938,), (1395478939,), (1395478941,), (1395478944,), (1395478951,), (1395478986,), (1395479112,), (1395479147,), (1395479178,), (1395479214,), (1395479283,), (1395479286,), (1395479290,), (1395479294,), (1395479297,), (1395479302,), (1395479340,), (1395479319,), (1395479320,), (1395479321,), (1395479324,), (1395479335,), (1395479353,), (1395479355,), (1395479357,), (1395479360,), (1395479385,), (1395479387,), (1395479389,), (1395479392,), (1395479396,), (1395479399,), (1395479478,), (1395479486,), (1395479497,), (1395479499,), (1395479503,), (1395479558,), (1395479559,), (1395479560,), (1395479562,), (1395479565,), (1395479569,), (1395479587,), (1395479589,), (1395479590,), (1395479592,), (1395479614,), (1395479615,), (1395479616,), (1395479617,), (1395479624,), (1395479632,), (1395479654,), (1395479655,), (1395479656,), (1395479657,), (1395479659,), (1395479686,), (1395479688,), (1395479691,), (1395479695,), (1395479699,), (1395479701,), (1395479711,), (1395479712,), (1395479714,), (1395479716,), (1395479718,), (1395479731,), (1395479733,), (1395479736,), (1395479912,), (1395479923,), (1395479924,), (1395479926,), (1395479928,), (1395479931,), (1395479947,), (1395479949,), (1395479955,), (1395479966,), (1395479992,), (1395479993,), (1395479994,), (1395479996,), (1395480000,), (1395480004,), (1395480169,), (1395480174,), (1395480180,), (1395480186,), (1395480236,), (1395480225,), (1395480229,), (1395480235,), (1395480278,), (1395480279,), (1395480280,), (1395480282,), (1395480285,), (1395480422,), (1395480455,), (1395480467,), (1395480477,), (1395480482,), (1395480493,), (1395480516,), (1395480520,), (1395480524,), (1395480528,), (1395480531,), (1395480534,), (1395480538,), (1395480539,), (1395480540,), (1395480541,), (1395480549,), (1395480561,), (1395480572,), (1395480592,), (1395480593,), (1395480595,), (1395480597,), (1395480600,), (1395480732,), (1395480743,), (1395480747,), (1395480755,), (1395480797,), (1395480798,), (1395480800,), (1395480802,), (1395480847,), (1395480848,), (1395480849,), (1395480851,), (1395480873,), (1395480892,), (1395480894,), (1395480899,), (1395480987,), (1395480993,), (1395481006,), (1395481074,), (1395481078,), (1395481090,), (1395481095,), (1395481100,), (1395481116,), (1395481119,), (1395481130,), (1395481144,), (1395481151,), (1395481154,), (1395481158,), (1395481159,), (1395481160,), (1395481162,), (1395481164,), (1395481170,), (1395481176,), (1395481178,), (1395481181,), (1395481214,), (1395481206,), (1395481207,), (1395481208,), (1395481209,), (1395481212,), (1395481236,), (1395481238,), (1395481244,), (1395481285,), (1395481287,), (1395481289,), (1395481291,), (1395481295,), (1395481318,), (1395481324,), (1395481326,), (1395481329,), (1395481333,), (1395481352,), (1395481353,), (1395481354,), (1395481374,), (1395481376,), (1395481378,), (1395481381,), (1395481385,), (1395481389,), (1395481474,), (1395481529,), (1395481538,), (1395481823,), (1395481855,), (1395481889,), (1395481926,), (1395481963,), (1395482177,), (1395482178,), (1395482180,), (1395482183,), (1395482187,), (1395482190,), (1395482205,), (1395482207,), (1395482236,), (1395482256,), (1395482261,), (1395482263,), (1395482267,), (1395482271,), (1395482279,), (1395482347,), (1395482348,), (1395482349,), (1395482350,), (1395482406,), (1395482408,), (1395482411,), (1395482415,), (1395482419,), (1395482422,), (1395482435,), (1395482436,), (1395482438,), (1395482440,), (1395482443,), (1395482453,), (1395482454,), (1395482455,), (1395482457,), (1395482461,), (1395482855,), (1395482881,), (1395482883,), (1395482887,), (1395482912,), (1395482918,), (1395482927,), (1395482956,), (1395482964,), (1395482909,), (1395483031,), (1395483037,), (1395483079,), (1395483560,), (1395483565,), (1395483566,), (1395483568,), (1395483572,), (1395483575,), (1395483619,), (1395483620,), (1395483622,), (1395483625,), (1395483628,), (1395483630,), (1395483684,), (1395483685,), (1395483687,), (1395483689,), (1395483691,), (1395483707,), (1395483709,), (1395484222,), (1395488752,), (1395540853,), (1395541361,), (1395541393,), (1395542504,), (1395542552,), (1395542554,), (1395542558,), (1395542574,), (1395542618,), (1395542997,), (1395543079,), (1395543162,), (1395543219,), (1395543278,), (1395543343,), (1395543761,), (1395543785,), (1395543797,), (1395543800,), (1395544198,), (1395544258,), (1395544323,), (1395544385,), (1395544451,), (1395544777,), (1395544779,), (1395544791,), (1395544826,), (1395545057,), (1395545058,), (1395545084,), (1395545093,), (1395545103,), (1395545107,), (1395545138,), (1395545141,), (1395545144,), (1395545147,), (1395545150,), (1395545480,), (1395545512,), (1395545542,), (1395545575,), (1395545610,), (1395545642,), (1395545785,), (1395545817,), (1395545850,), (1395545939,), (1395545940,), (1395545942,), (1395545946,), (1395545951,), (1395545955,), (1395546174,), (1395547173,), (1395547175,), (1395547177,), (1395547224,), (1395547226,), (1395547228,), (1395547230,), (1395547234,), (1395547238,), (1395547257,), (1395547259,), (1395547261,), (1395547301,), (1395547303,), (1395547305,), (1395547308,), (1395547310,), (1395547312,), (1395547337,), (1395547340,), (1395547343,), (1395547347,), (1395547348,), (1395547350,), (1395547353,), (1395547366,), (1395547368,), (1395547370,), (1395547372,), (1395547375,), (1395547378,), (1395547403,), (1395547405,), (1395547406,), (1395547407,), (1395547410,), (1395547447,), (1395547448,), (1395547449,), (1395547451,), (1395547486,), (1395547488,), (1395547490,), (1395547492,), (1395547495,), (1395547498,), (1395547526,), (1395547528,), (1395547529,), (1395547530,), (1395547532,), (1395547553,), (1395547555,), (1395547558,), (1395547563,), (1395547568,), (1395547572,), (1395547604,), (1395547607,), (1395547610,), (1395547613,), (1395547616,), (1395547633,), (1395547635,), (1395547638,), (1395547642,), (1395547645,), (1395547647,), (1395547683,), (1395547687,), (1395547692,), (1395547696,), (1395547699,), (1395547702,), (1395547707,), (1395547708,), (1395547709,), (1395547710,), (1395547711,), (1395547712,), (1395547718,), (1395547722,), (1395547729,), (1395547732,), (1395547735,), (1395547736,), (1395547741,), (1395547743,), (1395547745,), (1395547763,), (1395547750,), (1395547753,), (1395547757,), (1395547759,), (1395547770,), (1395547772,), (1395547774,), (1395547777,), (1395547781,), (1395547785,), (1395547808,), (1395547809,), (1395547810,), (1395547812,), (1395547824,), (1395547825,), (1395547826,), (1395547828,), (1395547831,), (1395547834,), (1395547849,), (1395547850,), (1395547851,), (1395547871,), (1395547873,), (1395547876,), (1395547880,), (1395547884,), (1395547907,), (1395547916,), (1395547924,), (1395547944,), (1395547945,), (1395547946,), (1395547947,), (1395547952,), (1395547954,), (1395548006,), (1395548008,), (1395548010,), (1395548014,), (1395548018,), (1395548021,), (1395548029,), (1395548030,), (1395548032,), (1395548036,), (1395548068,), (1395548101,), (1395548230,), (1395548263,), (1395548296,), (1395548603,), (1395548633,), (1395548666,), (1395548682,), (1395548685,), (1395548699,), (1395548861,), (1395548863,), (1395548891,), (1395548923,), (1395548933,), (1395548975,), (1395548977,), (1395548978,), (1395548980,), (1395549001,), (1395549782,), (1395549823,), (1395549859,), (1395549891,), (1395549926,), (1395550543,), (1395550472,), (1395550508,), (1395550956,), (1395550987,), (1395551022,), (1395551047,), (1395551441,), (1395551443,), (1395551446,), (1395551471,), (1395551474,), (1395551477,), (1395551480,), (1395551483,), (1395551485,), (1395552041,), (1395552043,), (1395552232,), (1395552264,), (1395552294,), (1395552326,), (1395552344,), (1395552366,), (1395552512,), (1395552544,), (1395552577,), (1395552611,), (1395552958,), (1395552959,), (1395552960,), (1395552962,), (1395552965,), (1395552977,), (1395553188,), (1395553191,), (1395553211,), (1395553215,), (1395553219,), (1395553366,), (1395553398,), (1395553431,), (1395553465,), (1395553505,), (1395553540,), (1395553818,), (1395553819,), (1395553821,), (1395553825,), (1395553828,), (1395553852,), (1395553980,), (1395554009,), (1395554021,), (1395554022,), (1395554045,), (1395554075,), (1395554092,), (1395554110,), (1395554173,), (1395554215,), (1395554614,), (1395554532,), (1395554570,), (1395554602,), (1395555111,), (1395555141,), (1395555472,), (1395555474,), (1395555475,), (1395555477,), (1395555945,), (1395555977,), (1395555985,), (1395556010,), (1395556048,), (1395556071,), (1395556116,), (1395556118,), (1395556120,), (1395556123,), (1395556148,), (1395556149,), (1395556150,), (1395556152,), (1395556158,), (1395556162,), (1395556424,), (1395556434,), (1395556443,), (1395556453,), (1395556456,), (1395556458,), (1395556469,), (1395556470,), (1395556471,), (1395556472,), (1395556480,), (1395556482,), (1395556484,), (1395556488,), (1395556492,), (1395556496,), (1395556504,), (1395556506,), (1395556508,), (1395556511,), (1395556514,), (1395556532,), (1395556534,), (1395556537,), (1395556548,), (1395556553,), (1395556578,), (1395556580,), (1395556582,), (1395556585,), (1395556589,), (1395556591,), (1395556609,), (1395556610,), (1395556611,), (1395556613,), (1395556655,), (1395556657,), (1395556659,), (1395556662,), (1395556665,), (1395557137,), (1395557169,), (1395557180,), (1395557182,), (1395557184,), (1395557185,), (1395556999,), (1395557030,), (1395557063,), (1395557099,), (1395557285,), (1395557350,), (1395557415,), (1395557473,), (1395557512,), (1395557711,), (1395557712,), (1395557713,), (1395557715,), (1395557718,), (1395557730,), (1395557732,), (1395557735,), (1395557739,), (1395557742,), (1395557745,), (1395557756,), (1395557759,), (1395557762,), (1395557765,), (1395557767,), (1395557769,), (1395557773,), (1395557777,), (1395557812,), (1395558005,), (1395558018,), (1395558036,), (1395558047,), (1395558051,), (1395558055,), (1395558104,), (1395558105,), (1395558156,), (1395558355,), (1395558384,), (1395558416,), (1395558448,), (1395558480,), (1395558515,), (1395558685,), (1395558686,), (1395558687,), (1395558700,), (1395558983,), (1395558985,), (1395558987,), (1395558989,), (1395559019,), (1395559026,), (1395559027,), (1395559029,), (1395559293,), (1395559326,), (1395559359,), (1395559394,), (1395559433,), (1395559468,), (1395560823,), (1395560766,), (1395560794,), (1395561101,), (1395561103,), (1395561105,), (1395561116,), (1395561185,), (1395561729,), (1395562143,), (1395562144,), (1395562156,), (1395562191,), (1395562422,), (1395562423,), (1395562425,), (1395562432,), (1395562466,), (1395562503,), (1395562576,), (1395562577,), (1395562578,), (1395562580,), (1395562965,), (1395563001,), (1395563032,), (1395563065,), (1395563102,), (1395563135,), (1395563260,), (1395563290,), (1395563320,), (1395563356,), (1395563469,), (1395563499,), (1395563531,), (1395563564,), (1395563591,), (1395563593,), (1395563628,), (1395563687,), (1395564305,), (1395564453,), (1395564484,), (1395564550,), (1395564608,), (1395564650,), (1395564932,), (1395564953,), (1395564955,), (1395564957,), (1395564961,), (1395565704,), (1395565740,), (1395565773,), (1395565805,), (1395565841,), (1395565875,), (1395565999,), (1395566032,), (1395566068,), (1395566103,), (1395566340,), (1395566375,), (1395566829,), (1395566864,), (1395566897,), (1395567832,), (1395567902,), (1395568136,), (1395568141,), (1395566272,), (1395566274,), (1395566276,), (1395566308,), (1395566511,), (1395566521,), (1395566524,), (1395566543,), (1395566601,), (1395566666,), (1395567582,), (1395567647,), (1395567710,), (1395567772,), (1395568089,), (1395568090,), (1395568094,), (1395568095,), (1395568101,), (1395568102,), (1395568109,), (1395568110,), (1395568115,), (1395568116,), (1395568256,), (1395568307,), (1395568355,), (1395568398,), (1395568443,), (1395568578,), (1395568579,), (1395568580,), (1395568582,), (1395568584,), (1395568614,), (1395568615,), (1395568616,), (1395568618,), (1395568857,), (1395568895,), (1395568927,), (1395568962,), (1395569001,), (1395569035,), (1395569332,), (1395569334,), (1395569336,), (1395569338,), (1395570204,), (1395570237,), (1395570271,), (1395570292,), (1395570310,), (1395570323,), (1395570376,), (1395570377,), (1395570379,), (1395570381,), (1395570386,), (1395570393,), (1395570400,), (1395570404,), (1395570425,), (1395570427,), (1395570429,), (1395570432,), (1395570436,), (1395570438,), (1395570602,), (1395570632,), (1395570675,), (1395570708,), (1395570749,), (1395570784,), (1395570909,), (1395570948,), (1395570983,), (1395571015,), (1395571057,), (1395571211,), (1395571249,), (1395571285,), (1395571300,), (1395571304,), (1395571837,), (1395571525,), (1395571562,), (1395571623,), (1395571693,), (1395571769,), (1395572143,), (1395572152,), (1395572182,), (1395572220,), (1395572253,), (1395572369,), (1395572370,), (1395572384,), (1395572413,), (1395572451,), (1395572803,), (1395572804,), (1395572805,), (1395572806,), (1395572809,), (1395573001,), (1395573017,), (1395573033,), (1395573040,), (1395573050,), (1395573086,), (1395573088,), (1395573090,), (1395573093,), (1395573097,), (1395573099,), (1395573122,), (1395573136,), (1395573140,), (1395573163,), (1395573180,), (1395573181,), (1395573182,), (1395573205,), (1395573206,), (1395573209,), (1395573213,), (1395573217,), (1395573221,), (1395573247,), (1395573249,), (1395573253,), (1395573257,), (1395573261,), (1395573266,), (1395573274,), (1395573277,), (1395573648,), (1395573679,), (1395573709,), (1395574158,), (1395574708,), (1395574705,), (1395574706,), (1395574707,), (1395574771,), (1395574808,), (1395574839,), (1395574873,), (1395574911,), (1395574948,), (1395575289,), (1395575324,), (1395575354,), (1395575389,), (1395575423,), (1395575916,), (1395575950,), (1395575990,), (1395576030,), (1395576072,), (1395576109,), (1395576274,), (1395576332,), (1395576396,), (1395576463,), (1395576511,), (1395576576,), (1395576583,), (1395576604,), (1395576645,), (1395576679,), (1395576829,), (1395576847,), (1395576852,), (1395576854,), (1395576858,), (1395577061,), (1395577071,), (1395577104,), (1395577623,), (1395577652,), (1395577687,), (1395577717,), (1395577897,), (1395577926,), (1395577932,), (1395577934,), (1395577937,), (1395577940,), (1395578207,), (1395578241,), (1395578273,), (1395578307,), (1395578675,), (1395578676,), (1395578677,), (1395578679,), (1395578682,), (1395578875,), (1395578923,), (1395578989,), (1395579036,), (1395579457,), (1395579494,), (1395579524,), (1395579561,), (1395579593,), (1395579997,), (1395580027,), (1395580067,), (1395580106,), (1395580142,), (1395580178,), (1395580301,), (1395580331,), (1395580362,), (1395580364,), (1395580368,), (1395580369,), (1395580724,), (1395580722,), (1395580723,), (1395580760,), (1395580761,), (1395580762,), (1395580765,), (1395580772,), (1395580776,), (1395580794,), (1395580795,), (1395580796,), (1395580798,), (1395580836,), (1395580838,), (1395580840,), (1395580843,), (1395580846,), (1395580987,), (1395581023,), (1395581058,), (1395581099,), (1395581136,), (1395581183,), (1395581185,), (1395581186,), (1395581189,), (1395581193,), (1395581242,), (1395581252,), (1395581254,), (1395581257,), (1395581261,), (1395581279,), (1395581280,), (1395581282,), (1395581285,), (1395581289,), (1395581293,), (1395581320,), (1395581323,), (1395581327,), (1395581330,), (1395581334,), (1395581337,), (1395581361,), (1395581363,), (1395581364,), (1395581366,), (1395581368,), (1395581370,), (1395581379,), (1395581382,), (1395581385,), (1395581387,), (1395581391,), (1395581393,), (1395581394,), (1395581396,), (1395581398,), (1395581408,), (1395581411,), (1395581415,), (1395581423,), (1395581427,), (1395581430,), (1395581457,), (1395581458,), (1395581466,), (1395581468,), (1395581472,), (1395581473,), (1395581477,), (1395581478,), (1395581482,), (1395581483,), (1395581485,), (1395581486,), (1395581513,), (1395581517,), (1395581522,), (1395581525,), (1395581528,), (1395581532,), (1395581537,), (1395581539,), (1395581552,), (1395581556,), (1395581559,), (1395581563,), (1395581605,), (1395581634,), (1395581637,), (1395581638,), (1395581640,), (1395581642,), (1395581643,), (1395581645,), (1395581698,), (1395581706,), (1395582206,), (1395582242,), (1395582368,), (1395582402,), (1395582431,), (1395582460,), (1395581593,), (1395581596,), (1395581599,), (1395581601,), (1395581603,), (1395581608,), (1395581612,), (1395581616,), (1395581620,), (1395581627,), (1395581680,), (1395581683,), (1395581685,), (1395581690,), (1395581765,), (1395581799,), (1395581832,), (1395581885,), (1395581915,), (1395581946,), (1395582073,), (1395582106,), (1395582136,), (1395582168,), (1395582511,), (1395582512,), (1395582516,), (1395582524,), (1395582725,), (1395582730,), (1395582731,), (1395582733,), (1395582773,), (1395583269,), (1395583304,), (1395583338,), (1395583373,), (1395583409,), (1395583448,), (1395583664,), (1395583696,), (1395583774,), (1395583838,), (1395583907,), (1395584274,), (1395584297,), (1395584315,), (1395584323,), (1395584357,), (1395584412,), (1395584413,), (1395584414,), (1395584416,), (1395584426,), (1395584463,), (1395584709,), (1395584713,), (1395584733,), (1395584745,), (1395584759,), (1395584790,), (1395584798,), (1395584802,), (1395584804,), (1395584806,), (1395584826,), (1395584827,), (1395584829,), (1395584832,), (1395584834,), (1395584837,), (1395584845,), (1395584847,), (1395584849,), (1395584851,), (1395584855,), (1395584859,), (1395584861,), (1395584865,), (1395584894,), (1395584883,), (1395584885,), (1395584887,), (1395584890,), (1395584916,), (1395584920,), (1395584922,), (1395584924,), (1395584928,), (1395584945,), (1395584946,), (1395584947,), (1395584949,), (1395584953,), (1395584957,), (1395584976,), (1395584977,), (1395584978,), (1395584980,), (1395585007,), (1395585009,), (1395585011,), (1395585013,), (1395585041,), (1395585042,), (1395585043,), (1395585045,), (1395585046,), (1395585076,), (1395585078,), (1395585080,), (1395585082,), (1395585113,), (1395585115,), (1395585118,), (1395585123,), (1395585128,), (1395585133,), (1395585196,), (1395585198,), (1395585200,), (1395585204,), (1395585208,), (1395585212,), (1395585221,), (1395585222,), (1395585223,), (1395585225,), (1395585229,), (1395585232,), (1395585238,), (1395585241,), (1395585244,), (1395585252,), (1395585273,), (1395585274,), (1395585275,), (1395585277,), (1395585297,), (1395585308,), (1395585309,), (1395585329,), (1395585341,), (1395585344,), (1395585365,), (1395585378,), (1395585388,), (1395585393,), (1395585398,), (1395585411,), (1395585413,), (1395585415,), (1395585418,), (1395585422,), (1395585425,), (1395585446,), (1395585447,), (1395585448,), (1395585450,), (1395585504,), (1395585505,), (1395585507,), (1395585514,), (1395585553,), (1395590427,), (1395590429,), (1395590471,), (1395590473,), (1395590476,), (1395590480,), (1395590484,), (1395590487,), (1395590494,), (1395590495,), (1395590500,), (1395590502,), (1395590504,), (1395590508,), (1395590512,), (1395590528,), (1395590538,), (1395590547,), (1395590552,), (1395590555,), (1395590576,), (1395590577,), (1395590578,), (1395590579,), (1395590582,), (1395590618,), (1395590628,), (1395590629,), (1395590631,), (1395590633,), (1395590636,), (1395590648,), (1395590650,), (1395590652,), (1395590655,), (1395590684,), (1395590685,), (1395590686,), (1395590688,), (1395590692,), (1395590696,), (1395590713,), (1395590714,), (1395590718,), (1395590722,), (1395590745,), (1395590746,), (1395590747,), (1395590749,), (1395590752,), (1395590756,), (1395590772,), (1395590773,), (1395590774,), (1395590775,), (1395590801,), (1395590802,), (1395590804,), (1395590808,), (1395590812,), (1395590815,), (1395590826,), (1395590827,), (1395590828,), (1395590829,), (1395590831,), (1395590832,), (1395590834,), (1395590879,), (1395590869,), (1395590870,), (1395590871,), (1395590873,), (1395590876,), (1395590892,), (1395590893,), (1395590894,), (1395590896,), (1395590899,), (1395590911,), (1395590913,), (1395590915,), (1395590917,), (1395590919,), (1395590939,), (1395590940,), (1395590941,), (1395590943,), (1395590944,), (1395590967,), (1395590968,), (1395590969,), (1395590971,), (1395590973,), (1395590976,), (1395590999,), (1395591000,), (1395591001,), (1395591003,), (1395591007,), (1395591029,), (1395591039,), (1395591042,), (1395591045,), (1395591049,), (1395591065,), (1395591066,), (1395591067,), (1395591091,), (1395591481,), (1395591515,), (1395591545,), (1395591575,), (1395591607,), (1395591638,), (1395592023,), (1395592084,), (1395592145,), (1395592207,), (1395592712,), (1395592777,), (1395592851,), (1395592917,), (1395592966,), (1395592973,), (1395593214,), (1395593241,), (1395593254,), (1395593261,), (1395593290,), (1395593409,), (1395593410,), (1395593411,), (1395593412,), (1395593433,), (1395593434,), (1395593435,), (1395593437,), (1395593440,), (1395593459,), (1395593460,), (1395593461,), (1395593462,), (1395593495,), (1395593512,), (1395593514,), (1395593515,), (1395593517,), (1395593484,), (1395593485,), (1395593487,), (1395593490,), (1395593493,), (1395593520,), (1395593521,), (1395593524,), (1395593527,), (1395593544,), (1395593545,), (1395593546,), (1395593548,), (1395593551,), (1395593554,), (1395593576,), (1395593578,), (1395593579,), (1395593581,), (1395593583,), (1395593596,), (1395593598,), (1395593600,), (1395593603,), (1395593605,), (1395593610,), (1395593622,), (1395593625,), (1395593631,), (1395593643,), (1395593648,), (1395593665,), (1395593666,), (1395593667,), (1395593669,), (1395593673,), (1395593676,), (1395593700,), (1395593705,), (1395593719,), (1395593735,), (1395593756,), (1395593758,), (1395593759,), (1395593761,), (1395593764,), (1395593766,), (1395593782,), (1395593783,), (1395593785,), (1395593788,), (1395593791,), (1395593793,), (1395593802,), (1395593803,), (1395593804,), (1395593805,), (1395593807,), (1395593808,), (1395593810,), (1395593813,), (1395593815,), (1395593817,), (1395593832,), (1395593834,), (1395593880,), (1395593906,), (1395593909,), (1395593977,), (1395593983,), (1395593989,), (1395593993,), (1395593997,), (1395594012,), (1395594014,), (1395594017,), (1395594026,), (1395594040,), (1395594044,), (1395594110,), (1395594113,), (1395594117,), (1395594145,), (1395594180,), (1395594185,), (1395594188,), (1395594189,), (1395594190,), (1395594191,), (1395594192,), (1395594254,), (1395594196,), (1395594207,), (1395594232,), (1395594237,), (1395594249,), (1395594262,), (1395594263,), (1395594264,), (1395594266,), (1395594428,), (1395594429,), (1395594430,), (1395594432,), (1395594435,), (1395594437,), (1395594454,), (1395594462,), (1395594488,), (1395594497,), (1395594501,), (1395594504,), (1395594529,), (1395594531,), (1395594534,), (1395594537,), (1395594539,), (1395594550,), (1395594564,), (1395594567,), (1395594570,), (1395594573,), (1395594576,), (1395594658,), (1395594690,), (1395594720,), (1395594735,), (1395594736,), (1395594739,), (1395594741,), (1395594745,), (1395594748,), (1395594763,), (1395594764,), (1395594765,), (1395594788,), (1395595000,), (1395595001,), (1395595020,), (1395595022,), (1395595039,), (1395595046,), (1395595077,), (1395595090,), (1395595099,), (1395595104,), (1395595107,), (1395595120,), (1395595122,), (1395595124,), (1395595126,), (1395595130,), (1395595338,), (1395595344,), (1395595351,), (1395595353,), (1395595356,), (1395595588,), (1395595634,), (1395595679,), (1395595711,), (1395595744,), (1395596019,), (1395596050,), (1395596091,), (1395596124,), (1395596158,), (1395596195,), (1395596324,), (1395596346,), (1395596348,), (1395596361,), (1395596698,), (1395596703,), (1395596705,), (1395596760,), (1395596770,), (1395596683,), (1395596688,), (1395596692,), (1395596714,), (1395596715,), (1395596718,), (1395596719,), (1395596721,), (1395596722,), (1395596725,), (1395596726,), (1395596729,), (1395596730,), (1395596732,), (1395596733,), (1395596738,), (1395596739,), (1395596741,), (1395596747,), (1395596756,), (1395596775,), (1395596776,), (1395596777,), (1395596779,), (1395596782,), (1395596785,), (1395597043,), (1395597074,), (1395597106,), (1395597138,), (1395597169,), (1395597633,), (1395597667,), (1395597674,), (1395597703,), (1395597966,), (1395597974,), (1395597981,), (1395597989,), (1395597993,), (1395597996,), (1395598011,), (1395598013,), (1395598015,), (1395598018,), (1395598040,), (1395600176,), (1395600089,), (1395600529,), (1395600530,), (1395600531,), (1395600557,), (1395600630,), (1395600660,), (1395600692,), (1395600724,), (1395600760,), (1395600805,), (1395601062,), (1395601064,), (1395601066,), (1395601069,), (1395601073,), (1395601093,), (1395601094,), (1395601095,), (1395601097,), (1395601100,), (1395601133,), (1395601134,), (1395601135,), (1395601145,), (1395601149,), (1395601174,), (1395601175,), (1395601176,), (1395601178,), (1395601603,), (1395601719,), (1395601750,), (1395601753,), (1395601756,), (1395601760,), (1395601965,), (1395601982,), (1395601983,), (1395601984,), (1395601991,), (1395602120,), (1395602122,), (1395602123,), (1395602124,), (1395602127,), (1395602423,), (1395602454,), (1395602489,), (1395602521,), (1395602556,), (1395602560,), (1395602677,), (1395602679,), (1395602727,), (1395602729,), (1395602730,), (1395602735,), (1395602739,), (1395602631,), (1395602632,), (1395602638,), (1395602643,), (1395602741,), (1395602743,), (1395602747,), (1395602751,), (1395602773,), (1395602776,), (1395602781,), (1395602784,), (1395602788,), (1395602791,), (1395602847,), (1395602848,), (1395602849,), (1395602850,), (1395602912,), (1395602913,), (1395602914,), (1395602921,), (1395602926,), (1395602960,), (1395602966,), (1395602969,), (1395602972,), (1395602974,), (1395602976,), (1395603004,), (1395603005,), (1395603008,), (1395603020,), (1395603041,), (1395603042,), (1395603043,), (1395603045,), (1395603048,), (1395603050,), (1395603083,), (1395603084,), (1395603085,), (1395603087,), (1395603139,), (1395603140,), (1395603143,), (1395603144,), (1395603148,), (1395603151,), (1395603194,), (1395603199,), (1395603207,), (1395603212,), (1395603265,), (1395603267,), (1395603271,), (1395603274,), (1395603373,), (1395603411,), (1395603445,), (1395603495,), (1395603535,), (1395603540,), (1395603557,), (1395603558,), (1395603591,), (1395603640,), (1395603672,), (1395603756,), (1395603791,), (1395603847,), (1395603904,), (1395603952,), (1395604143,), (1395604129,), (1395604135,), (1395604137,), (1395604140,), (1395604163,), (1395604165,), (1395604167,), (1395604174,), (1395604205,), (1395604207,), (1395604209,), (1395604212,), (1395604215,), (1395604218,), (1395604313,), (1395604314,), (1395604316,), (1395604319,), (1395604362,), (1395604364,), (1395604366,), (1395604369,), (1395604372,), (1395604376,), (1395604402,), (1395604403,), (1395604404,), (1395604406,), (1395604410,), (1395604455,), (1395604457,), (1395604463,), (1395604468,), (1395604471,), (1395604499,), (1395604554,), (1395604566,), (1395604568,), (1395604569,), (1395604666,), (1395604668,), (1395604670,), (1395604673,), (1395604676,), (1395604713,), (1395604714,), (1395604717,), (1395604719,), (1395604732,), (1395604816,), (1395604817,), (1395604818,), (1395604820,), (1395604876,), (1395604878,), (1395604880,), (1395604897,), (1395604917,), (1395604921,), (1395604974,), (1395604978,), (1395604979,), (1395604981,), (1395605775,), (1395605842,), (1395605909,), (1395606661,), (1395606550,), (1395606577,), (1395606618,), (1395606707,), (1395606710,), (1395606712,), (1395606714,), (1395606717,), (1395606738,), (1395606744,), (1395606745,), (1395606747,), (1395606750,), (1395606768,), (1395606769,), (1395606771,), (1395606775,), (1395606780,), (1395606793,), (1395606794,), (1395606795,), (1395606797,), (1395606801,), (1395606805,), (1395606873,), (1395606908,), (1395606940,), (1395606974,), (1395607119,), (1395607120,), (1395607122,), (1395607137,), (1395607146,), (1395607182,), (1395607184,), (1395607185,), (1395607194,), (1395607200,), (1395607204,), (1395607256,), (1395607260,), (1395607264,), (1395607269,), (1395607272,), (1395607462,), (1395607473,), (1395607474,), (1395607476,), (1395607480,), (1395607507,), (1395607570,), (1395607572,), (1395607589,), (1395607623,), (1395607661,), (1395607721,), (1395607722,), (1395607723,), (1395607725,), (1395607729,), (1395607733,), (1395607795,), (1395607798,), (1395607800,), (1395607810,), (1395607820,), (1395607856,), (1395607858,), (1395607860,), (1395607863,), (1395607867,), (1395607870,), (1395607880,), (1395607882,), (1395607883,), (1395607885,), (1395607937,), (1395607919,), (1395607921,), (1395607923,), (1395607932,), (1395607973,), (1395607974,), (1395607975,), (1395607985,), (1395607993,), (1395608268,), (1395608271,), (1395608279,), (1395608307,), (1395608395,), (1395608397,), (1395608399,), (1395608401,), (1395608404,), (1395608407,), (1395608427,), (1395608428,), (1395608432,), (1395608434,), (1395608437,), (1395608453,), (1395608454,), (1395608456,), (1395608460,), (1395608464,), (1395608466,), (1395608491,), (1395608492,), (1395608493,), (1395608494,), (1395608497,), (1395608501,), (1395608504,), (1395608509,), (1395608513,), (1395608550,), (1395608557,), (1395608561,), (1395608581,), (1395608586,), (1395608589,), (1395608619,), (1395608621,), (1395608690,), (1395608691,), (1395608692,), (1395608711,), (1395608712,), (1395608713,), (1395608715,), (1395608724,), (1395608727,), (1395608765,), (1395608767,), (1395608769,), (1395608771,), (1395608802,), (1395608810,), (1395608812,), (1395608813,), (1395608817,), (1395608822,), (1395608843,), (1395608844,), (1395608845,), (1395608847,), (1395608887,), (1395608869,), (1395608873,), (1395608878,), (1395608881,), (1395608884,), (1395608909,), (1395608910,), (1395608911,), (1395608913,), (1395608918,), (1395608937,), (1395608938,), (1395608939,), (1395608940,), (1395608980,), (1395608985,), (1395608987,), (1395608989,), (1395609001,), (1395609005,), (1395609029,), (1395609036,), (1395609074,), (1395609136,), (1395609197,), (1395609667,), (1395609698,), (1395609748,), (1395610373,), (1395610408,), (1395610456,), (1395610653,), (1395610687,), (1395610717,), (1395610721,), (1395610725,), (1395610841,), (1395610842,), (1395610844,), (1395610847,), (1395610849,), (1395610993,), (1395610994,), (1395610995,), (1395610997,), (1395611000,), (1395611003,), (1395611027,), (1395611031,), (1395611033,), (1395611036,), (1395611061,), (1395611063,), (1395611065,), (1395611095,), (1395611326,), (1395612525,), (1395612544,), (1395612546,), (1395612547,), (1395612583,), (1395612599,), (1395612662,), (1395612891,), (1395613049,), (1395613051,), (1395613053,), (1395613056,), (1395613260,), (1395613261,), (1395613279,), (1395613293,), (1395613299,), (1395613302,), (1395613311,), (1395613354,), (1395613382,), (1395613385,), (1395613397,), (1395613409,), (1395613415,), (1395613457,), (1395613475,), (1395613477,), (1395613497,), (1395613638,), (1395613531,), (1395613532,), (1395613538,), (1395613568,), (1395613603,), (1395613889,), (1395613891,), (1395613893,), (1395613896,), (1395613920,), (1395613921,), (1395613922,), (1395613924,), (1395613926,), (1395613928,), (1395613940,), (1395613944,), (1395613947,), (1395613998,), (1395613999,), (1395614000,), (1395614002,), (1395614011,), (1395614133,), (1395614170,), (1395614203,), (1395614237,), (1395614272,), (1395614465,), (1395614483,), (1395614496,), (1395614499,), (1395614573,), (1395615355,), (1395616171,), (1395616170,), (1395616526,), (1395616527,), (1395616528,), (1395616553,), (1395616554,), (1395616555,), (1395616557,), (1395616559,), (1395616574,), (1395616575,), (1395616579,), (1395616586,), (1395616609,), (1395616610,), (1395616615,), (1395616619,), (1395616622,), (1395616708,), (1395616709,), (1395616710,), (1395616733,), (1395616736,), (1395616757,), (1395616758,), (1395616759,), (1395616761,), (1395616785,), (1395616786,), (1395616787,), (1395616825,), (1395616827,), (1395616831,), (1395616836,), (1395616851,), (1395616881,), (1395616882,), (1395616895,), (1395616897,), (1395616924,), (1395616922,), (1395616923,), (1395616968,), (1395616969,), (1395617329,), (1395617330,), (1395617331,), (1395617333,), (1395617337,), (1395617350,), (1395617351,), (1395617395,), (1395617396,), (1395617397,), (1395617399,), (1395617423,), (1395617425,), (1395617427,), (1395617430,), (1395617449,), (1395617451,), (1395617453,), (1395617456,), (1395617477,), (1395617478,), (1395617479,), (1395617682,), (1395617714,), (1395617745,), (1395617776,), (1395617809,), (1395618171,), (1395618201,), (1395618236,), (1395618272,), (1395618657,), (1395618689,), (1395618719,), (1395618865,), (1395618868,), (1395618870,), (1395618872,), (1395618876,), (1395618910,), (1395618911,), (1395618912,), (1395618914,), (1395619293,), (1395619333,), (1395619369,), (1395619512,), (1395619579,), (1395619644,), (1395619710,), (1395620313,), (1395620220,), (1395621160,), (1395621201,), (1395621209,), (1395621461,), (1395621500,), (1395621531,), (1395621561,), (1395621958,), (1395622004,), (1395622038,), (1395622068,), (1395622098,), (1395622118,), (1395622145,), (1395622146,), (1395622147,), (1395622149,), (1395622152,), (1395622154,), (1395622168,), (1395622169,), (1395622170,), (1395622200,), (1395622201,), (1395622203,), (1395622207,), (1395622211,), (1395622214,), (1395622227,), (1395622228,), (1395622230,), (1395622233,), (1395622246,), (1395622248,), (1395622250,), (1395622273,), (1395622274,), (1395622275,), (1395622277,), (1395622281,), (1395622301,), (1395622302,), (1395622305,), (1395622309,), (1395622313,), (1395622316,), (1395622322,), (1395622327,), (1395622329,), (1395622332,), (1395622336,), (1395622340,), (1395622343,), (1395622352,), (1395622354,), (1395622358,), (1395622366,), (1395622377,), (1395622389,), (1395622391,), (1395622393,), (1395622410,), (1395622412,), (1395622415,), (1395622417,), (1395622443,), (1395622437,), (1395622438,), (1395622439,), (1395622440,), (1395622779,), (1395622821,), (1395622882,), (1395622945,), (1395623663,), (1395623693,), (1395623728,), (1395623767,), (1395623774,), (1395623857,), (1395623892,), (1395623924,), (1395623957,), (1395624013,), (1395624083,), (1395624654,), (1395624690,), (1395624722,), (1395624754,), (1395624787,), (1395624823,), (1395625002,), (1395625004,), (1395625009,), (1395625261,), (1395625265,), (1395625270,), (1395625303,), (1395625330,), (1395625334,), (1395625389,), (1395625390,), (1395625391,), (1395625393,), (1395625397,), (1395625413,), (1395625415,), (1395625419,), (1395625432,), (1395625451,), (1395625568,), (1395625599,), (1395625631,), (1395625655,), (1395625853,), (1395625871,), (1395625881,), (1395625884,), (1395625888,), (1395625892,), (1395626151,), (1395626188,), (1395626189,), (1395626502,), (1395626533,), (1395626565,), (1395627277,), (1395627310,), (1395627328,), (1395627332,), (1395627333,), (1395627359,), (1395627204,), (1395627229,), (1395627262,), (1395627267,), (1395627467,), (1395627499,), (1395627532,), (1395627564,), (1395627599,), (1395627996,), (1395628031,), (1395628064,), (1395628100,), (1395628236,), (1395628314,), (1395628377,), (1395628437,), (1395628990,), (1395629020,), (1395629060,), (1395629118,), (1395629289,), (1395629320,), (1395629352,), (1395629383,), (1395629796,), (1395629840,), (1395629901,), (1395629961,), (1395630022,), (1395630163,), (1395630196,), (1395630643,), (1395630673,), (1395630701,), (1395630732,), (1395630766,), (1395631135,), (1395631165,), (1395631199,), (1395631208,), (1395631212,), (1395631216,), (1395631271,), (1395631309,), (1395631339,), (1395631370,), (1395631403,), (1395631437,), (1395631608,), (1395631639,), (1395631743,), (1395631744,), (1395631748,), (1395631750,), (1395631753,), (1395631766,), (1395631792,), (1395631793,), (1395631798,), (1395631829,), (1395632034,), (1395632085,), (1395632090,), (1395632093,), (1395632196,), (1395632189,), (1395632190,), (1395632191,), (1395632193,), (1395632235,), (1395632236,), (1395632237,), (1395632239,), (1395632256,), (1395632257,), (1395632260,), (1395632262,), (1395632265,), (1395632284,), (1395632285,), (1395632286,), (1395632287,), (1395632316,), (1395632323,), (1395632325,), (1395632328,), (1395632331,), (1395632333,), (1395632709,), (1395632767,), (1395632800,), (1395632835,), (1395632877,), (1395632917,), (1395633216,), (1395633250,), (1395633423,), (1395633451,), (1395633483,), (1395633513,), (1395633547,), (1395633724,), (1395633727,), (1395633728,), (1395633729,), (1395633732,), (1395633736,), (1395633890,), (1395633920,), (1395633967,), (1395634029,), (1395634442,), (1395634475,), (1395634504,), (1395634535,), (1395634575,), (1395634607,), (1395634774,), (1395634806,), (1395634836,), (1395634867,), (1395634998,), (1395635000,), (1395635001,), (1395635020,), (1395635024,), (1395635029,), (1395635097,), (1395635127,), (1395635159,), (1395635483,), (1395635399,), (1395635432,), (1395635467,), (1395635480,), (1395635654,), (1395635658,), (1395635676,), (1395635711,), (1395635924,), (1395635926,), (1395635955,), (1395635957,), (1395635959,), (1395635962,), (1395635966,), (1395635984,), (1395635986,), (1395635987,), (1395635990,), (1395635994,), (1395636012,), (1395636013,), (1395636014,), (1395636015,), (1395636020,), (1395636024,), (1395636046,), (1395636047,), (1395636049,), (1395636053,), (1395636056,), (1395636059,), (1395636072,), (1395636073,), (1395636074,), (1395636083,), (1395636085,), (1395636091,), (1395636113,), (1395636114,), (1395636115,), (1395636117,), (1395636121,), (1395636124,), (1395636147,), (1395636149,), (1395636151,), (1395636189,), (1395636194,), (1395636199,), (1395636204,), (1395636207,), (1395637410,), (1395637381,), (1395637585,), (1395637600,), (1395637632,), (1395637645,), (1395637656,), (1395637658,), (1395637693,), (1395637694,), (1395637695,), (1395637725,), (1395637726,), (1395637728,), (1395637731,), (1395637735,), (1395637738,), (1395637752,), (1395637759,), (1395637766,), (1395637777,), (1395637780,), (1395637810,), (1395637813,), (1395637814,), (1395637867,), (1395637870,), (1395637872,), (1395637894,), (1395637895,), (1395637896,), (1395637898,), (1395637901,), (1395637951,), (1395637952,), (1395637953,), (1395637955,), (1395637958,), (1395637961,), (1395638101,), (1395638103,), (1395638249,), (1395638250,), (1395638253,), (1395638256,), (1395638271,), (1395638272,), (1395638301,), (1395638340,), (1395638378,), (1395638773,), (1395638774,), (1395638775,), (1395638969,), (1395638998,), (1395639006,), (1395639024,), (1395639033,), (1395639072,), (1395639076,), (1395639078,), (1395639080,), (1395639083,), (1395639087,), (1395639146,), (1395639150,), (1395639169,), (1395639189,), (1395639191,), (1395639193,), (1395639196,), (1395639107,), (1395639140,), (1395639142,), (1395639208,), (1395639211,), (1395639214,), (1395639217,), (1395639229,), (1395639230,), (1395639233,), (1395639234,), (1395639236,), (1395639240,), (1395639256,), (1395639257,), (1395639259,), (1395639276,), (1395639278,), (1395639281,), (1395639286,), (1395639290,), (1395639295,), (1395639313,), (1395639316,), (1395639320,), (1395639325,), (1395639512,), (1395639542,), (1395639574,), (1395639605,), (1395639639,), (1395639831,), (1395639832,), (1395639836,), (1395639866,), (1395639899,), (1395639935,), (1395640101,), (1395640132,), (1395640142,), (1395640159,), (1395640166,), (1395640171,), (1395640193,), (1395640194,), (1395640195,), (1395640239,), (1395640240,), (1395640241,), (1395640243,), (1395640245,), (1395640248,), (1395640424,), (1395640425,), (1395640429,), (1395640430,), (1395640433,), (1395640435,), (1395640443,), (1395640446,), (1395640479,), (1395640520,), (1395640663,), (1395640700,), (1395640738,), (1395640771,), (1395640803,), (1395640833,), (1395640999,), (1395641001,), (1395641003,), (1395641009,), (1395641262,), (1395641265,), (1395641306,), (1395641359,), (1395641404,), (1395641436,), (1395641644,), (1395641680,), (1395641723,), (1395641755,), (1395641785,), (1395642518,), (1395642519,), (1395642520,), (1395642522,), (1395642759,), (1395642761,), (1395642792,), (1395642836,), (1395642890,), (1395642894,), (1395642897,), (1395642901,), (1395642905,), (1395642908,), (1395642915,), (1395642919,), (1395642921,), (1395642924,), (1395642927,), (1395643154,), (1395643155,), (1395643167,), (1395643201,), (1395643227,), (1395643234,), (1395643286,), (1395643287,), (1395643288,), (1395643290,), (1395643307,), (1395643308,), (1395643309,), (1395643311,), (1395643320,), (1395643334,), (1395643358,), (1395643360,), (1395643363,), (1395643367,), (1395643371,), (1395643374,), (1395643391,), (1395643393,), (1395643395,), (1395643400,), (1395643402,), (1395643405,), (1395643407,), (1395643411,), (1395643415,), (1395643431,), (1395643443,), (1395643454,), (1395643458,), (1395643461,), (1395643464,), (1395643543,), (1395643574,), (1395643609,), (1395643643,), (1395644054,), (1395644057,), (1395644059,), (1395644061,), (1395644062,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21112025': {'nb_upload': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28796125]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] map_info['map_portfolio_photo'] : {28796125: [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170]} final : True mtd_id 4302 list_pids : [1395616924, 1395616897, 1395616895, 1395616882, 1395616881, 1395616851, 1395616836, 1395616831, 1395616827, 1395616825, 1395616787, 1395616786, 1395616785, 1395616761, 1395616759, 1395616758, 1395616757, 1395616736, 1395616733, 1395616710, 1395616709, 1395616708, 1395616622, 1395616619, 1395616615, 1395616610, 1395616609, 1395616586, 1395616579, 1395616575, 1395616574, 1395616559, 1395616557, 1395616555, 1395616554, 1395616553, 1395616528, 1395616527, 1395616526, 1395616170] Looping around the photos to save general results len do output : 1 /28796125Didn'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, '4098205') ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205') ('4302', None, None, None, None, None, None, None, '4098205') ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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, '28796125', 'None', None, None, None, None, '4098205'), ('4302', '28796125', '1395616924', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616897', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616895', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616882', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616881', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616851', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616836', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616831', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616827', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616825', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616787', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616786', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616785', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616761', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616759', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616758', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616757', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616736', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616733', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616710', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616709', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616708', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616622', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616619', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616615', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616610', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616609', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616586', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616579', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616575', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616574', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616559', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616557', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616555', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616554', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616553', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616528', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616527', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616526', None, None, None, None, None, '4098205'), ('4302', '28796125', '1395616170', None, None, None, None, None, '4098205')] time used for this insertion : 0.024096250534057617 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.191283941268921 time spend to save output : 0.024469852447509766 total time spend for step 5 : 5.215753793716431 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 (4098205) 3.03user 2.42system 0:17.14elapsed 31%CPU (0avgtext+0avgdata 170508maxresident)k 736inputs+29136outputs (3major+80237minor)pagefaults 0swaps