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 : 1615536 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 (4127316) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4127316) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936305 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4127316'] with mtr_portfolio_ids : ['28936305'] and first list_photo_ids : [] new path : /proc/1615536/ Name: python3 Umask: 0002 State: R (running) Tgid: 1615536 Ngid: 0 Pid: 1615536 PPid: 1615535 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1615536 NSpid: 1615536 NSpgid: 1614522 NSsid: 1614522 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99828 kB VmRSS: 99828 kB RssAnon: 59904 kB RssFile: 39924 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 87 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1615536', 'Ngid': '0', 'Pid': '1615536', 'PPid': '1615535', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1615536', 'NSpid': '1615536', 'NSpgid': '1614522', 'NSsid': '1614522', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99828 kB', 'VmRSS': '99828 kB', 'RssAnon': '59904 kB', 'RssFile': '39924 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '87'} ('datou_batch_current', '1615536', '1106908', '0', '1106884', '865636', '99828', b'', 'marlene', '4127316') 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 (28936305) 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 (4127316 ) ) 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 (28936305) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1396296847, 'portfolio_id': 28936305}, {'photo_id': 1396296766, 'portfolio_id': 28936305}, {'photo_id': 1396296762, 'portfolio_id': 28936305}, {'photo_id': 1396296750, 'portfolio_id': 28936305}, {'photo_id': 1396296746, 'portfolio_id': 28936305}, {'photo_id': 1396296643, 'portfolio_id': 28936305}, {'photo_id': 1396296615, 'portfolio_id': 28936305}, {'photo_id': 1396296595, 'portfolio_id': 28936305}, {'photo_id': 1396296561, 'portfolio_id': 28936305}, {'photo_id': 1396296526, 'portfolio_id': 28936305}, {'photo_id': 1396296486, 'portfolio_id': 28936305}, {'photo_id': 1396296416, 'portfolio_id': 28936305}, {'photo_id': 1396296414, 'portfolio_id': 28936305}, {'photo_id': 1396296405, 'portfolio_id': 28936305}, {'photo_id': 1396296404, 'portfolio_id': 28936305}, {'photo_id': 1396296372, 'portfolio_id': 28936305}, {'photo_id': 1396296370, 'portfolio_id': 28936305}, {'photo_id': 1396296368, 'portfolio_id': 28936305}, {'photo_id': 1396296259, 'portfolio_id': 28936305}, {'photo_id': 1396296258, 'portfolio_id': 28936305}, {'photo_id': 1396296257, 'portfolio_id': 28936305}, {'photo_id': 1396296098, 'portfolio_id': 28936305}, {'photo_id': 1396296088, 'portfolio_id': 28936305}, {'photo_id': 1396296051, 'portfolio_id': 28936305}, {'photo_id': 1396296015, 'portfolio_id': 28936305}, {'photo_id': 1396296014, 'portfolio_id': 28936305}, {'photo_id': 1396296013, 'portfolio_id': 28936305}, {'photo_id': 1396296001, 'portfolio_id': 28936305}, {'photo_id': 1396295998, 'portfolio_id': 28936305}, {'photo_id': 1396295994, 'portfolio_id': 28936305}, {'photo_id': 1396295991, 'portfolio_id': 28936305}, {'photo_id': 1396295989, 'portfolio_id': 28936305}, {'photo_id': 1396295987, 'portfolio_id': 28936305}, {'photo_id': 1396295953, 'portfolio_id': 28936305}, {'photo_id': 1396295951, 'portfolio_id': 28936305}, {'photo_id': 1396295950, 'portfolio_id': 28936305}, {'photo_id': 1396295949, 'portfolio_id': 28936305}, {'photo_id': 1396295934, 'portfolio_id': 28936305}, {'photo_id': 1396295930, 'portfolio_id': 28936305}, {'photo_id': 1396295927, 'portfolio_id': 28936305}, {'photo_id': 1396295925, 'portfolio_id': 28936305}, {'photo_id': 1396295921, 'portfolio_id': 28936305}, {'photo_id': 1396295900, 'portfolio_id': 28936305}, {'photo_id': 1396295897, 'portfolio_id': 28936305}, {'photo_id': 1396295895, 'portfolio_id': 28936305}, {'photo_id': 1396295894, 'portfolio_id': 28936305}, {'photo_id': 1396295893, 'portfolio_id': 28936305}] map_portfolio_id_photo_id: {28936305: [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893]} ##### 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.01895427703857422 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Nov 27 06:09: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28936305) 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 : 28936305 get user id for portfolio 28936305 get sub ptf for main ptf 28936305, type 3726 and hashtags ['Carton_brun', 'cartonnette', 'Teint_Dans_La_Masse', 'metal', 'flou', 'papier', 'plastique', 'autre_refus', 'environnement', 'mal_croppe', 'Carton_gris', '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`=28936305 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Teint_Dans_La_Masse','metal','flou','papier','plastique','autre_refus','environnement','mal_croppe','Carton_gris','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`=28936305 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Teint_Dans_La_Masse','metal','flou','papier','plastique','autre_refus','environnement','mal_croppe','Carton_gris','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 28936305, 'sub_port_id': 28936323, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651035, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'Carton_gris': {'main_port_id': 28936305, 'sub_port_id': 28936324, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651036, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'plastique': {'main_port_id': 28936305, 'sub_port_id': 28936325, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651037, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'autre_refus': {'main_port_id': 28936305, 'sub_port_id': 28936326, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651038, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'metal': {'main_port_id': 28936305, 'sub_port_id': 28936327, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651039, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'flou': {'main_port_id': 28936305, 'sub_port_id': 28936328, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651040, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 28936305, 'sub_port_id': 28936329, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651041, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'kraft': {'main_port_id': 28936305, 'sub_port_id': 28936330, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651042, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'Carton_brun': {'main_port_id': 28936305, 'sub_port_id': 28936331, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651043, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'environnement': {'main_port_id': 28936305, 'sub_port_id': 28936332, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651044, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'mal_croppe': {'main_port_id': 28936305, 'sub_port_id': 28936333, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651045, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}, 'cartonnette': {'main_port_id': 28936305, 'sub_port_id': 28936334, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651046, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936323 , 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=28936305 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 (28936323) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936324 , 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=28936305 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 (28936324) result : ((1396296032,), (1396296033,), (1396296034,), (1396296035,), (1396296150,), (1396296282,), (1396296463,), (1396296465,), (1396296772,), (1396296911,), (1396301568,), (1396301569,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936325 , 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=28936305 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 (28936325) result : ((1396296039,), (1396296041,), (1396296286,), (1396296502,), (1396296920,), (1396304588,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936326 , 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=28936305 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 (28936326) result : ((1396296149,), (1396301567,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936327 , 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=28936305 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 (28936327) result : ((1396296511,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936328 , 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=28936305 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 (28936328) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936329 , 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=28936305 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 (28936329) result : ((1396296029,), (1396296237,), (1396296239,), (1396296446,), (1396296448,), (1396296450,), (1396296452,), (1396296454,), (1396296770,), (1396296771,), (1396296909,), (1396296910,), (1396296912,), (1396301566,), (1396301629,), (1396301630,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936330 , 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=28936305 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 (28936330) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936331 , 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=28936305 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 (28936331) result : ((1396296037,), (1396296152,), (1396296251,), (1396296252,), (1396296253,), (1396296283,), (1396296489,), (1396296491,), (1396296493,), (1396296915,), (1396296916,), (1396296917,), (1396296918,), (1396296919,), (1396301577,), (1396301578,), (1396301579,), (1396301633,), (1396301634,), (1396301635,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936332 , 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=28936305 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 (28936332) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936333 , 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=28936305 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 (28936333) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28936334 , 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=28936305 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 (28936334) result : ((1396296036,), (1396296151,), (1396296249,), (1396296250,), (1396296476,), (1396296478,), (1396296773,), (1396296913,), (1396296914,), (1396301571,), (1396301573,), (1396301574,), (1396301575,), (1396301631,), (1396301632,), (1396304579,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28936305) result : ((1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,)) 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 (1396295900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28936305 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Teint_Dans_La_Masse','metal','flou','papier','plastique','autre_refus','environnement','mal_croppe','Carton_gris','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`=28936305 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','Teint_Dans_La_Masse','metal','flou','papier','plastique','autre_refus','environnement','mal_croppe','Carton_gris','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 28936305, 'sub_port_id': 28936335, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651047, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'Carton_gris': {'main_port_id': 28936305, 'sub_port_id': 28936336, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651048, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'plastique': {'main_port_id': 28936305, 'sub_port_id': 28936337, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651049, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'autre_refus': {'main_port_id': 28936305, 'sub_port_id': 28936338, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651050, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'metal': {'main_port_id': 28936305, 'sub_port_id': 28936339, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651051, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'flou': {'main_port_id': 28936305, 'sub_port_id': 28936340, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651052, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 28936305, 'sub_port_id': 28936341, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651053, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'kraft': {'main_port_id': 28936305, 'sub_port_id': 28936342, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651054, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'Carton_brun': {'main_port_id': 28936305, 'sub_port_id': 28936343, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651055, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'environnement': {'main_port_id': 28936305, 'sub_port_id': 28936344, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651056, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'mal_croppe': {'main_port_id': 28936305, 'sub_port_id': 28936345, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651057, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}, 'cartonnette': {'main_port_id': 28936305, 'sub_port_id': 28936346, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19651058, 'last_updated_at': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_desc': datetime.datetime(2025, 11, 26, 21, 48, 57), 'last_updated_at_asc': datetime.datetime(2025, 11, 26, 21, 33, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936335,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936323 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936336,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936324 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936337,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936325 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936338,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936326 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936339,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936327 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936340,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936328 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936341,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936329 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936342,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936330 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936343,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936331 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936344,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936332 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936345,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936333 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28936346,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28936334 lien utilise dans velours : https://marlene.fotonower.com/velours/28936335,28936336,28936337,28936338,28936339,28936340,28936341,28936342,28936343,28936344,28936345,28936346?tags=papier,Carton_gris,plastique,autre_refus,metal,flou,Teint_Dans_La_Masse,kraft,Carton_brun,environnement,mal_croppe,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28936305]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] map_info['map_portfolio_photo'] : {28936305: [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893]} final : False mtd_id 4302 list_pids : [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] Looping around the photos to save general results len do output : 1 /28936305. 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, '4127316') ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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, '28936305', "{'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334}", None, None, None, None, '4127316'), ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316')] time used for this insertion : 0.023580312728881836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5814676284790039 time spend to save output : 0.024083375930786133 total time spend for step 1 : 0.60555100440979 step2:final Thu Nov 27 06:09:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28936305) 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 28936305 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1396295900,1396295897,1396295895,1396295894,1396295893,1396295934,1396295930,1396295927,1396295925,1396295921,1396295953,1396295951,1396295950,1396295949,1396296001,1396295998,1396295994,1396295991,1396295989,1396295987,1396296015,1396296014,1396296013,1396296098,1396296051,1396296088,1396296259,1396296258,1396296257,1396296372,1396296370,1396296368,1396296416,1396296414,1396296405,1396296404,1396296615,1396296595,1396296561,1396296526,1396296486,1396296766,1396296762,1396296750,1396296746,1396296643,1396296847); 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([28936305]) Inside saveOutput : final : False verbose : True original output for save of step final : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} new output for save of step final : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] map_info['map_portfolio_photo'] : {28936305: [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893]} final : False mtd_id 4302 list_pids : [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] Looping around the photos to save general results len do output : 47 /1396296847.Didn't retrieve data . /1396296766.Didn't retrieve data . /1396296762.Didn't retrieve data . /1396296750.Didn't retrieve data . /1396296746.Didn't retrieve data . /1396296643.Didn't retrieve data . /1396296615.Didn't retrieve data . /1396296595.Didn't retrieve data . /1396296561.Didn't retrieve data . /1396296526.Didn't retrieve data . /1396296486.Didn't retrieve data . /1396296416.Didn't retrieve data . /1396296414.Didn't retrieve data . /1396296405.Didn't retrieve data . /1396296404.Didn't retrieve data . /1396296372.Didn't retrieve data . /1396296370.Didn't retrieve data . /1396296368.Didn't retrieve data . /1396296259.Didn't retrieve data . /1396296258.Didn't retrieve data . /1396296257.Didn't retrieve data . /1396296098.Didn't retrieve data . /1396296088.Didn't retrieve data . /1396296051.Didn't retrieve data . /1396296015.Didn't retrieve data . /1396296014.Didn't retrieve data . /1396296013.Didn't retrieve data . /1396296001.Didn't retrieve data . /1396295998.Didn't retrieve data . /1396295994.Didn't retrieve data . /1396295991.Didn't retrieve data . /1396295989.Didn't retrieve data . /1396295987.Didn't retrieve data . /1396295953.Didn't retrieve data . /1396295951.Didn't retrieve data . /1396295950.Didn't retrieve data . /1396295949.Didn't retrieve data . /1396295934.Didn't retrieve data . /1396295930.Didn't retrieve data . /1396295927.Didn't retrieve data . /1396295925.Didn't retrieve data . /1396295921.Didn't retrieve data . /1396295900.Didn't retrieve data . /1396295897.Didn't retrieve data . /1396295895.Didn't retrieve data . /1396295894.Didn't retrieve data . /1396295893.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, '4127316') ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 141 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', '28936305', '1396296847', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296766', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296762', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296750', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296746', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296643', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296615', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296595', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296561', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296526', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296486', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296416', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296414', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296405', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296404', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296372', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296370', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296368', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296259', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296258', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296257', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296098', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296088', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296051', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296015', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296014', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296013', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396296001', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295998', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295994', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295991', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295989', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295987', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295953', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295951', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295950', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295949', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295934', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295930', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295927', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295925', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295921', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295900', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295897', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295895', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295894', '0.039186211884971935', None, None, None, None, '4127316'), ('4302', '28936305', '1396295893', '0.039186211884971935', None, None, None, None, '4127316')] time used for this insertion : 0.02524876594543457 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07993817329406738 time spend to save output : 0.027030229568481445 total time spend for step 2 : 0.10696840286254883 step3:velours_tree Thu Nov 27 06:09:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {28936305: [{'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334}]} input_args_next_step : {28936305: ()} output_args : {28936305: [{'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334}]} args : 28936305 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 : ({'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28936305) 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([28936305]) 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.3092939853668213 time spend to save output : 3.9577484130859375e-05 total time spend for step 3 : 0.30933356285095215 step4:send_mail_cod Thu Nov 27 06:09:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} input_args_next_step : {1396296847: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296847 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296766 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296762 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296750 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296746 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296643 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296615 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296595 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296561 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296526 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296486 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296416 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296414 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296405 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296404 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296372 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296370 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296368 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296259 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296258 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296257 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296098 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296088 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296051 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296015 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296014 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296013 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396296001 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295998 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295994 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295991 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295989 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295987 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295953 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295951 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295950 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295949 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295934 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295930 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295927 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295925 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295921 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295900 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295897 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295895 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295894 depend.output_id : 0 input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ()} output_args : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',)} args : 1396295893 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 : {28936305: [{'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334}]} input_args_next_step : {1396296847: ('0.039186211884971935',), 1396296766: ('0.039186211884971935',), 1396296762: ('0.039186211884971935',), 1396296750: ('0.039186211884971935',), 1396296746: ('0.039186211884971935',), 1396296643: ('0.039186211884971935',), 1396296615: ('0.039186211884971935',), 1396296595: ('0.039186211884971935',), 1396296561: ('0.039186211884971935',), 1396296526: ('0.039186211884971935',), 1396296486: ('0.039186211884971935',), 1396296416: ('0.039186211884971935',), 1396296414: ('0.039186211884971935',), 1396296405: ('0.039186211884971935',), 1396296404: ('0.039186211884971935',), 1396296372: ('0.039186211884971935',), 1396296370: ('0.039186211884971935',), 1396296368: ('0.039186211884971935',), 1396296259: ('0.039186211884971935',), 1396296258: ('0.039186211884971935',), 1396296257: ('0.039186211884971935',), 1396296098: ('0.039186211884971935',), 1396296088: ('0.039186211884971935',), 1396296051: ('0.039186211884971935',), 1396296015: ('0.039186211884971935',), 1396296014: ('0.039186211884971935',), 1396296013: ('0.039186211884971935',), 1396296001: ('0.039186211884971935',), 1396295998: ('0.039186211884971935',), 1396295994: ('0.039186211884971935',), 1396295991: ('0.039186211884971935',), 1396295989: ('0.039186211884971935',), 1396295987: ('0.039186211884971935',), 1396295953: ('0.039186211884971935',), 1396295951: ('0.039186211884971935',), 1396295950: ('0.039186211884971935',), 1396295949: ('0.039186211884971935',), 1396295934: ('0.039186211884971935',), 1396295930: ('0.039186211884971935',), 1396295927: ('0.039186211884971935',), 1396295925: ('0.039186211884971935',), 1396295921: ('0.039186211884971935',), 1396295900: ('0.039186211884971935',), 1396295897: ('0.039186211884971935',), 1396295895: ('0.039186211884971935',), 1396295894: ('0.039186211884971935',), 1396295893: ('0.039186211884971935',), 28936305: ()} output_args : {28936305: [{'papier': 28936323, 'Carton_gris': 28936324, 'plastique': 28936325, 'autre_refus': 28936326, 'metal': 28936327, 'flou': 28936328, 'Teint_Dans_La_Masse': 28936329, 'kraft': 28936330, 'Carton_brun': 28936331, 'environnement': 28936332, 'mal_croppe': 28936333, 'cartonnette': 28936334}]} args : 28936305 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 :48, first value : ('0.039186211884971935',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28936305) 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 (1396296847,1396296766,1396296762,1396296750,1396296746,1396296643,1396296615,1396296595,1396296561,1396296526,1396296486,1396296416,1396296414,1396296405,1396296404,1396296372,1396296370,1396296368,1396296259,1396296258,1396296257,1396296098,1396296088,1396296051,1396296015,1396296014,1396296013,1396296001,1396295998,1396295994,1396295991,1396295989,1396295987,1396295953,1396295951,1396295950,1396295949,1396295934,1396295930,1396295927,1396295925,1396295921,1396295900,1396295897,1396295895,1396295894,1396295893) Found this number of photos: 47 ##### Call download_photos : nb_thread : 5 begin to download photo : 1396295893 begin to download photo : 1396295949 begin to download photo : 1396296013 begin to download photo : 1396296370 begin to download photo : 1396296615 download finish for photo 1396296370 begin to download photo : 1396296372 download finish for photo 1396295893 begin to download photo : 1396295894 download finish for photo 1396296615 begin to download photo : 1396296643 download finish for photo 1396296013 begin to download photo : 1396296014 download finish for photo 1396295949 begin to download photo : 1396295950 download finish for photo 1396296372 begin to download photo : 1396296404 download finish for photo 1396295894 begin to download photo : 1396295895 download finish for photo 1396296643 begin to download photo : 1396296746 download finish for photo 1396296014 begin to download photo : 1396296015 download finish for photo 1396295950 begin to download photo : 1396295951 download finish for photo 1396296404 begin to download photo : 1396296405 download finish for photo 1396295895 begin to download photo : 1396295897 download finish for photo 1396295951 begin to download photo : 1396295953 download finish for photo 1396296015 begin to download photo : 1396296051 download finish for photo 1396296405 begin to download photo : 1396296414 download finish for photo 1396295897 begin to download photo : 1396295900 download finish for photo 1396296746 begin to download photo : 1396296750 download finish for photo 1396296051 begin to download photo : 1396296088 download finish for photo 1396296414 begin to download photo : 1396296416 download finish for photo 1396295953 begin to download photo : 1396295987 download finish for photo 1396295900 begin to download photo : 1396295921 download finish for photo 1396296750 begin to download photo : 1396296762 download finish for photo 1396296416 begin to download photo : 1396296486 download finish for photo 1396296088 begin to download photo : 1396296098 download finish for photo 1396295987 begin to download photo : 1396295989 download finish for photo 1396295921 begin to download photo : 1396295925 download finish for photo 1396296762 begin to download photo : 1396296766 download finish for photo 1396296486 begin to download photo : 1396296526 download finish for photo 1396296098 begin to download photo : 1396296257 download finish for photo 1396295989 begin to download photo : 1396295991 download finish for photo 1396296766 begin to download photo : 1396296847 download finish for photo 1396295925 begin to download photo : 1396295927 download finish for photo 1396296257 begin to download photo : 1396296258 download finish for photo 1396296526 begin to download photo : 1396296561 download finish for photo 1396296847 download finish for photo 1396295927 begin to download photo : 1396295930 download finish for photo 1396295991 begin to download photo : 1396295994 download finish for photo 1396296258 begin to download photo : 1396296259 download finish for photo 1396296561 begin to download photo : 1396296595 download finish for photo 1396295930 begin to download photo : 1396295934 download finish for photo 1396295994 begin to download photo : 1396295998 download finish for photo 1396296259 begin to download photo : 1396296368 download finish for photo 1396296595 download finish for photo 1396295934 download finish for photo 1396295998 begin to download photo : 1396296001 download finish for photo 1396296368 download finish for photo 1396296001 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 : 47 ; length of list_pids : 47 ; length of list_args : 47 results_Auto_P28936305_27-11-2025_06_10_01.pdf 28936325 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=28936325 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296039: '1764189306_1620875_1396295927_92a65d57854216ea4b3e005df8319e4e_rle_crop_4046459225_0.png', 1396296041: '1764189306_1620875_1396295925_08c0f88fe866d4708cfd0f76294e91c4_rle_crop_4046459237_0.png', 1396296286: '1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461706_0.png', 1396296502: '1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462500_0.png', 1396296920: '1764190046_1640541_1396296416_99834d9919b9e1363eb3f694d3f77082_rle_crop_4046464267_0.png', 1396304588: '1764192686_1756104_1396296088_61843a6fd9c556a266ba9786089811f2_rle_crop_4046526809_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5db87d5eb609f3c0b4e138420a7188f_18891422.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1a86b5db8a438e5c9b5416caea5d8a3_4449136.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e45f0b78d2fa026ecd82703a1273c96e_30348668.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72f5dc972f4931164d790b3c01899b96_83293041.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80f726612ad98d24c9adbbca11178cba_12797554.png change filename to text .imagette289363251764220201/ imagette289363251764220201/1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462500_0.png.png imagette289363251764220201/1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461706_0.png.png imagette289363251764220201/1764190046_1640541_1396296416_99834d9919b9e1363eb3f694d3f77082_rle_crop_4046464267_0.png.png imagette289363251764220201/1764189306_1620875_1396295925_08c0f88fe866d4708cfd0f76294e91c4_rle_crop_4046459237_0.png.png imagette289363251764220201/1764189306_1620875_1396295927_92a65d57854216ea4b3e005df8319e4e_rle_crop_4046459225_0.png.png imagette289363251764220201/1764192686_1756104_1396296088_61843a6fd9c556a266ba9786089811f2_rle_crop_4046526809_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c275f7f2ca20e1ab5b6153de077e413d_6647044.png imagette289363251764220201 28936326 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=28936326 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296149: '1764189507_1625978_1396296014_d293a44ce4c5e8dcca36125ab8c016cd_rle_crop_4046461167_0.png', 1396301567: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504463_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e1c40c9b4e599e6f34e18a1debc9b5a_28387860.png change filename to text .imagette289363261764220201/ imagette289363261764220201/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504463_0.png.png imagette289363261764220201/1764189507_1625978_1396296014_d293a44ce4c5e8dcca36125ab8c016cd_rle_crop_4046461167_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab5000904a050704eaff3979b9ae4069_47560728.png imagette289363261764220201 28936327 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=28936327 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296511: '1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462502_0.png'} change filename to text .imagette289363271764220202/ imagette289363271764220202/1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462502_0.png.png imagette289363281764220202/ imagette289363301764220202/ imagette289363331764220202/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8aa64c84d23d4fd167085d85291edf61_98480130.png imagette289363271764220202 28936328 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=28936328 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette289363281764220202 28936330 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=28936330 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette289363301764220202 28936333 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=28936333 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette289363331764220202 28936334 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=28936334 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296036: '1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459251_0.png', 1396296151: '1764189507_1625978_1396296013_8d3b39202d79200626fded0f48740569_rle_crop_4046461180_0.png', 1396296249: '1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461473_0.png', 1396296250: '1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461486_0.png', 1396296476: '1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462548_0.png', 1396296478: '1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462552_0.png', 1396296773: '1764189907_1636677_1396296257_060b74be3941224f7060c69ad0f85f9c_rle_crop_4046462724_0.png', 1396296913: '1764190046_1640541_1396296416_99834d9919b9e1363eb3f694d3f77082_rle_crop_4046464264_0.png', 1396296914: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464277_0.png', 1396301571: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504458_0.png', 1396301573: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504470_0.png', 1396301574: '1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504480_0.png', 1396301575: '1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504489_0.png', 1396301631: '1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461473_0.png', 1396301632: '1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461486_0.png', 1396304579: '1764192686_1756104_1396296088_61843a6fd9c556a266ba9786089811f2_rle_crop_4046526799_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/812a4931d232e217760e8298d4204dca_47428056.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96e7ad3df0de15b34355baf1c7c68c20_50430540.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca742c296faec9bfad610c78d909919d_9196701.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8df039673142f997bce9157b7366bec_99846980.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c8402b7f17746c93bae43ee002248f7_50614677.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50241690e35f976a2f75c64d054ca92d_15727639.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d83b6c3887a48e00ce0553ce07209d47_19257893.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ba17cdebf13b6803f63b314025d5ca3_42172169.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0968fbd36f76c2ad6913e77234974e04_2281331.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/412ad3ac87106a545ba764939e0fe068_85854325.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b6a6d06e12cd00bda5bfb4019ec96bd_32282897.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aec99350c4a790f0957ab6971ad2c8c5_22481503.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b956cea0b76b4f583ffda7233b66e997_53498271.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca742c296faec9bfad610c78d909919d_91647285.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8df039673142f997bce9157b7366bec_99724312.png change filename to text .imagette289363341764220202/ imagette289363341764220202/1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504489_0.png.png imagette289363341764220202/1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462552_0.png.png imagette289363341764220202/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504470_0.png.png imagette289363341764220202/1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461473_0.png.png imagette289363341764220202/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464277_0.png.png imagette289363341764220202/1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504480_0.png.png imagette289363341764220202/1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459251_0.png.png imagette289363341764220202/1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461486_0.png.png imagette289363341764220202/1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461473_0.png.png imagette289363341764220202/1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462548_0.png.png imagette289363341764220202/1764189507_1625978_1396296013_8d3b39202d79200626fded0f48740569_rle_crop_4046461180_0.png.png imagette289363341764220202/1764192686_1756104_1396296088_61843a6fd9c556a266ba9786089811f2_rle_crop_4046526799_0.png.png imagette289363341764220202/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504458_0.png.png imagette289363341764220202/1764189907_1636677_1396296257_060b74be3941224f7060c69ad0f85f9c_rle_crop_4046462724_0.png.png imagette289363341764220202/1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461486_0.png.png imagette289363341764220202/1764190046_1640541_1396296416_99834d9919b9e1363eb3f694d3f77082_rle_crop_4046464264_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c1a1267bbf91b2fcffea4749db7a3fb_54850894.png imagette289363341764220202 28936324 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=28936324 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296032: '1764189306_1620875_1396295930_9d3dc93d2842bcea5486e254c5ec6d2f_rle_crop_4046459212_0.png', 1396296033: '1764189306_1620875_1396295930_9d3dc93d2842bcea5486e254c5ec6d2f_rle_crop_4046459213_0.png', 1396296034: '1764189306_1620875_1396295927_92a65d57854216ea4b3e005df8319e4e_rle_crop_4046459224_0.png', 1396296035: '1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459252_0.png', 1396296150: '1764189507_1625978_1396296013_8d3b39202d79200626fded0f48740569_rle_crop_4046461183_0.png', 1396296282: '1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461700_0.png', 1396296463: '1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462508_0.png', 1396296465: '1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462555_0.png', 1396296772: '1764189907_1636677_1396296258_44f5aaf4db476beccb6b370415d920cd_rle_crop_4046462718_0.png', 1396296911: '1764190046_1640541_1396296368_857caab7e42a3fc1be3230cc731491ed_rle_crop_4046464305_0.png', 1396301568: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504471_0.png', 1396301569: '1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504488_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bdc278e9d3f5913eb4894067300c6f98_73243426.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af742714579f518b431794ab5667d282_2832851.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c63ac2d359b78e261d8ea56ca9aef821_57560378.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/897fe6b7eb814eaa6fdfca83bb734af0_24982836.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd5fc3c6031966d19369b9e001353671_57924038.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55a9f8bec8eb65c565ba5dacebf68d92_45398168.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3e9f85e612f66109d2db9735c3f9260_12751647.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59ad2561ccde4638dcf3c0d4fd37fe6a_58840611.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/385d57fa65ef78a3161cfc46281b269c_96616834.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2729f6617a7fcf647a41a5d2051e9fc_38336763.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f366988b2efd4b998b31750f2ee01f0_97957069.png change filename to text .imagette289363241764220203/ imagette289363241764220203/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504471_0.png.png imagette289363241764220203/1764189306_1620875_1396295930_9d3dc93d2842bcea5486e254c5ec6d2f_rle_crop_4046459213_0.png.png imagette289363241764220203/1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462508_0.png.png imagette289363241764220203/1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459252_0.png.png imagette289363241764220203/1764190046_1640541_1396296368_857caab7e42a3fc1be3230cc731491ed_rle_crop_4046464305_0.png.png imagette289363241764220203/1764191966_1733184_1396295897_e0e2344cff421c811a9662efe03b6b8b_rle_crop_4046504488_0.png.png imagette289363241764220203/1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461700_0.png.png imagette289363241764220203/1764189787_1633529_1396295987_8122ef2a336899f666b8c647caf2b5b3_rle_crop_4046462555_0.png.png imagette289363241764220203/1764189507_1625978_1396296013_8d3b39202d79200626fded0f48740569_rle_crop_4046461183_0.png.png imagette289363241764220203/1764189306_1620875_1396295930_9d3dc93d2842bcea5486e254c5ec6d2f_rle_crop_4046459212_0.png.png imagette289363241764220203/1764189306_1620875_1396295927_92a65d57854216ea4b3e005df8319e4e_rle_crop_4046459224_0.png.png imagette289363241764220203/1764189907_1636677_1396296258_44f5aaf4db476beccb6b370415d920cd_rle_crop_4046462718_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43ca3356dd821ec35480515e9dcca531_72847793.png imagette289363241764220203 28936329 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=28936329 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296029: '1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459258_0.png', 1396296237: '1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461471_0.png', 1396296239: '1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461483_0.png', 1396296446: '1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462425_0.png', 1396296448: '1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462419_0.png', 1396296450: '1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462415_0.png', 1396296452: '1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462509_0.png', 1396296454: '1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462505_0.png', 1396296770: '1764189907_1636677_1396296372_114bb59cbf47f24c819b996e87254b2d_rle_crop_4046462712_0.png', 1396296771: '1764189907_1636677_1396296257_060b74be3941224f7060c69ad0f85f9c_rle_crop_4046462726_0.png', 1396296909: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464280_0.png', 1396296910: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464289_0.png', 1396296912: '1764190027_1639826_1396296405_2eb6b89f25acff260e48d14161d9a8ef_rle_crop_4046464321_0.png', 1396301566: '1764191966_1733184_1396295893_00f98a3f5d7f4b31bb0fc581d136884a_rle_crop_4046504525_0.png', 1396301629: '1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461471_0.png', 1396301630: '1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461483_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ad6caa3664cb976915ccd467048375d_66708992.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed47837cefab8c4d2e245539688381f4_36851058.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73fb93498e3ef9a59206a1e847a456c1_99576221.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5359201072980933c748e17416f5567_68698803.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59e7c0a8767830bb514323b0442fc638_75450998.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e734fd313be9d9fad0c817129ab92a1_95442117.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc9ab932c3e2d68e808b16ebb42cbeb7_53582594.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d5e44617c1e5bb47b1bf641a7791bcca_48957405.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1439f94a1418038430fadea449620f5_16038756.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c0618597fe33315844059e0971e214c_87440268.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef26bdfd321a25017b4b88b060de3b7f_35218868.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/704623d81c4ef9a7da1f653fc3508344_37501455.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5916f27bff324f031cd2b1d7317dff9_79505561.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52a6d06d8c200c8c133e152136212cf9_72263389.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed47837cefab8c4d2e245539688381f4_27567790.png change filename to text .imagette289363291764220204/ imagette289363291764220204/1764189306_1620875_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e_rle_crop_4046459258_0.png.png imagette289363291764220204/1764191966_1733184_1396295893_00f98a3f5d7f4b31bb0fc581d136884a_rle_crop_4046504525_0.png.png imagette289363291764220204/1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462425_0.png.png imagette289363291764220204/1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462509_0.png.png imagette289363291764220204/1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461471_0.png.png imagette289363291764220204/1764189907_1636677_1396296257_060b74be3941224f7060c69ad0f85f9c_rle_crop_4046462726_0.png.png imagette289363291764220204/1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461483_0.png.png imagette289363291764220204/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464289_0.png.png imagette289363291764220204/1764189787_1633529_1396295994_7de034bfd072a7898971f2d4299a2d90_rle_crop_4046462505_0.png.png imagette289363291764220204/1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461483_0.png.png imagette289363291764220204/1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462415_0.png.png imagette289363291764220204/1764189907_1636677_1396296372_114bb59cbf47f24c819b996e87254b2d_rle_crop_4046462712_0.png.png imagette289363291764220204/1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461471_0.png.png imagette289363291764220204/1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462419_0.png.png imagette289363291764220204/1764190027_1639826_1396296405_2eb6b89f25acff260e48d14161d9a8ef_rle_crop_4046464321_0.png.png imagette289363291764220204/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464280_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73fb93498e3ef9a59206a1e847a456c1_69724451.png imagette289363291764220204 28936331 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=28936331 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1396296916: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464282_0.png', 1396301635: '1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461482_0.png', 1396301634: '1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461479_0.png', 1396301633: '1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461470_0.png', 1396301579: '1764191966_1733184_1396295894_b06b0ea73506b340159c36221a039090_rle_crop_4046504512_0.png', 1396301578: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504459_0.png', 1396301577: '1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504464_0.png', 1396296919: '1764190046_1640541_1396296368_857caab7e42a3fc1be3230cc731491ed_rle_crop_4046464309_0.png', 1396296918: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464290_0.png', 1396296917: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464286_0.png', 1396296037: '1764189306_1620875_1396295925_08c0f88fe866d4708cfd0f76294e91c4_rle_crop_4046459240_0.png', 1396296915: '1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464285_0.png', 1396296493: '1764189787_1633529_1396295989_044a8218c822021674d716fa741ee0b5_rle_crop_4046462536_0.png', 1396296491: '1764189787_1633529_1396295989_044a8218c822021674d716fa741ee0b5_rle_crop_4046462537_0.png', 1396296489: '1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462417_0.png', 1396296283: '1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461704_0.png', 1396296253: '1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461482_0.png', 1396296252: '1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461479_0.png', 1396296251: '1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461470_0.png', 1396296152: '1764189507_1625978_1396296014_d293a44ce4c5e8dcca36125ab8c016cd_rle_crop_4046461171_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/467ad74a09dc84246069e9c70917ae15_60549774.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae6384c031512f955f4a16eba86034a6_61755027.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe51206edde89db99772489f8589eb07_33417586.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e24440f022a2a277e635d11acf51a85_93798324.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c16e679e69a504c5bc8f9ce18d3bee88_19052185.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/da28888ea3adf82a17bbc13d8d9cde19_3553133.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1f541fbdf6b7235a045e025f1ef67bb_51300532.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9b257c4205db9543ce2b62f3c57273d_766202.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b3231d2abcfb07c81d3d6d71232f9c8_38100974.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48ebc362d9c35c07ce0992a9dd4b6029_53140198.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abae67514971090d35024ca4d63f1367_66752178.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31e03c5d7a6804dbfea1e1b4d4fdde9c_22411717.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75d6a72d5a7d144d540d350f2670f56b_21370923.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/488bfe65c207eebc4c9069c1db721c8c_52517568.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f10820043f999a17251136fd8078106_51106898.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c87eb79cefff64e9bfeed8dd6ec507f4_23722910.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae6384c031512f955f4a16eba86034a6_82793155.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe51206edde89db99772489f8589eb07_7199320.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e24440f022a2a277e635d11acf51a85_35091013.png change filename to text .imagette289363311764220206/ imagette289363311764220206/1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461482_0.png.png imagette289363311764220206/1764189787_1633529_1396295989_044a8218c822021674d716fa741ee0b5_rle_crop_4046462536_0.png.png imagette289363311764220206/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504464_0.png.png imagette289363311764220206/1764189687_1630909_1396296098_9ee6e33881c866efbfbf79792444ff1c_rle_crop_4046461704_0.png.png imagette289363311764220206/1764191966_1733184_1396295900_a38e0264e259118bc0859fe96b2826a5_rle_crop_4046504459_0.png.png imagette289363311764220206/1764192086_1735595_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461470_0.png.png imagette289363311764220206/1764189567_1628826_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461479_0.png.png imagette289363311764220206/1764189787_1633529_1396295998_7d3261f966e09f492f15097b6aecdc0f_rle_crop_4046462417_0.png.png imagette289363311764220206/1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461482_0.png.png imagette289363311764220206/1764190046_1640541_1396296368_857caab7e42a3fc1be3230cc731491ed_rle_crop_4046464309_0.png.png imagette289363311764220206/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464286_0.png.png imagette289363311764220206/1764191966_1733184_1396295894_b06b0ea73506b340159c36221a039090_rle_crop_4046504512_0.png.png imagette289363311764220206/1764189306_1620875_1396295925_08c0f88fe866d4708cfd0f76294e91c4_rle_crop_4046459240_0.png.png imagette289363311764220206/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464282_0.png.png imagette289363311764220206/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464285_0.png.png imagette289363311764220206/1764190046_1640541_1396296370_865fc42375b573b2aa8230bcd3fc3a4e_rle_crop_4046464290_0.png.png imagette289363311764220206/1764189507_1625978_1396296014_d293a44ce4c5e8dcca36125ab8c016cd_rle_crop_4046461171_0.png.png imagette289363311764220206/1764189567_1628826_1396295950_7336c175810eec64a4f8f9c511322029_rle_crop_4046461470_0.png.png imagette289363311764220206/1764189787_1633529_1396295989_044a8218c822021674d716fa741ee0b5_rle_crop_4046462537_0.png.png imagette289363311764220206/1764192086_1735595_1396295949_d9acd706a809c0b91b16bf9579f9d228_rle_crop_4046461479_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2d2a846edb0f1df821e134797168e3e_85564320.png imagette289363311764220206 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28936305 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28936335,28936336,28936337,28936338,28936339,28936340,28936341,28936342,28936343,28936344,28936345,28936346?tags=papier,Carton_gris,plastique,autre_refus,metal,flou,Teint_Dans_La_Masse,kraft,Carton_brun,environnement,mal_croppe,cartonnette your option no_mail is active, we will not send the real mail to your client args[1396296847] : ('0.039186211884971935',) no score found for photo 1396296847 We are sending mail with results at report@fotonower.com args[1396296766] : ('0.039186211884971935',) no score found for photo 1396296766 We are sending mail with results at report@fotonower.com args[1396296762] : ('0.039186211884971935',) no score found for photo 1396296762 We are sending mail with results at report@fotonower.com args[1396296750] : ('0.039186211884971935',) no score found for photo 1396296750 We are sending mail with results at report@fotonower.com args[1396296746] : ('0.039186211884971935',) no score found for photo 1396296746 We are sending mail with results at report@fotonower.com args[1396296643] : ('0.039186211884971935',) no score found for photo 1396296643 We are sending mail with results at report@fotonower.com args[1396296615] : ('0.039186211884971935',) no score found for photo 1396296615 We are sending mail with results at report@fotonower.com args[1396296595] : ('0.039186211884971935',) no score found for photo 1396296595 We are sending mail with results at report@fotonower.com args[1396296561] : ('0.039186211884971935',) no score found for photo 1396296561 We are sending mail with results at report@fotonower.com args[1396296526] : ('0.039186211884971935',) no score found for photo 1396296526 We are sending mail with results at report@fotonower.com args[1396296486] : ('0.039186211884971935',) no score found for photo 1396296486 We are sending mail with results at report@fotonower.com args[1396296416] : ('0.039186211884971935',) no score found for photo 1396296416 We are sending mail with results at report@fotonower.com args[1396296414] : ('0.039186211884971935',) no score found for photo 1396296414 We are sending mail with results at report@fotonower.com args[1396296405] : ('0.039186211884971935',) no score found for photo 1396296405 We are sending mail with results at report@fotonower.com args[1396296404] : ('0.039186211884971935',) no score found for photo 1396296404 We are sending mail with results at report@fotonower.com args[1396296372] : ('0.039186211884971935',) no score found for photo 1396296372 We are sending mail with results at report@fotonower.com args[1396296370] : ('0.039186211884971935',) no score found for photo 1396296370 We are sending mail with results at report@fotonower.com args[1396296368] : ('0.039186211884971935',) no score found for photo 1396296368 We are sending mail with results at report@fotonower.com args[1396296259] : ('0.039186211884971935',) no score found for photo 1396296259 We are sending mail with results at report@fotonower.com args[1396296258] : ('0.039186211884971935',) no score found for photo 1396296258 We are sending mail with results at report@fotonower.com args[1396296257] : ('0.039186211884971935',) no score found for photo 1396296257 We are sending mail with results at report@fotonower.com args[1396296098] : ('0.039186211884971935',) no score found for photo 1396296098 We are sending mail with results at report@fotonower.com args[1396296088] : ('0.039186211884971935',) no score found for photo 1396296088 We are sending mail with results at report@fotonower.com args[1396296051] : ('0.039186211884971935',) no score found for photo 1396296051 We are sending mail with results at report@fotonower.com args[1396296015] : ('0.039186211884971935',) no score found for photo 1396296015 We are sending mail with results at report@fotonower.com args[1396296014] : ('0.039186211884971935',) no score found for photo 1396296014 We are sending mail with results at report@fotonower.com args[1396296013] : ('0.039186211884971935',) no score found for photo 1396296013 We are sending mail with results at report@fotonower.com args[1396296001] : ('0.039186211884971935',) no score found for photo 1396296001 We are sending mail with results at report@fotonower.com args[1396295998] : ('0.039186211884971935',) no score found for photo 1396295998 We are sending mail with results at report@fotonower.com args[1396295994] : ('0.039186211884971935',) no score found for photo 1396295994 We are sending mail with results at report@fotonower.com args[1396295991] : ('0.039186211884971935',) no score found for photo 1396295991 We are sending mail with results at report@fotonower.com args[1396295989] : ('0.039186211884971935',) no score found for photo 1396295989 We are sending mail with results at report@fotonower.com args[1396295987] : ('0.039186211884971935',) no score found for photo 1396295987 We are sending mail with results at report@fotonower.com args[1396295953] : ('0.039186211884971935',) no score found for photo 1396295953 We are sending mail with results at report@fotonower.com args[1396295951] : ('0.039186211884971935',) no score found for photo 1396295951 We are sending mail with results at report@fotonower.com args[1396295950] : ('0.039186211884971935',) no score found for photo 1396295950 We are sending mail with results at report@fotonower.com args[1396295949] : ('0.039186211884971935',) no score found for photo 1396295949 We are sending mail with results at report@fotonower.com args[1396295934] : ('0.039186211884971935',) no score found for photo 1396295934 We are sending mail with results at report@fotonower.com args[1396295930] : ('0.039186211884971935',) no score found for photo 1396295930 We are sending mail with results at report@fotonower.com args[1396295927] : ('0.039186211884971935',) no score found for photo 1396295927 We are sending mail with results at report@fotonower.com args[1396295925] : ('0.039186211884971935',) no score found for photo 1396295925 We are sending mail with results at report@fotonower.com args[1396295921] : ('0.039186211884971935',) no score found for photo 1396295921 We are sending mail with results at report@fotonower.com args[1396295900] : ('0.039186211884971935',) no score found for photo 1396295900 We are sending mail with results at report@fotonower.com args[1396295897] : ('0.039186211884971935',) no score found for photo 1396295897 We are sending mail with results at report@fotonower.com args[1396295895] : ('0.039186211884971935',) no score found for photo 1396295895 We are sending mail with results at report@fotonower.com args[1396295894] : ('0.039186211884971935',) no score found for photo 1396295894 We are sending mail with results at report@fotonower.com args[1396295893] : ('0.039186211884971935',) no score found for photo 1396295893 We are sending mail with results at report@fotonower.com refus_total : 0.039186211884971935 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=28936305 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_P28936305_27-11-2025_06_10_01.pdf results_Auto_P28936305_27-11-2025_06_10_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_27-11-2025_06_10_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','28936305','results_Auto_P28936305_27-11-2025_06_10_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_27-11-2025_06_10_01.pdf','pdf','','0.48','0.039186211884971935') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28936305]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] map_info['map_portfolio_photo'] : {28936305: [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893]} final : False mtd_id 4302 list_pids : [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] 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, '4127316') ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 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', '28936305', '1396296847', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316')] time used for this insertion : 0.02159428596496582 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.552680492401123 time spend to save output : 0.022126436233520508 total time spend for step 4 : 11.574806928634644 step5:split_time_score Thu Nov 27 06:10:11 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 : ['28936305'] 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 : [('28936305',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28936305) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1396296615: {'path': 'temp/1764220199_1615536_1396296615_ce06a201cf7eabf2ea995dc8e8a87997.jpg', 'extension': 'jpg'}, 1396296643: {'path': 'temp/1764220199_1615536_1396296643_02995843ce938ff884da0673acf6c034.jpg', 'extension': 'jpg'}, 1396296746: {'path': 'temp/1764220199_1615536_1396296746_cfab463bfa2f312be6ad2fcb654dc764.jpg', 'extension': 'jpg'}, 1396296750: {'path': 'temp/1764220199_1615536_1396296750_d19bda3dd567f4b53c389bc8db663514.jpg', 'extension': 'jpg'}, 1396296762: {'path': 'temp/1764220199_1615536_1396296762_5c6dd658d687c4047eb7174b94a15d0e.jpg', 'extension': 'jpg'}, 1396296766: {'path': 'temp/1764220199_1615536_1396296766_12990c6bb8ccb22f6c2353edb1b92148.jpg', 'extension': 'jpg'}, 1396296847: {'path': 'temp/1764220199_1615536_1396296847_d1cd1536bbf73c1378473b238521020d.jpg', 'extension': 'jpg'}, 1396296370: {'path': 'temp/1764220199_1615536_1396296370_865fc42375b573b2aa8230bcd3fc3a4e.jpg', 'extension': 'jpg'}, 1396296372: {'path': 'temp/1764220199_1615536_1396296372_114bb59cbf47f24c819b996e87254b2d.jpg', 'extension': 'jpg'}, 1396296404: {'path': 'temp/1764220199_1615536_1396296404_50231870fb3318084c6fb0552445f752.jpg', 'extension': 'jpg'}, 1396296405: {'path': 'temp/1764220199_1615536_1396296405_2eb6b89f25acff260e48d14161d9a8ef.jpg', 'extension': 'jpg'}, 1396296414: {'path': 'temp/1764220199_1615536_1396296414_fb34402acfdbd96348bfab49e4a4b7b2.jpg', 'extension': 'jpg'}, 1396296416: {'path': 'temp/1764220199_1615536_1396296416_99834d9919b9e1363eb3f694d3f77082.jpg', 'extension': 'jpg'}, 1396296486: {'path': 'temp/1764220199_1615536_1396296486_1ca31fc32f2b5cb0ae43293b8236742e.jpg', 'extension': 'jpg'}, 1396296526: {'path': 'temp/1764220199_1615536_1396296526_3993cdfb327c4ce6aa7c89d25a8d1ee9.jpg', 'extension': 'jpg'}, 1396296561: {'path': 'temp/1764220199_1615536_1396296561_2ba17e336350622ad7097f06b7aa7c1b.jpg', 'extension': 'jpg'}, 1396296595: {'path': 'temp/1764220199_1615536_1396296595_c07e234c3d7e6841832d7db9b3548a47.jpg', 'extension': 'jpg'}, 1396295893: {'path': 'temp/1764220199_1615536_1396295893_00f98a3f5d7f4b31bb0fc581d136884a.jpg', 'extension': 'jpg'}, 1396295894: {'path': 'temp/1764220199_1615536_1396295894_b06b0ea73506b340159c36221a039090.jpg', 'extension': 'jpg'}, 1396295895: {'path': 'temp/1764220199_1615536_1396295895_6954065fdf904c5ed5e2a61b81731bd1.jpg', 'extension': 'jpg'}, 1396295897: {'path': 'temp/1764220199_1615536_1396295897_e0e2344cff421c811a9662efe03b6b8b.jpg', 'extension': 'jpg'}, 1396295900: {'path': 'temp/1764220199_1615536_1396295900_a38e0264e259118bc0859fe96b2826a5.jpg', 'extension': 'jpg'}, 1396295921: {'path': 'temp/1764220199_1615536_1396295921_f6597ad6f7aa8d0758276dfdea5e0f9e.jpg', 'extension': 'jpg'}, 1396295925: {'path': 'temp/1764220199_1615536_1396295925_08c0f88fe866d4708cfd0f76294e91c4.jpg', 'extension': 'jpg'}, 1396295927: {'path': 'temp/1764220199_1615536_1396295927_92a65d57854216ea4b3e005df8319e4e.jpg', 'extension': 'jpg'}, 1396295930: {'path': 'temp/1764220199_1615536_1396295930_9d3dc93d2842bcea5486e254c5ec6d2f.jpg', 'extension': 'jpg'}, 1396295934: {'path': 'temp/1764220199_1615536_1396295934_878a15d3ed84a17d74d5b7d4ef4c7559.jpg', 'extension': 'jpg'}, 1396296013: {'path': 'temp/1764220199_1615536_1396296013_8d3b39202d79200626fded0f48740569.jpg', 'extension': 'jpg'}, 1396296014: {'path': 'temp/1764220199_1615536_1396296014_d293a44ce4c5e8dcca36125ab8c016cd.jpg', 'extension': 'jpg'}, 1396296015: {'path': 'temp/1764220199_1615536_1396296015_0e750b5a4f116df9da19d7a209a00d3f.jpg', 'extension': 'jpg'}, 1396296051: {'path': 'temp/1764220199_1615536_1396296051_69042fffaf8662650db5fa87b6c88c92.jpg', 'extension': 'jpg'}, 1396296088: {'path': 'temp/1764220199_1615536_1396296088_61843a6fd9c556a266ba9786089811f2.jpg', 'extension': 'jpg'}, 1396296098: {'path': 'temp/1764220199_1615536_1396296098_9ee6e33881c866efbfbf79792444ff1c.jpg', 'extension': 'jpg'}, 1396296257: {'path': 'temp/1764220199_1615536_1396296257_060b74be3941224f7060c69ad0f85f9c.jpg', 'extension': 'jpg'}, 1396296258: {'path': 'temp/1764220199_1615536_1396296258_44f5aaf4db476beccb6b370415d920cd.jpg', 'extension': 'jpg'}, 1396296259: {'path': 'temp/1764220199_1615536_1396296259_debf80ec1880989e5d847ab45baf520c.jpg', 'extension': 'jpg'}, 1396296368: {'path': 'temp/1764220199_1615536_1396296368_857caab7e42a3fc1be3230cc731491ed.jpg', 'extension': 'jpg'}, 1396295949: {'path': 'temp/1764220199_1615536_1396295949_d9acd706a809c0b91b16bf9579f9d228.jpg', 'extension': 'jpg'}, 1396295950: {'path': 'temp/1764220199_1615536_1396295950_7336c175810eec64a4f8f9c511322029.jpg', 'extension': 'jpg'}, 1396295951: {'path': 'temp/1764220199_1615536_1396295951_1bf4067be79a383cb45abcf4358890dc.jpg', 'extension': 'jpg'}, 1396295953: {'path': 'temp/1764220199_1615536_1396295953_4f3e5b6b25701537310ffcf0852fa581.jpg', 'extension': 'jpg'}, 1396295987: {'path': 'temp/1764220199_1615536_1396295987_8122ef2a336899f666b8c647caf2b5b3.jpg', 'extension': 'jpg'}, 1396295989: {'path': 'temp/1764220199_1615536_1396295989_044a8218c822021674d716fa741ee0b5.jpg', 'extension': 'jpg'}, 1396295991: {'path': 'temp/1764220199_1615536_1396295991_ca87088443dd6e7ec80e363e40c8c2f6.jpg', 'extension': 'jpg'}, 1396295994: {'path': 'temp/1764220199_1615536_1396295994_7de034bfd072a7898971f2d4299a2d90.jpg', 'extension': 'jpg'}, 1396295998: {'path': 'temp/1764220199_1615536_1396295998_7d3261f966e09f492f15097b6aecdc0f.jpg', 'extension': 'jpg'}, 1396296001: {'path': 'temp/1764220199_1615536_1396296001_68624f0f44387b61e57d7ac832c12248.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 = 28936305; (('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 = 28936305 group by h (('21', 47),) 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=28936305 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 (28936305) 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 (28936305) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26112025 28936305 Nombre de photos uploadées : 47 / 23040 (0%) 26112025 28936305 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 26112025 28936305 Nombre de photos taguées (volume) : 0 / 47 (0%) [{'photo_id': 1396295900, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a38e0264e259118bc0859fe96b2826a5.jpg', 'username': None, 'uploaded_at': 1764189068, 'text': 'image_26112025_21_30_04_10152.jpg'}, {'photo_id': 1396295897, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0e2344cff421c811a9662efe03b6b8b.jpg', 'username': None, 'uploaded_at': 1764189068, 'text': 'image_26112025_21_30_14_10136.jpg'}, {'photo_id': 1396295895, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6954065fdf904c5ed5e2a61b81731bd1.jpg', 'username': None, 'uploaded_at': 1764189068, 'text': 'image_26112025_21_30_24_10137.jpg'}, {'photo_id': 1396295894, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b06b0ea73506b340159c36221a039090.jpg', 'username': None, 'uploaded_at': 1764189068, 'text': 'image_26112025_21_30_33_9135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024309158325195312 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28936305, '2025-11-26' ) 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-26' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2645256,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2539339065551758 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= 2645256 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28898557, 'dashboard_result_id': 17795523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_27-11-2025_05_34_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28899108, 'dashboard_result_id': 17795524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899108_27-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899123, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28899477, 'dashboard_result_id': 17795525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899477_27-11-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899509, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28900036, 'dashboard_result_id': 17795526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28900036_27-11-2025_05_36_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28900057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28900058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28900059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28900060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28900061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28900062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28900063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28900064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28900065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28900066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28900067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28900068, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28901576, 'dashboard_result_id': 17795527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28901576_27-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28901580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28901581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28901582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28901583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28901584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28901585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28901586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28901587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28901588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28901589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28901590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28901591, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28902220, 'dashboard_result_id': 17795528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902220_27-11-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902276, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28902821, 'dashboard_result_id': 17795529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902821_27-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902846, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28903442, 'dashboard_result_id': 17795530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903442_27-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28903479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903486, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28903872, 'dashboard_result_id': 17795531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903872_27-11-2025_05_38_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28903884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903895, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28904559, 'dashboard_result_id': 17795532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904559_27-11-2025_05_39_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904579, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28904971, 'dashboard_result_id': 17795533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904971_27-11-2025_05_40_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904989, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28905396, 'dashboard_result_id': 17795534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905396_27-11-2025_05_41_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905416, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28905985, 'dashboard_result_id': 17795535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905985_27-11-2025_05_41_14.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905997, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28906213, 'dashboard_result_id': 17795536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906213_27-11-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906233, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28906581, 'dashboard_result_id': 17795537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906581_27-11-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906601, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28907660, 'dashboard_result_id': 17795538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907660_27-11-2025_05_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28907662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907673, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28907924, 'dashboard_result_id': 17795539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907924_27-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28907938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907941, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28908296, 'dashboard_result_id': 17795540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908296_27-11-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28908300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28908301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908311, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28908732, 'dashboard_result_id': 17795541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908732_27-11-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28908736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28908747, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28909080, 'dashboard_result_id': 17795542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909080_27-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28909089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909100, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28909644, 'dashboard_result_id': 17795543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909644_27-11-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28909655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909660, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28910115, 'dashboard_result_id': 17795544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910115_27-11-2025_05_46_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910152, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28910559, 'dashboard_result_id': 17795545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910559_27-11-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910579, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28910922, 'dashboard_result_id': 17795546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910922_27-11-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28910956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910959, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28911433, 'dashboard_result_id': 17795547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28911433_27-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28911438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28911439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28911440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28911441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28911442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28911443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28911444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28911445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28911446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28911447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28911448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28911449, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28912015, 'dashboard_result_id': 17795548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912015_27-11-2025_05_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912030, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28912359, 'dashboard_result_id': 17795549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912359_27-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912371, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28912788, 'dashboard_result_id': 17795550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912788_27-11-2025_05_50_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912847, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28913393, 'dashboard_result_id': 17795551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913393_27-11-2025_05_50_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913430, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28913888, 'dashboard_result_id': 17795552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913888_27-11-2025_05_51_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913927, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28914399, 'dashboard_result_id': 17795553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28914399_27-11-2025_05_51_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28914450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28914451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28914452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28914453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28914454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28914455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28914456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28914457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28914458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28914459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28914460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28914461, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28915629, 'dashboard_result_id': 17795554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28915629_27-11-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28915657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28915658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28915659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28915660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28915661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28915662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28915663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28915664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28915665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28915666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28915667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28915668, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28916048, 'dashboard_result_id': 17795555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916048_27-11-2025_05_51_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28916071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916082, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28916689, 'dashboard_result_id': 17795556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916689_27-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916705, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28916775, 'dashboard_result_id': 17795557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916775_27-11-2025_05_53_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916812, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28917201, 'dashboard_result_id': 17795558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917201_27-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917223, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28917595, 'dashboard_result_id': 17795559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917595_27-11-2025_05_54_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917627, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28918051, 'dashboard_result_id': 17795560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918051_27-11-2025_05_55_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28918065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28918071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918076, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28918621, 'dashboard_result_id': 17795561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918621_27-11-2025_05_55_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28918646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28918656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918657, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28919252, 'dashboard_result_id': 17795562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919252_27-11-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28919267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919275, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28919835, 'dashboard_result_id': 17795563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919835_27-11-2025_05_56_17.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28919868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919879, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28920340, 'dashboard_result_id': 17795564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28920340_27-11-2025_05_56_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28920355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28920356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28920357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28920358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28920359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28920360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28920361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28920362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28920363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28920364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28920365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28920366, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28922411, 'dashboard_result_id': 17795565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922411_27-11-2025_05_57_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922449, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28922474, 'dashboard_result_id': 17795566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922474_27-11-2025_05_57_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922493, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28922881, 'dashboard_result_id': 17795567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922881_27-11-2025_05_58_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922911, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28923395, 'dashboard_result_id': 17795568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923395_27-11-2025_05_58_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923415, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28923723, 'dashboard_result_id': 17795569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923723_27-11-2025_05_59_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923743, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28924491, 'dashboard_result_id': 17795570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924491_27-11-2025_05_59_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924505, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28924737, 'dashboard_result_id': 17795571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924737_27-11-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924766, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28925052, 'dashboard_result_id': 17795572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925052_27-11-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28925056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925067, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28925388, 'dashboard_result_id': 17795573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925388_27-11-2025_06_01_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925403, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28925809, 'dashboard_result_id': 17795574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925809_27-11-2025_06_01_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925865, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28926350, 'dashboard_result_id': 17795575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926350_27-11-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28926400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926404, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28926782, 'dashboard_result_id': 17795576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926782_27-11-2025_06_02_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28926792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926803, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28927227, 'dashboard_result_id': 17795577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927227_27-11-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927246, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28927762, 'dashboard_result_id': 17795578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927762_27-11-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927774, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28929053, 'dashboard_result_id': 17795579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929053_27-11-2025_06_04_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929072, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28929360, 'dashboard_result_id': 17795580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929360_27-11-2025_06_04_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929380, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28930056, 'dashboard_result_id': 17795581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930056_27-11-2025_06_05_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930073, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28930443, 'dashboard_result_id': 17795582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930443_27-11-2025_06_05_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930480, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28930981, 'dashboard_result_id': 17795583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930981_27-11-2025_06_06_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931035, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28931539, 'dashboard_result_id': 17795584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931539_27-11-2025_06_06_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931559, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28931940, 'dashboard_result_id': 17795585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931940_27-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931969, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28932297, 'dashboard_result_id': 17795586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932297_27-11-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28932321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28932322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932332, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28932939, 'dashboard_result_id': 17795587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932939_27-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28932959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28932967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932970, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28933648, 'dashboard_result_id': 17795588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28933648_27-11-2025_06_08_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28933664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28933665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28933666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28933667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28933668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28933669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28933670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28933671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28933672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28933673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28933674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28933675, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28934284, 'dashboard_result_id': 17795589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28934284_27-11-2025_06_08_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28934308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28934309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28934310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28934311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28934312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28934313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28934314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28934315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28934316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28934317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28934318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28934319, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28935650, 'dashboard_result_id': 17795590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935650_27-11-2025_06_08_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935664, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28935850, 'dashboard_result_id': 17795591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935850_27-11-2025_06_09_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935908, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28936305, 'dashboard_result_id': 17795592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_26-11-2025_21_48_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28936323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28936327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936334, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28936772, 'dashboard_result_id': 17795593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936772_26-11-2025_22_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28936784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28936793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936795, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28937160, 'dashboard_result_id': 17795594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937160_26-11-2025_22_17_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937190, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28937812, 'dashboard_result_id': 17795595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937812_26-11-2025_22_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937828, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28938402, 'dashboard_result_id': 17795596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938402_26-11-2025_22_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938430, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28938932, 'dashboard_result_id': 17795597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938932_26-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938944, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28939482, 'dashboard_result_id': 17795598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939482_26-11-2025_23_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28939507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28939509, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28939510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28939511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28939512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28939513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28939514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28939515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28939516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28939517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28939518, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28939972, 'dashboard_result_id': 17795599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939972_26-11-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940032, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28940666, 'dashboard_result_id': 17795600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28940666_26-11-2025_23_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940721, 'pht': 3726}}"}, {'dashboat_entry_day': 2645256, 'dashboard_run_id': 2660694, 'mtr_portfolio_id': 28941310, 'dashboard_result_id': 17795601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28941310_27-11-2025_01_24_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28941314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28941315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28941316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28941317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28941318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28941319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28941320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28941321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28941322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28941323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28941324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28941325, '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 = 28898557 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': 4127247, 'mtr_portfolio_id': 28898557, 'created_at': datetime.datetime(2025, 11, 27, 5, 34, 32), 'result': '0.05394449971661269', 'result_long': None, 'result_double': None}] Qualite : 0.05394449971661269 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28898557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_27-11-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28898557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_27-11-2025_05_34_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, 'pht': 3726}}" where mtr_portfolio_id = 28898557 and dashboard_run_id = 2660694 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`=28898557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795523, 0.05394449971661269, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28898557_27-11-2025_05_34_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28898574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28898575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28898576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28898577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28898578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28898579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28898580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28898581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28898582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28898583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28898584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28898585, '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 = 28899108 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': 4127248, 'mtr_portfolio_id': 28899108, 'created_at': datetime.datetime(2025, 11, 27, 5, 34, 29), 'result': '0.05516349513922095', 'result_long': None, 'result_double': None}] Qualite : 0.05516349513922095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28899108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899108_27-11-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28899108 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899108_27-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899123, 'pht': 3726}}" where mtr_portfolio_id = 28899108 and dashboard_run_id = 2660694 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`=28899108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795524, 0.05516349513922095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899108_27-11-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899123, '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 = 28899477 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': 4127249, 'mtr_portfolio_id': 28899477, 'created_at': datetime.datetime(2025, 11, 27, 5, 35, 28), 'result': '0.03827495912559477', 'result_long': None, 'result_double': None}] Qualite : 0.03827495912559477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28899477 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899477_27-11-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28899477 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899477_27-11-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899509, 'pht': 3726}}" where mtr_portfolio_id = 28899477 and dashboard_run_id = 2660694 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`=28899477 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795525, 0.03827495912559477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28899477_27-11-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28899498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28899499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28899500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28899501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28899502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28899503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28899504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28899505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28899506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28899507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28899508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28899509, '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 = 28900036 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': 4127250, 'mtr_portfolio_id': 28900036, 'created_at': datetime.datetime(2025, 11, 27, 5, 35, 59), 'result': '0.05857703546022243', 'result_long': None, 'result_double': None}] Qualite : 0.05857703546022243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28900036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28900036_27-11-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28900036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28900036_27-11-2025_05_36_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28900057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28900058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28900059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28900060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28900061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28900062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28900063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28900064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28900065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28900066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28900067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28900068, 'pht': 3726}}" where mtr_portfolio_id = 28900036 and dashboard_run_id = 2660694 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`=28900036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795526, 0.05857703546022243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28900036_27-11-2025_05_36_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28900057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28900058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28900059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28900060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28900061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28900062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28900063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28900064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28900065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28900066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28900067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28900068, '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 = 28901576 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': 4127251, 'mtr_portfolio_id': 28901576, 'created_at': datetime.datetime(2025, 11, 27, 5, 36, 9), 'result': '0.05656861102239344', 'result_long': None, 'result_double': None}] Qualite : 0.05656861102239344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28901576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28901576_27-11-2025_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28901576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28901576_27-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28901580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28901581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28901582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28901583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28901584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28901585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28901586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28901587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28901588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28901589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28901590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28901591, 'pht': 3726}}" where mtr_portfolio_id = 28901576 and dashboard_run_id = 2660694 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`=28901576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795527, 0.05656861102239344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28901576_27-11-2025_05_36_12.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28901580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28901581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28901582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28901583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28901584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28901585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28901586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28901587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28901588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28901589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28901590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28901591, '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 = 28902220 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': 4127252, 'mtr_portfolio_id': 28902220, 'created_at': datetime.datetime(2025, 11, 27, 5, 36, 28), 'result': '0.05980008246336479', 'result_long': None, 'result_double': None}] Qualite : 0.05980008246336479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28902220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902220_27-11-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28902220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902220_27-11-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902276, 'pht': 3726}}" where mtr_portfolio_id = 28902220 and dashboard_run_id = 2660694 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`=28902220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795528, 0.05980008246336479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902220_27-11-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902276, '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 = 28902821 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': 4127253, 'mtr_portfolio_id': 28902821, 'created_at': datetime.datetime(2025, 11, 27, 5, 37, 29), 'result': '0.04737130629351674', 'result_long': None, 'result_double': None}] Qualite : 0.04737130629351674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28902821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902821_27-11-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28902821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902821_27-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902846, 'pht': 3726}}" where mtr_portfolio_id = 28902821 and dashboard_run_id = 2660694 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`=28902821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795529, 0.04737130629351674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28902821_27-11-2025_05_37_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28902835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28902836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28902837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28902838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28902839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28902840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28902841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28902842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28902843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28902844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28902845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28902846, '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 = 28903442 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': 4127254, 'mtr_portfolio_id': 28903442, 'created_at': datetime.datetime(2025, 11, 27, 5, 37, 58), 'result': '0.059492580833250534', 'result_long': None, 'result_double': None}] Qualite : 0.059492580833250534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28903442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903442_27-11-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28903442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903442_27-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28903479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903486, 'pht': 3726}}" where mtr_portfolio_id = 28903442 and dashboard_run_id = 2660694 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`=28903442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795530, 0.059492580833250534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903442_27-11-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28903479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903486, '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 = 28903872 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': 4127255, 'mtr_portfolio_id': 28903872, 'created_at': datetime.datetime(2025, 11, 27, 5, 38, 29), 'result': '0.05108653326940363', 'result_long': None, 'result_double': None}] Qualite : 0.05108653326940363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28903872 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903872_27-11-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28903872 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903872_27-11-2025_05_38_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28903884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903895, 'pht': 3726}}" where mtr_portfolio_id = 28903872 and dashboard_run_id = 2660694 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`=28903872 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795531, 0.05108653326940363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28903872_27-11-2025_05_38_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28903884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28903885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28903886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28903887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28903888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28903889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28903890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28903891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28903892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28903893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28903894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28903895, '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 = 28904559 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': 4127256, 'mtr_portfolio_id': 28904559, 'created_at': datetime.datetime(2025, 11, 27, 5, 39, 27), 'result': '0.054703058455693204', 'result_long': None, 'result_double': None}] Qualite : 0.054703058455693204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28904559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904559_27-11-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28904559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904559_27-11-2025_05_39_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904579, 'pht': 3726}}" where mtr_portfolio_id = 28904559 and dashboard_run_id = 2660694 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`=28904559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795532, 0.054703058455693204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904559_27-11-2025_05_39_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904574, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904579, '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 = 28904971 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': 4127257, 'mtr_portfolio_id': 28904971, 'created_at': datetime.datetime(2025, 11, 27, 5, 39, 59), 'result': '0.04195863364783513', 'result_long': None, 'result_double': None}] Qualite : 0.04195863364783513 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28904971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904971_27-11-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28904971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904971_27-11-2025_05_40_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904989, 'pht': 3726}}" where mtr_portfolio_id = 28904971 and dashboard_run_id = 2660694 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`=28904971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795533, 0.04195863364783513, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28904971_27-11-2025_05_40_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28904977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28904978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28904979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28904980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28904981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28904982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28904983, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28904984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28904985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28904986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28904988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28904989, '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 = 28905396 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': 4127258, 'mtr_portfolio_id': 28905396, 'created_at': datetime.datetime(2025, 11, 27, 5, 40, 58), 'result': '0.04617138363196753', 'result_long': None, 'result_double': None}] Qualite : 0.04617138363196753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28905396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905396_27-11-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28905396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905396_27-11-2025_05_41_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905416, 'pht': 3726}}" where mtr_portfolio_id = 28905396 and dashboard_run_id = 2660694 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`=28905396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795534, 0.04617138363196753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905396_27-11-2025_05_41_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905416, '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 = 28905985 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': 4127259, 'mtr_portfolio_id': 28905985, 'created_at': datetime.datetime(2025, 11, 27, 5, 41, 12), 'result': '0.07757966975541304', 'result_long': None, 'result_double': None}] Qualite : 0.07757966975541304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28905985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905985_27-11-2025_05_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28905985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905985_27-11-2025_05_41_14.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905997, 'pht': 3726}}" where mtr_portfolio_id = 28905985 and dashboard_run_id = 2660694 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`=28905985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795535, 0.07757966975541304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28905985_27-11-2025_05_41_14.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28905986, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28905987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28905988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28905989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28905990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28905991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28905992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28905993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28905994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28905995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28905996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28905997, '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 = 28906213 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': 4127260, 'mtr_portfolio_id': 28906213, 'created_at': datetime.datetime(2025, 11, 27, 5, 41, 31), 'result': '0.05796291100549329', 'result_long': None, 'result_double': None}] Qualite : 0.05796291100549329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28906213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906213_27-11-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28906213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906213_27-11-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906233, 'pht': 3726}}" where mtr_portfolio_id = 28906213 and dashboard_run_id = 2660694 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`=28906213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795536, 0.05796291100549329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906213_27-11-2025_05_41_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906233, '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 = 28906581 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': 4127261, 'mtr_portfolio_id': 28906581, 'created_at': datetime.datetime(2025, 11, 27, 5, 42, 1), 'result': '0.04931454709123725', 'result_long': None, 'result_double': None}] Qualite : 0.04931454709123725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28906581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906581_27-11-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28906581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906581_27-11-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906601, 'pht': 3726}}" where mtr_portfolio_id = 28906581 and dashboard_run_id = 2660694 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`=28906581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795537, 0.04931454709123725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28906581_27-11-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28906590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28906591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28906592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28906593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28906594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28906595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28906596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28906597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28906598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28906599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28906600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28906601, '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 = 28907660 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': 4127262, 'mtr_portfolio_id': 28907660, 'created_at': datetime.datetime(2025, 11, 27, 5, 42, 29), 'result': '0.04015341783128137', 'result_long': None, 'result_double': None}] Qualite : 0.04015341783128137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28907660 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907660_27-11-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28907660 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907660_27-11-2025_05_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28907662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907673, 'pht': 3726}}" where mtr_portfolio_id = 28907660 and dashboard_run_id = 2660694 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`=28907660 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795538, 0.04015341783128137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907660_27-11-2025_05_42_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28907662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907673, '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 = 28907924 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': 4127263, 'mtr_portfolio_id': 28907924, 'created_at': datetime.datetime(2025, 11, 27, 5, 43, 27), 'result': '0.06632072854826689', 'result_long': None, 'result_double': None}] Qualite : 0.06632072854826689 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28907924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907924_27-11-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28907924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907924_27-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28907938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907941, 'pht': 3726}}" where mtr_portfolio_id = 28907924 and dashboard_run_id = 2660694 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`=28907924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795539, 0.06632072854826689, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28907924_27-11-2025_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28907930, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28907931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28907932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28907933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28907934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28907935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28907937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28907938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28907940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28907941, '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 = 28908296 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': 4127264, 'mtr_portfolio_id': 28908296, 'created_at': datetime.datetime(2025, 11, 27, 5, 43, 59), 'result': '0.059667557973038486', 'result_long': None, 'result_double': None}] Qualite : 0.059667557973038486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28908296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908296_27-11-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28908296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908296_27-11-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28908300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28908301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908311, 'pht': 3726}}" where mtr_portfolio_id = 28908296 and dashboard_run_id = 2660694 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`=28908296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795540, 0.059667557973038486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908296_27-11-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28908300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28908301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908311, '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 = 28908732 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': 4127265, 'mtr_portfolio_id': 28908732, 'created_at': datetime.datetime(2025, 11, 27, 5, 44, 29), 'result': '0.032861999654365176', 'result_long': None, 'result_double': None}] Qualite : 0.032861999654365176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28908732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908732_27-11-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28908732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908732_27-11-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28908736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28908747, 'pht': 3726}}" where mtr_portfolio_id = 28908732 and dashboard_run_id = 2660694 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`=28908732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795541, 0.032861999654365176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28908732_27-11-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28908736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28908737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28908738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28908739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28908740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28908741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28908742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28908743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28908744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28908745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28908746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28908747, '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 = 28909080 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': 4127266, 'mtr_portfolio_id': 28909080, 'created_at': datetime.datetime(2025, 11, 27, 5, 45, 29), 'result': '0.06174916231617656', 'result_long': None, 'result_double': None}] Qualite : 0.06174916231617656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28909080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909080_27-11-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28909080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909080_27-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28909089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909100, 'pht': 3726}}" where mtr_portfolio_id = 28909080 and dashboard_run_id = 2660694 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`=28909080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795542, 0.06174916231617656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909080_27-11-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28909089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909100, '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 = 28909644 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': 4127267, 'mtr_portfolio_id': 28909644, 'created_at': datetime.datetime(2025, 11, 27, 5, 45, 59), 'result': '0.05838132348809488', 'result_long': None, 'result_double': None}] Qualite : 0.05838132348809488 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28909644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909644_27-11-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28909644 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909644_27-11-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28909655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909660, 'pht': 3726}}" where mtr_portfolio_id = 28909644 and dashboard_run_id = 2660694 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`=28909644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795543, 0.05838132348809488, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28909644_27-11-2025_05_46_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28909648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28909649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28909650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28909651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28909652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28909653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28909654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28909655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28909656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28909657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28909658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28909660, '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 = 28910115 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': 4127268, 'mtr_portfolio_id': 28910115, 'created_at': datetime.datetime(2025, 11, 27, 5, 46, 7), 'result': '0.0574354600489969', 'result_long': None, 'result_double': None}] Qualite : 0.0574354600489969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28910115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910115_27-11-2025_05_46_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28910115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910115_27-11-2025_05_46_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910152, 'pht': 3726}}" where mtr_portfolio_id = 28910115 and dashboard_run_id = 2660694 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`=28910115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795544, 0.0574354600489969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910115_27-11-2025_05_46_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910152, '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 = 28910559 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': 4127269, 'mtr_portfolio_id': 28910559, 'created_at': datetime.datetime(2025, 11, 27, 5, 46, 29), 'result': '0.036120422109753206', 'result_long': None, 'result_double': None}] Qualite : 0.036120422109753206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28910559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910559_27-11-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28910559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910559_27-11-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910579, 'pht': 3726}}" where mtr_portfolio_id = 28910559 and dashboard_run_id = 2660694 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`=28910559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795545, 0.036120422109753206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910559_27-11-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28910568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910576, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910579, '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 = 28910922 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': 4127270, 'mtr_portfolio_id': 28910922, 'created_at': datetime.datetime(2025, 11, 27, 5, 47, 31), 'result': '0.06936936444996028', 'result_long': None, 'result_double': None}] Qualite : 0.06936936444996028 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28910922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910922_27-11-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28910922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910922_27-11-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28910956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910959, 'pht': 3726}}" where mtr_portfolio_id = 28910922 and dashboard_run_id = 2660694 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`=28910922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795546, 0.06936936444996028, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28910922_27-11-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28910948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28910949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28910950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28910951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28910952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28910953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28910954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28910955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28910956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28910957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28910958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28910959, '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 = 28911433 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': 4127271, 'mtr_portfolio_id': 28911433, 'created_at': datetime.datetime(2025, 11, 27, 5, 48, 1), 'result': '0.04827557268328275', 'result_long': None, 'result_double': None}] Qualite : 0.04827557268328275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28911433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28911433_27-11-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28911433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28911433_27-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28911438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28911439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28911440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28911441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28911442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28911443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28911444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28911445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28911446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28911447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28911448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28911449, 'pht': 3726}}" where mtr_portfolio_id = 28911433 and dashboard_run_id = 2660694 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`=28911433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795547, 0.04827557268328275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28911433_27-11-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28911438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28911439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28911440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28911441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28911442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28911443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28911444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28911445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28911446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28911447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28911448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28911449, '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 = 28912015 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': 4127272, 'mtr_portfolio_id': 28912015, 'created_at': datetime.datetime(2025, 11, 27, 5, 48, 28), 'result': '0.04560568099757274', 'result_long': None, 'result_double': None}] Qualite : 0.04560568099757274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28912015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912015_27-11-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28912015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912015_27-11-2025_05_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912030, 'pht': 3726}}" where mtr_portfolio_id = 28912015 and dashboard_run_id = 2660694 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`=28912015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795548, 0.04560568099757274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912015_27-11-2025_05_48_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912030, '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 = 28912359 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': 4127273, 'mtr_portfolio_id': 28912359, 'created_at': datetime.datetime(2025, 11, 27, 5, 49, 30), 'result': '0.05690841782090335', 'result_long': None, 'result_double': None}] Qualite : 0.05690841782090335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28912359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912359_27-11-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28912359 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912359_27-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912371, 'pht': 3726}}" where mtr_portfolio_id = 28912359 and dashboard_run_id = 2660694 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`=28912359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795549, 0.05690841782090335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912359_27-11-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912371, '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 = 28912788 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': 4127274, 'mtr_portfolio_id': 28912788, 'created_at': datetime.datetime(2025, 11, 27, 5, 49, 58), 'result': '0.04577753102495177', 'result_long': None, 'result_double': None}] Qualite : 0.04577753102495177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28912788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912788_27-11-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28912788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912788_27-11-2025_05_50_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912847, 'pht': 3726}}" where mtr_portfolio_id = 28912788 and dashboard_run_id = 2660694 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`=28912788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795550, 0.04577753102495177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28912788_27-11-2025_05_50_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28912832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28912834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28912835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28912836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28912838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28912839, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28912840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28912842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28912843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28912845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28912846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28912847, '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 = 28913393 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': 4127275, 'mtr_portfolio_id': 28913393, 'created_at': datetime.datetime(2025, 11, 27, 5, 50, 31), 'result': '0.06012132946678971', 'result_long': None, 'result_double': None}] Qualite : 0.06012132946678971 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28913393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913393_27-11-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28913393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913393_27-11-2025_05_50_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913430, 'pht': 3726}}" where mtr_portfolio_id = 28913393 and dashboard_run_id = 2660694 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`=28913393 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795551, 0.06012132946678971, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913393_27-11-2025_05_50_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913430, '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 = 28913888 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': 4127276, 'mtr_portfolio_id': 28913888, 'created_at': datetime.datetime(2025, 11, 27, 5, 51, 1), 'result': '0.04163991964852251', 'result_long': None, 'result_double': None}] Qualite : 0.04163991964852251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28913888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913888_27-11-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28913888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913888_27-11-2025_05_51_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913927, 'pht': 3726}}" where mtr_portfolio_id = 28913888 and dashboard_run_id = 2660694 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`=28913888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795552, 0.04163991964852251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28913888_27-11-2025_05_51_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28913916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28913917, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28913918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28913919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28913920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28913921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28913922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28913923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28913924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28913925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28913926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28913927, '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 = 28914399 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': 4127277, 'mtr_portfolio_id': 28914399, 'created_at': datetime.datetime(2025, 11, 27, 5, 51, 12), 'result': '0.05381235541824598', 'result_long': None, 'result_double': None}] Qualite : 0.05381235541824598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28914399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28914399_27-11-2025_05_51_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28914399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28914399_27-11-2025_05_51_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28914450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28914451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28914452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28914453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28914454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28914455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28914456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28914457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28914458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28914459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28914460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28914461, 'pht': 3726}}" where mtr_portfolio_id = 28914399 and dashboard_run_id = 2660694 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`=28914399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795553, 0.05381235541824598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28914399_27-11-2025_05_51_15.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28914450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28914451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28914452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28914453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28914454, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28914455, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28914456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28914457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28914458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28914459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28914460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28914461, '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 = 28915629 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': 4127278, 'mtr_portfolio_id': 28915629, 'created_at': datetime.datetime(2025, 11, 27, 5, 51, 29), 'result': '0.06393978520660638', 'result_long': None, 'result_double': None}] Qualite : 0.06393978520660638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28915629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28915629_27-11-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28915629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28915629_27-11-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28915657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28915658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28915659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28915660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28915661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28915662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28915663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28915664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28915665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28915666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28915667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28915668, 'pht': 3726}}" where mtr_portfolio_id = 28915629 and dashboard_run_id = 2660694 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`=28915629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795554, 0.06393978520660638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28915629_27-11-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28915657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28915658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28915659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28915660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28915661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28915662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28915663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28915664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28915665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28915666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28915667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28915668, '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 = 28916048 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': 4127279, 'mtr_portfolio_id': 28916048, 'created_at': datetime.datetime(2025, 11, 27, 5, 51, 57), 'result': '0.07046426306081295', 'result_long': None, 'result_double': None}] Qualite : 0.07046426306081295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28916048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916048_27-11-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28916048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916048_27-11-2025_05_51_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28916071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916082, 'pht': 3726}}" where mtr_portfolio_id = 28916048 and dashboard_run_id = 2660694 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`=28916048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795555, 0.07046426306081295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916048_27-11-2025_05_51_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28916071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916073, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916082, '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 = 28916689 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': 4127280, 'mtr_portfolio_id': 28916689, 'created_at': datetime.datetime(2025, 11, 27, 5, 52, 31), 'result': '0.042020991273958766', 'result_long': None, 'result_double': None}] Qualite : 0.042020991273958766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28916689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916689_27-11-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28916689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916689_27-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916705, 'pht': 3726}}" where mtr_portfolio_id = 28916689 and dashboard_run_id = 2660694 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`=28916689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795556, 0.042020991273958766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916689_27-11-2025_05_52_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916705, '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 = 28916775 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': 4127281, 'mtr_portfolio_id': 28916775, 'created_at': datetime.datetime(2025, 11, 27, 5, 53, 26), 'result': '0.06491403558914698', 'result_long': None, 'result_double': None}] Qualite : 0.06491403558914698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28916775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916775_27-11-2025_05_53_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28916775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916775_27-11-2025_05_53_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916812, 'pht': 3726}}" where mtr_portfolio_id = 28916775 and dashboard_run_id = 2660694 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`=28916775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795557, 0.06491403558914698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28916775_27-11-2025_05_53_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28916801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28916802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28916803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28916804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28916805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28916806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28916807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28916808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28916809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28916810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28916811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28916812, '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 = 28917201 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': 4127282, 'mtr_portfolio_id': 28917201, 'created_at': datetime.datetime(2025, 11, 27, 5, 53, 57), 'result': '0.056291303205360625', 'result_long': None, 'result_double': None}] Qualite : 0.056291303205360625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28917201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917201_27-11-2025_05_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28917201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917201_27-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917223, 'pht': 3726}}" where mtr_portfolio_id = 28917201 and dashboard_run_id = 2660694 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`=28917201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795558, 0.056291303205360625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917201_27-11-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917212, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917223, '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 = 28917595 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': 4127283, 'mtr_portfolio_id': 28917595, 'created_at': datetime.datetime(2025, 11, 27, 5, 54, 29), 'result': '0.059810512347047706', 'result_long': None, 'result_double': None}] Qualite : 0.059810512347047706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28917595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917595_27-11-2025_05_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28917595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917595_27-11-2025_05_54_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917627, 'pht': 3726}}" where mtr_portfolio_id = 28917595 and dashboard_run_id = 2660694 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`=28917595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795559, 0.059810512347047706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28917595_27-11-2025_05_54_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28917616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28917617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28917618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28917619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28917620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28917621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28917622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28917623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28917624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28917625, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28917626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28917627, '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 = 28918051 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': 4127284, 'mtr_portfolio_id': 28918051, 'created_at': datetime.datetime(2025, 11, 27, 5, 54, 58), 'result': '0.05850851459258535', 'result_long': None, 'result_double': None}] Qualite : 0.05850851459258535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28918051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918051_27-11-2025_05_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28918051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918051_27-11-2025_05_55_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28918065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28918071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918076, 'pht': 3726}}" where mtr_portfolio_id = 28918051 and dashboard_run_id = 2660694 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`=28918051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795560, 0.05850851459258535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918051_27-11-2025_05_55_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28918065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918066, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918067, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28918071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918072, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918076, '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 = 28918621 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': 4127285, 'mtr_portfolio_id': 28918621, 'created_at': datetime.datetime(2025, 11, 27, 5, 55, 28), 'result': '0.04493006329245947', 'result_long': None, 'result_double': None}] Qualite : 0.04493006329245947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28918621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918621_27-11-2025_05_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28918621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918621_27-11-2025_05_55_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28918646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28918656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918657, 'pht': 3726}}" where mtr_portfolio_id = 28918621 and dashboard_run_id = 2660694 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`=28918621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795561, 0.04493006329245947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28918621_27-11-2025_05_55_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28918646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28918647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28918648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28918649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28918650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28918651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28918652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28918653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28918654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28918655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28918656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28918657, '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 = 28919252 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': 4127286, 'mtr_portfolio_id': 28919252, 'created_at': datetime.datetime(2025, 11, 27, 5, 56), 'result': '0.04133994417789811', 'result_long': None, 'result_double': None}] Qualite : 0.04133994417789811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28919252 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919252_27-11-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28919252 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919252_27-11-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28919267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919275, 'pht': 3726}}" where mtr_portfolio_id = 28919252 and dashboard_run_id = 2660694 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`=28919252 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795562, 0.04133994417789811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919252_27-11-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28919267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919275, '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 = 28919835 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': 4127287, 'mtr_portfolio_id': 28919835, 'created_at': datetime.datetime(2025, 11, 27, 5, 56, 13), 'result': '0.04111584262007608', 'result_long': None, 'result_double': None}] Qualite : 0.04111584262007608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28919835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919835_27-11-2025_05_56_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28919835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919835_27-11-2025_05_56_17.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28919868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919879, 'pht': 3726}}" where mtr_portfolio_id = 28919835 and dashboard_run_id = 2660694 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`=28919835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795563, 0.04111584262007608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28919835_27-11-2025_05_56_17.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28919868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28919869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28919870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28919871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28919872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28919873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28919874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28919875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28919876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28919877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28919878, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28919879, '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 = 28920340 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': 4127288, 'mtr_portfolio_id': 28920340, 'created_at': datetime.datetime(2025, 11, 27, 5, 56, 30), 'result': '0.03624294147781854', 'result_long': None, 'result_double': None}] Qualite : 0.03624294147781854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28920340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28920340_27-11-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28920340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28920340_27-11-2025_05_56_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28920355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28920356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28920357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28920358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28920359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28920360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28920361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28920362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28920363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28920364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28920365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28920366, 'pht': 3726}}" where mtr_portfolio_id = 28920340 and dashboard_run_id = 2660694 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`=28920340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795564, 0.03624294147781854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28920340_27-11-2025_05_56_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28920355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28920356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28920357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28920358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28920359, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28920360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28920361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28920362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28920363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28920364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28920365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28920366, '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 = 28922411 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': 4127289, 'mtr_portfolio_id': 28922411, 'created_at': datetime.datetime(2025, 11, 27, 5, 56, 59), 'result': '0.0036032707492676566', 'result_long': None, 'result_double': None}] Qualite : 0.0036032707492676566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28922411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922411_27-11-2025_05_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28922411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922411_27-11-2025_05_57_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922449, 'pht': 3726}}" where mtr_portfolio_id = 28922411 and dashboard_run_id = 2660694 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`=28922411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795565, 0.0036032707492676566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922411_27-11-2025_05_57_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922449, '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 = 28922474 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': 4127290, 'mtr_portfolio_id': 28922474, 'created_at': datetime.datetime(2025, 11, 27, 5, 57, 28), 'result': '0.04643860713491083', 'result_long': None, 'result_double': None}] Qualite : 0.04643860713491083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28922474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922474_27-11-2025_05_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28922474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922474_27-11-2025_05_57_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922493, 'pht': 3726}}" where mtr_portfolio_id = 28922474 and dashboard_run_id = 2660694 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`=28922474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795566, 0.04643860713491083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922474_27-11-2025_05_57_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922493, '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 = 28922881 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': 4127291, 'mtr_portfolio_id': 28922881, 'created_at': datetime.datetime(2025, 11, 27, 5, 57, 58), 'result': '0.0400574526026863', 'result_long': None, 'result_double': None}] Qualite : 0.0400574526026863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28922881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922881_27-11-2025_05_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28922881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922881_27-11-2025_05_58_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922911, 'pht': 3726}}" where mtr_portfolio_id = 28922881 and dashboard_run_id = 2660694 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`=28922881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795567, 0.0400574526026863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28922881_27-11-2025_05_58_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28922900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28922901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28922902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28922903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28922904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28922905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28922906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28922907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28922908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28922909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28922910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28922911, '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 = 28923395 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': 4127292, 'mtr_portfolio_id': 28923395, 'created_at': datetime.datetime(2025, 11, 27, 5, 58, 28), 'result': '0.040603803683745644', 'result_long': None, 'result_double': None}] Qualite : 0.040603803683745644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28923395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923395_27-11-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28923395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923395_27-11-2025_05_58_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923415, 'pht': 3726}}" where mtr_portfolio_id = 28923395 and dashboard_run_id = 2660694 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`=28923395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795568, 0.040603803683745644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923395_27-11-2025_05_58_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923406, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923414, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923415, '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 = 28923723 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': 4127293, 'mtr_portfolio_id': 28923723, 'created_at': datetime.datetime(2025, 11, 27, 5, 58, 59), 'result': '0.03560333871056373', 'result_long': None, 'result_double': None}] Qualite : 0.03560333871056373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28923723 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923723_27-11-2025_05_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28923723 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923723_27-11-2025_05_59_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923743, 'pht': 3726}}" where mtr_portfolio_id = 28923723 and dashboard_run_id = 2660694 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`=28923723 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795569, 0.03560333871056373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28923723_27-11-2025_05_59_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28923732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28923733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28923734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28923735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28923736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28923737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28923738, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28923739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28923740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28923741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28923742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28923743, '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 = 28924491 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': 4127294, 'mtr_portfolio_id': 28924491, 'created_at': datetime.datetime(2025, 11, 27, 5, 59, 28), 'result': '0.03398084301084042', 'result_long': None, 'result_double': None}] Qualite : 0.03398084301084042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28924491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924491_27-11-2025_05_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28924491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924491_27-11-2025_05_59_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924505, 'pht': 3726}}" where mtr_portfolio_id = 28924491 and dashboard_run_id = 2660694 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`=28924491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795570, 0.03398084301084042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924491_27-11-2025_05_59_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924505, '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 = 28924737 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': 4127295, 'mtr_portfolio_id': 28924737, 'created_at': datetime.datetime(2025, 11, 27, 6, 0, 32), 'result': '0.08681097654887977', 'result_long': None, 'result_double': None}] Qualite : 0.08681097654887977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28924737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924737_27-11-2025_06_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28924737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924737_27-11-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924766, 'pht': 3726}}" where mtr_portfolio_id = 28924737 and dashboard_run_id = 2660694 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`=28924737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795571, 0.08681097654887977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28924737_27-11-2025_06_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28924755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28924756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28924757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28924758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28924759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28924760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28924761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28924762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28924763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28924764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28924765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28924766, '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 = 28925052 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': 4127296, 'mtr_portfolio_id': 28925052, 'created_at': datetime.datetime(2025, 11, 27, 6, 0, 59), 'result': '0.023665577916490214', 'result_long': None, 'result_double': None}] Qualite : 0.023665577916490214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28925052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925052_27-11-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28925052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925052_27-11-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28925056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925067, 'pht': 3726}}" where mtr_portfolio_id = 28925052 and dashboard_run_id = 2660694 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`=28925052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795572, 0.023665577916490214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925052_27-11-2025_06_01_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28925056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925067, '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 = 28925388 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': 4127297, 'mtr_portfolio_id': 28925388, 'created_at': datetime.datetime(2025, 11, 27, 6, 1, 8), 'result': '0.07251130195025171', 'result_long': None, 'result_double': None}] Qualite : 0.07251130195025171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28925388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925388_27-11-2025_06_01_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28925388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925388_27-11-2025_06_01_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925403, 'pht': 3726}}" where mtr_portfolio_id = 28925388 and dashboard_run_id = 2660694 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`=28925388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795573, 0.07251130195025171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925388_27-11-2025_06_01_11.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925403, '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 = 28925809 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': 4127298, 'mtr_portfolio_id': 28925809, 'created_at': datetime.datetime(2025, 11, 27, 6, 1, 29), 'result': '0.04277095037747571', 'result_long': None, 'result_double': None}] Qualite : 0.04277095037747571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28925809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925809_27-11-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28925809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925809_27-11-2025_06_01_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925865, 'pht': 3726}}" where mtr_portfolio_id = 28925809 and dashboard_run_id = 2660694 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`=28925809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795574, 0.04277095037747571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28925809_27-11-2025_06_01_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28925854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28925855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28925856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28925857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28925858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28925859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28925860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28925861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28925862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28925863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28925864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28925865, '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 = 28926350 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': 4127299, 'mtr_portfolio_id': 28926350, 'created_at': datetime.datetime(2025, 11, 27, 6, 2, 1), 'result': '0.037393117005423075', 'result_long': None, 'result_double': None}] Qualite : 0.037393117005423075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28926350 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926350_27-11-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28926350 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926350_27-11-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28926400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926404, 'pht': 3726}}" where mtr_portfolio_id = 28926350 and dashboard_run_id = 2660694 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`=28926350 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795575, 0.037393117005423075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926350_27-11-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926393, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28926400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926404, '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 = 28926782 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': 4127300, 'mtr_portfolio_id': 28926782, 'created_at': datetime.datetime(2025, 11, 27, 6, 2, 27), 'result': '0.04461058578521896', 'result_long': None, 'result_double': None}] Qualite : 0.04461058578521896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28926782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926782_27-11-2025_06_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28926782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926782_27-11-2025_06_02_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28926792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926803, 'pht': 3726}}" where mtr_portfolio_id = 28926782 and dashboard_run_id = 2660694 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`=28926782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795576, 0.04461058578521896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28926782_27-11-2025_06_02_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28926792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28926793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28926794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28926795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28926797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28926798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28926799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28926800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28926801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28926802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28926803, '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 = 28927227 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': 4127301, 'mtr_portfolio_id': 28927227, 'created_at': datetime.datetime(2025, 11, 27, 6, 2, 58), 'result': '0.045007726426126625', 'result_long': None, 'result_double': None}] Qualite : 0.045007726426126625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28927227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927227_27-11-2025_06_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28927227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927227_27-11-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927246, 'pht': 3726}}" where mtr_portfolio_id = 28927227 and dashboard_run_id = 2660694 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`=28927227 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795577, 0.045007726426126625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927227_27-11-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927246, '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 = 28927762 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': 4127302, 'mtr_portfolio_id': 28927762, 'created_at': datetime.datetime(2025, 11, 27, 6, 3, 31), 'result': '0.03934844771404355', 'result_long': None, 'result_double': None}] Qualite : 0.03934844771404355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28927762 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927762_27-11-2025_06_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28927762 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927762_27-11-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927774, 'pht': 3726}}" where mtr_portfolio_id = 28927762 and dashboard_run_id = 2660694 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`=28927762 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795578, 0.03934844771404355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28927762_27-11-2025_06_03_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28927763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28927764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28927765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28927766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28927767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28927768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28927769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28927770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28927771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28927772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28927773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28927774, '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 = 28929053 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': 4127303, 'mtr_portfolio_id': 28929053, 'created_at': datetime.datetime(2025, 11, 27, 6, 3, 59), 'result': '0.06744873350264068', 'result_long': None, 'result_double': None}] Qualite : 0.06744873350264068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28929053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929053_27-11-2025_06_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28929053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929053_27-11-2025_06_04_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929072, 'pht': 3726}}" where mtr_portfolio_id = 28929053 and dashboard_run_id = 2660694 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`=28929053 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795579, 0.06744873350264068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929053_27-11-2025_06_04_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929072, '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 = 28929360 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': 4127304, 'mtr_portfolio_id': 28929360, 'created_at': datetime.datetime(2025, 11, 27, 6, 4, 31), 'result': '0.04923070190030078', 'result_long': None, 'result_double': None}] Qualite : 0.04923070190030078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28929360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929360_27-11-2025_06_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28929360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929360_27-11-2025_06_04_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929380, 'pht': 3726}}" where mtr_portfolio_id = 28929360 and dashboard_run_id = 2660694 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`=28929360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795580, 0.04923070190030078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28929360_27-11-2025_06_04_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28929369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28929370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28929371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28929372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28929373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28929374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28929375, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28929376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28929377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28929378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28929379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28929380, '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 = 28930056 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': 4127305, 'mtr_portfolio_id': 28930056, 'created_at': datetime.datetime(2025, 11, 27, 6, 5, 1), 'result': '0.04138952265585076', 'result_long': None, 'result_double': None}] Qualite : 0.04138952265585076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28930056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930056_27-11-2025_06_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28930056 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930056_27-11-2025_06_05_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930073, 'pht': 3726}}" where mtr_portfolio_id = 28930056 and dashboard_run_id = 2660694 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`=28930056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795581, 0.04138952265585076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930056_27-11-2025_06_05_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930073, '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 = 28930443 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': 4127306, 'mtr_portfolio_id': 28930443, 'created_at': datetime.datetime(2025, 11, 27, 6, 5, 30), 'result': '0.04736823039954279', 'result_long': None, 'result_double': None}] Qualite : 0.04736823039954279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28930443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930443_27-11-2025_06_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28930443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930443_27-11-2025_06_05_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930480, 'pht': 3726}}" where mtr_portfolio_id = 28930443 and dashboard_run_id = 2660694 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`=28930443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795582, 0.04736823039954279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930443_27-11-2025_06_05_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28930469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28930470, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28930471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28930472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28930473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28930474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28930475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28930476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28930477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28930478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28930479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28930480, '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 = 28930981 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': 4127307, 'mtr_portfolio_id': 28930981, 'created_at': datetime.datetime(2025, 11, 27, 6, 6), 'result': '0.03983275133936712', 'result_long': None, 'result_double': None}] Qualite : 0.03983275133936712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28930981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930981_27-11-2025_06_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28930981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930981_27-11-2025_06_06_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931035, 'pht': 3726}}" where mtr_portfolio_id = 28930981 and dashboard_run_id = 2660694 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`=28930981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795583, 0.03983275133936712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28930981_27-11-2025_06_06_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931035, '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 = 28931539 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': 4127308, 'mtr_portfolio_id': 28931539, 'created_at': datetime.datetime(2025, 11, 27, 6, 6, 13), 'result': '0.0543964338495548', 'result_long': None, 'result_double': None}] Qualite : 0.0543964338495548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28931539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931539_27-11-2025_06_06_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28931539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931539_27-11-2025_06_06_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931559, 'pht': 3726}}" where mtr_portfolio_id = 28931539 and dashboard_run_id = 2660694 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`=28931539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795584, 0.0543964338495548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931539_27-11-2025_06_06_17.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931551, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931559, '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 = 28931940 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': 4127309, 'mtr_portfolio_id': 28931940, 'created_at': datetime.datetime(2025, 11, 27, 6, 6, 29), 'result': '0.05862062434198358', 'result_long': None, 'result_double': None}] Qualite : 0.05862062434198358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28931940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931940_27-11-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28931940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931940_27-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931969, 'pht': 3726}}" where mtr_portfolio_id = 28931940 and dashboard_run_id = 2660694 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`=28931940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795585, 0.05862062434198358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28931940_27-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28931958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28931959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28931960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28931961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28931962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28931963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28931964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28931965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28931966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28931967, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28931968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28931969, '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 = 28932297 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': 4127310, 'mtr_portfolio_id': 28932297, 'created_at': datetime.datetime(2025, 11, 27, 6, 6, 59), 'result': '0.06062770792768141', 'result_long': None, 'result_double': None}] Qualite : 0.06062770792768141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28932297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932297_27-11-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28932297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932297_27-11-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28932321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28932322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932332, 'pht': 3726}}" where mtr_portfolio_id = 28932297 and dashboard_run_id = 2660694 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`=28932297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795586, 0.06062770792768141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932297_27-11-2025_06_07_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28932321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28932322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932332, '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 = 28932939 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': 4127311, 'mtr_portfolio_id': 28932939, 'created_at': datetime.datetime(2025, 11, 27, 6, 7, 29), 'result': '0.05278189762605214', 'result_long': None, 'result_double': None}] Qualite : 0.05278189762605214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28932939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932939_27-11-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28932939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932939_27-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28932959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28932967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932970, 'pht': 3726}}" where mtr_portfolio_id = 28932939 and dashboard_run_id = 2660694 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`=28932939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795587, 0.05278189762605214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28932939_27-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28932959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28932960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28932961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28932962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28932963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28932964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28932965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28932966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28932967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28932968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28932969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28932970, '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 = 28933648 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': 4127312, 'mtr_portfolio_id': 28933648, 'created_at': datetime.datetime(2025, 11, 27, 6, 7, 59), 'result': '0.056676308079598635', 'result_long': None, 'result_double': None}] Qualite : 0.056676308079598635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28933648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28933648_27-11-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28933648 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28933648_27-11-2025_06_08_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28933664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28933665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28933666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28933667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28933668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28933669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28933670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28933671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28933672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28933673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28933674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28933675, 'pht': 3726}}" where mtr_portfolio_id = 28933648 and dashboard_run_id = 2660694 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`=28933648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795588, 0.056676308079598635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28933648_27-11-2025_06_08_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28933664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28933665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28933666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28933667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28933668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28933669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28933670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28933671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28933672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28933673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28933674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28933675, '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 = 28934284 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': 4127313, 'mtr_portfolio_id': 28934284, 'created_at': datetime.datetime(2025, 11, 27, 6, 8, 28), 'result': '0.04992173407914045', 'result_long': None, 'result_double': None}] Qualite : 0.04992173407914045 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28934284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28934284_27-11-2025_06_08_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28934284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28934284_27-11-2025_06_08_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28934308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28934309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28934310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28934311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28934312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28934313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28934314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28934315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28934316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28934317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28934318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28934319, 'pht': 3726}}" where mtr_portfolio_id = 28934284 and dashboard_run_id = 2660694 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`=28934284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795589, 0.04992173407914045, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28934284_27-11-2025_06_08_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28934308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28934309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28934310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28934311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28934312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28934313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28934314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28934315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28934316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28934317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28934318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28934319, '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 = 28935650 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': 4127314, 'mtr_portfolio_id': 28935650, 'created_at': datetime.datetime(2025, 11, 27, 6, 8, 57), 'result': '0.027473713524050536', 'result_long': None, 'result_double': None}] Qualite : 0.027473713524050536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28935650 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935650_27-11-2025_06_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28935650 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935650_27-11-2025_06_08_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935664, 'pht': 3726}}" where mtr_portfolio_id = 28935650 and dashboard_run_id = 2660694 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`=28935650 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795590, 0.027473713524050536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935650_27-11-2025_06_08_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935658, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935664, '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 = 28935850 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': 4127315, 'mtr_portfolio_id': 28935850, 'created_at': datetime.datetime(2025, 11, 27, 6, 9, 30), 'result': '0.04819199223176635', 'result_long': None, 'result_double': None}] Qualite : 0.04819199223176635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28935850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935850_27-11-2025_06_09_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28935850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935850_27-11-2025_06_09_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935908, 'pht': 3726}}" where mtr_portfolio_id = 28935850 and dashboard_run_id = 2660694 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`=28935850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795591, 0.04819199223176635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28935850_27-11-2025_06_09_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28935897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28935898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28935899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28935900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28935901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28935902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28935903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28935904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28935905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28935906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28935907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28935908, '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 = 28936305 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': 4127316, 'mtr_portfolio_id': 28936305, 'created_at': datetime.datetime(2025, 11, 27, 6, 9, 59), 'result': '0.039186211884971935', 'result_long': None, 'result_double': None}] Qualite : 0.039186211884971935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28936305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_27-11-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28936305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_27-11-2025_06_10_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28936323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28936327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936334, 'pht': 3726}}" where mtr_portfolio_id = 28936305 and dashboard_run_id = 2660694 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`=28936305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795592, 0.039186211884971935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936305_27-11-2025_06_10_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28936323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28936327, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936334, '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 = 28936772 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': 4124124, 'mtr_portfolio_id': 28936772, 'created_at': datetime.datetime(2025, 11, 26, 22, 3, 32), 'result': '0.039101667188109424', 'result_long': None, 'result_double': None}] Qualite : 0.039101667188109424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28936772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936772_26-11-2025_22_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28936772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936772_26-11-2025_22_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28936784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28936793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936795, 'pht': 3726}}" where mtr_portfolio_id = 28936772 and dashboard_run_id = 2660694 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`=28936772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795593, 0.039101667188109424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28936772_26-11-2025_22_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28936784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28936785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28936786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28936787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28936788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28936789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28936790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28936791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28936792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28936793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28936794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28936795, '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 = 28937160 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': 4124261, 'mtr_portfolio_id': 28937160, 'created_at': datetime.datetime(2025, 11, 26, 22, 17, 29), 'result': '0.04673003497330538', 'result_long': None, 'result_double': None}] Qualite : 0.04673003497330538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28937160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937160_26-11-2025_22_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28937160 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937160_26-11-2025_22_17_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937190, 'pht': 3726}}" where mtr_portfolio_id = 28937160 and dashboard_run_id = 2660694 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`=28937160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795594, 0.04673003497330538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937160_26-11-2025_22_17_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937190, '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 = 28937812 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': 4124354, 'mtr_portfolio_id': 28937812, 'created_at': datetime.datetime(2025, 11, 26, 22, 32, 57), 'result': '0.05968492640901072', 'result_long': None, 'result_double': None}] Qualite : 0.05968492640901072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28937812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937812_26-11-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28937812 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937812_26-11-2025_22_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937828, 'pht': 3726}}" where mtr_portfolio_id = 28937812 and dashboard_run_id = 2660694 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`=28937812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795595, 0.05968492640901072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28937812_26-11-2025_22_32_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28937817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28937818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28937819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28937820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28937821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28937822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28937823, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28937824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28937825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28937826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28937827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28937828, '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 = 28938402 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': 4124429, 'mtr_portfolio_id': 28938402, 'created_at': datetime.datetime(2025, 11, 26, 22, 47, 28), 'result': '0.06015999243800929', 'result_long': None, 'result_double': None}] Qualite : 0.06015999243800929 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28938402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938402_26-11-2025_22_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28938402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938402_26-11-2025_22_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938430, 'pht': 3726}}" where mtr_portfolio_id = 28938402 and dashboard_run_id = 2660694 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`=28938402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795596, 0.06015999243800929, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938402_26-11-2025_22_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938427, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938430, '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 = 28938932 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': 4124491, 'mtr_portfolio_id': 28938932, 'created_at': datetime.datetime(2025, 11, 26, 23, 2, 56), 'result': '0.04281703108408874', 'result_long': None, 'result_double': None}] Qualite : 0.04281703108408874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28938932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938932_26-11-2025_23_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28938932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938932_26-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938944, 'pht': 3726}}" where mtr_portfolio_id = 28938932 and dashboard_run_id = 2660694 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`=28938932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795597, 0.04281703108408874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28938932_26-11-2025_23_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28938933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28938934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28938935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28938936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28938937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28938938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28938939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28938940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28938941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28938942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28938943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28938944, '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 = 28939482 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': 4124627, 'mtr_portfolio_id': 28939482, 'created_at': datetime.datetime(2025, 11, 26, 23, 16, 59), 'result': '0.047290384349406266', 'result_long': None, 'result_double': None}] Qualite : 0.047290384349406266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28939482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939482_26-11-2025_23_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28939482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939482_26-11-2025_23_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28939507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28939509, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28939510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28939511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28939512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28939513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28939514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28939515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28939516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28939517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28939518, 'pht': 3726}}" where mtr_portfolio_id = 28939482 and dashboard_run_id = 2660694 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`=28939482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795598, 0.047290384349406266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939482_26-11-2025_23_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28939507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28939508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28939509, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28939510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28939511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28939512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28939513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28939514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28939515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28939516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28939517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28939518, '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 = 28939972 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': 4124712, 'mtr_portfolio_id': 28939972, 'created_at': datetime.datetime(2025, 11, 26, 23, 32, 59), 'result': '0.03813918855628196', 'result_long': None, 'result_double': None}] Qualite : 0.03813918855628196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28939972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939972_26-11-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28939972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939972_26-11-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940032, 'pht': 3726}}" where mtr_portfolio_id = 28939972 and dashboard_run_id = 2660694 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`=28939972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795599, 0.03813918855628196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28939972_26-11-2025_23_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940032, '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 = 28940666 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': 4124851, 'mtr_portfolio_id': 28940666, 'created_at': datetime.datetime(2025, 11, 26, 23, 49, 34), 'result': '0.03871085158801617', 'result_long': None, 'result_double': None}] Qualite : 0.03871085158801617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28940666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28940666_26-11-2025_23_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28940666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28940666_26-11-2025_23_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940721, 'pht': 3726}}" where mtr_portfolio_id = 28940666 and dashboard_run_id = 2660694 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`=28940666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795600, 0.03871085158801617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28940666_26-11-2025_23_49_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28940710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28940711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28940712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28940713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28940714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28940715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28940716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28940717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28940718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28940719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28940720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28940721, '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 = 28941310 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': 4124966, 'mtr_portfolio_id': 28941310, 'created_at': datetime.datetime(2025, 11, 27, 1, 24, 1), 'result': '0.023675255582694673', 'result_long': None, 'result_double': None}] Qualite : 0.023675255582694673 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28941310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28941310_27-11-2025_01_24_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28941310 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28941310_27-11-2025_01_24_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28941314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28941315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28941316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28941317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28941318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28941319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28941320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28941321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28941322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28941323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28941324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28941325, 'pht': 3726}}" where mtr_portfolio_id = 28941310 and dashboard_run_id = 2660694 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`=28941310 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (17795601, 0.023675255582694673, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28941310_27-11-2025_01_24_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28941314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28941315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28941316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28941317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28941318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28941319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28941320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28941321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28941322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28941323, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28941324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28941325, '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 (28898557,28899108,28899477,28900036,28901576,28902220,28902821,28903442,28903872,28904559,28904971,28905396,28905985,28906213,28906581,28907660,28907924,28908296,28908732,28909080,28909644,28910115,28910559,28910922,28911433,28912015,28912359,28912788,28913393,28913888,28914399,28915629,28916048,28916689,28916775,28917201,28917595,28918051,28918621,28919252,28919835,28920340,28922411,28922474,28922881,28923395,28923723,28924491,28924737,28925052,28925388,28925809,28926350,28926782,28927227,28927762,28929053,28929360,28930056,28930443,28930981,28931539,28931940,28932297,28932939,28933648,28934284,28935650,28935850,28936305,28936772,28937160,28937812,28938402,28938932,28939482,28939972,28940666,28941310) result : ((1396152438,), (1396152781,), (1396153460,), (1396153658,), (1396153696,), (1396153728,), (1396153760,), (1396153794,), (1396154005,), (1396154007,), (1396154039,), (1396154074,), (1396154110,), (1396154143,), (1396154247,), (1396154249,), (1396154250,), (1396154252,), (1396154266,), (1396154267,), (1396154269,), (1396154272,), (1396154275,), (1396154278,), (1396154308,), (1396154310,), (1396154312,), (1396154315,), (1396154318,), (1396154319,), (1396154326,), (1396154327,), (1396154329,), (1396154331,), (1396154335,), (1396154337,), (1396154340,), (1396154457,), (1396154489,), (1396154528,), (1396154563,), (1396154603,), (1396154645,), (1396154899,), (1396154903,), (1396154907,), (1396154939,), (1396154947,), (1396154967,), (1396154972,), (1396154974,), (1396154976,), (1396154978,), (1396154979,), (1396154994,), (1396154995,), (1396154998,), (1396154999,), (1396155001,), (1396155004,), (1396155137,), (1396155172,), (1396155205,), (1396155238,), (1396155273,), (1396155472,), (1396155463,), (1396155464,), (1396155465,), (1396155466,), (1396155469,), (1396155486,), (1396155487,), (1396155489,), (1396155490,), (1396155517,), (1396155519,), (1396155521,), (1396155524,), (1396155527,), (1396155623,), (1396155655,), (1396156056,), (1396156091,), (1396156117,), (1396156119,), (1396156174,), (1396156204,), (1396156523,), (1396156536,), (1396156541,), (1396156543,), (1396156558,), (1396156559,), (1396156561,), (1396156565,), (1396156568,), (1396156571,), (1396156584,), (1396156585,), (1396156587,), (1396156588,), (1396156590,), (1396156605,), (1396156607,), (1396156609,), (1396156639,), (1396157054,), (1396157083,), (1396157115,), (1396157157,), (1396157202,), (1396157235,), (1396157382,), (1396157412,), (1396157500,), (1396157501,), (1396157502,), (1396157503,), (1396157506,), (1396157507,), (1396157715,), (1396157746,), (1396157779,), (1396157812,), (1396158214,), (1396158247,), (1396158278,), (1396158310,), (1396158329,), (1396158336,), (1396158525,), (1396158527,), (1396158528,), (1396158530,), (1396158532,), (1396158535,), (1396158538,), (1396158588,), (1396158615,), (1396158626,), (1396158628,), (1396158630,), (1396158632,), (1396158493,), (1396158517,), (1396158520,), (1396158522,), (1396158524,), (1396158575,), (1396158582,), (1396158584,), (1396158586,), (1396158587,), (1396158594,), (1396158597,), (1396158600,), (1396158603,), (1396158604,), (1396158701,), (1396158734,), (1396158765,), (1396158801,), (1396158834,), (1396159025,), (1396159060,), (1396159088,), (1396159119,), (1396159151,), (1396159371,), (1396159373,), (1396159375,), (1396159377,), (1396159380,), (1396159382,), (1396159624,), (1396159653,), (1396159704,), (1396159754,), (1396160199,), (1396160231,), (1396160264,), (1396160303,), (1396160524,), (1396160550,), (1396160551,), (1396160569,), (1396160628,), (1396160630,), (1396160632,), (1396160634,), (1396160648,), (1396160652,), (1396160655,), (1396160659,), (1396160662,), (1396160664,), (1396160898,), (1396160921,), (1396160946,), (1396161330,), (1396161358,), (1396161389,), (1396161423,), (1396161516,), (1396161547,), (1396161656,), (1396161688,), (1396161815,), (1396161816,), (1396161819,), (1396161823,), (1396161827,), (1396161847,), (1396161856,), (1396161889,), (1396161924,), (1396162430,), (1396162195,), (1396162245,), (1396162303,), (1396162337,), (1396162375,), (1396162803,), (1396162845,), (1396162879,), (1396162911,), (1396163040,), (1396163041,), (1396163043,), (1396163325,), (1396163327,), (1396163346,), (1396163368,), (1396163385,), (1396163388,), (1396163411,), (1396163420,), (1396163437,), (1396163473,), (1396163511,), (1396163545,), (1396163806,), (1396163854,), (1396163898,), (1396163937,), (1396164394,), (1396164427,), (1396164459,), (1396164490,), (1396164524,), (1396164893,), (1396164895,), (1396164897,), (1396164899,), (1396165074,), (1396165111,), (1396165136,), (1396165137,), (1396165251,), (1396165253,), (1396165254,), (1396165257,), (1396165260,), (1396165263,), (1396165267,), (1396165268,), (1396165269,), (1396165270,), (1396165280,), (1396165282,), (1396165286,), (1396165293,), (1396165298,), (1396165317,), (1396165318,), (1396165638,), (1396165670,), (1396165702,), (1396165736,), (1396165772,), (1396165805,), (1396166284,), (1396166322,), (1396166358,), (1396166366,), (1396166369,), (1396166372,), (1396166551,), (1396177862,), (1396177865,), (1396177868,), (1396177879,), (1396177880,), (1396177882,), (1396177884,), (1396177886,), (1396177897,), (1396177898,), (1396177900,), (1396178050,), (1396178133,), (1396178214,), (1396178799,), (1396178870,), (1396178886,), (1396178914,), (1396178920,), (1396178935,), (1396178944,), (1396178946,), (1396178949,), (1396178952,), (1396178970,), (1396178972,), (1396179004,), (1396179005,), (1396179006,), (1396179041,), (1396179042,), (1396179044,), (1396179046,), (1396179145,), (1396179263,), (1396179370,), (1396179497,), (1396179622,), (1396180400,), (1396180487,), (1396180615,), (1396180658,), (1396180693,), (1396180759,), (1396180910,), (1396180942,), (1396180974,), (1396181007,), (1396181244,), (1396181278,), (1396181306,), (1396181311,), (1396181315,), (1396181318,), (1396181326,), (1396181328,), (1396181330,), (1396181337,), (1396181343,), (1396181623,), (1396181871,), (1396181922,), (1396181991,), (1396182586,), (1396182367,), (1396182400,), (1396182453,), (1396182515,), (1396182827,), (1396182828,), (1396182829,), (1396182830,), (1396182833,), (1396183040,), (1396183073,), (1396183102,), (1396183110,), (1396183157,), (1396183158,), (1396183183,), (1396183188,), (1396183192,), (1396183195,), (1396183207,), (1396183208,), (1396183209,), (1396183211,), (1396183214,), (1396183254,), (1396183286,), (1396183318,), (1396183675,), (1396183714,), (1396183803,), (1396183837,), (1396183874,), (1396183896,), (1396184052,), (1396184081,), (1396184083,), (1396184085,), (1396184120,), (1396184191,), (1396184193,), (1396184195,), (1396184197,), (1396184211,), (1396184212,), (1396184237,), (1396184239,), (1396184279,), (1396184312,), (1396184345,), (1396184400,), (1396184676,), (1396185840,), (1396185866,), (1396186024,), (1396186061,), (1396186095,), (1396186124,), (1396186303,), (1396186297,), (1396186299,), (1396186301,), (1396186457,), (1396186458,), (1396186476,), (1396186477,), (1396186479,), (1396186481,), (1396186522,), (1396186561,), (1396186595,), (1396186626,), (1396186659,), (1396187013,), (1396187042,), (1396187073,), (1396187103,), (1396187260,), (1396187292,), (1396187863,), (1396187879,), (1396187881,), (1396187885,), (1396188023,), (1396188025,), (1396188027,), (1396188029,), (1396188032,), (1396188049,), (1396188050,), (1396188051,), (1396188054,), (1396188057,), (1396188059,), (1396188071,), (1396188072,), (1396188073,), (1396188079,), (1396188081,), (1396188084,), (1396188098,), (1396188100,), (1396188102,), (1396188104,), (1396188129,), (1396188130,), (1396188131,), (1396188184,), (1396188185,), (1396188187,), (1396188189,), (1396188192,), (1396188208,), (1396188209,), (1396188210,), (1396188224,), (1396188227,), (1396188229,), (1396188231,), (1396188234,), (1396188236,), (1396188266,), (1396188260,), (1396188261,), (1396188262,), (1396188263,), (1396188292,), (1396188297,), (1396188298,), (1396188317,), (1396188318,), (1396188319,), (1396188320,), (1396188322,), (1396188323,), (1396188341,), (1396188343,), (1396188345,), (1396188347,), (1396188349,), (1396188363,), (1396188394,), (1396188401,), (1396188402,), (1396188404,), (1396188424,), (1396188440,), (1396188442,), (1396188444,), (1396188446,), (1396188449,), (1396188452,), (1396188463,), (1396188464,), (1396188465,), (1396188466,), (1396188496,), (1396188503,), (1396188505,), (1396188507,), (1396188519,), (1396188521,), (1396188524,), (1396188527,), (1396188536,), (1396188541,), (1396188573,), (1396188575,), (1396188577,), (1396188579,), (1396188581,), (1396188584,), (1396188596,), (1396188597,), (1396188598,), (1396188626,), (1396188632,), (1396188634,), (1396188636,), (1396188639,), (1396188642,), (1396188653,), (1396188655,), (1396188657,), (1396188661,), (1396188665,), (1396188700,), (1396188702,), (1396188704,), (1396188708,), (1396188710,), (1396188712,), (1396188718,), (1396188720,), (1396188739,), (1396188723,), (1396188724,), (1396188731,), (1396188737,), (1396188751,), (1396188753,), (1396188755,), (1396188770,), (1396188771,), (1396188772,), (1396188773,), (1396188776,), (1396188801,), (1396188804,), (1396188806,), (1396188808,), (1396188822,), (1396188824,), (1396188828,), (1396188834,), (1396188838,), (1396188854,), (1396188862,), (1396188870,), (1396188873,), (1396188876,), (1396188915,), (1396188916,), (1396188918,), (1396188921,), (1396188924,), (1396188927,), (1396188954,), (1396188955,), (1396188956,), (1396188969,), (1396188971,), (1396188974,), (1396188981,), (1396189019,), (1396189021,), (1396189023,), (1396189026,), (1396189029,), (1396189038,), (1396189039,), (1396189041,), (1396189043,), (1396189063,), (1396189066,), (1396189117,), (1396189125,), (1396189133,), (1396189431,), (1396189464,), (1396189494,), (1396189528,), (1396189917,), (1396189951,), (1396189955,), (1396189956,), (1396190162,), (1396190136,), (1396190155,), (1396190157,), (1396190159,), (1396190172,), (1396190174,), (1396190180,), (1396190183,), (1396190201,), (1396190202,), (1396190203,), (1396190204,), (1396190217,), (1396190222,), (1396190224,), (1396190226,), (1396190229,), (1396190242,), (1396190243,), (1396190246,), (1396190249,), (1396190252,), (1396190255,), (1396190258,), (1396190259,), (1396190261,), (1396190271,), (1396190274,), (1396190276,), (1396190279,), (1396190289,), (1396190290,), (1396190291,), (1396190292,), (1396190293,), (1396190325,), (1396190326,), (1396190371,), (1396190400,), (1396190402,), (1396190404,), (1396190406,), (1396190409,), (1396190412,), (1396190443,), (1396190463,), (1396190479,), (1396190481,), (1396190483,), (1396190499,), (1396190519,), (1396190521,), (1396190523,), (1396190534,), (1396190536,), (1396190730,), (1396190763,), (1396190795,), (1396191086,), (1396191090,), (1396191119,), (1396191152,), (1396191184,), (1396191218,), (1396191253,), (1396191281,), (1396191282,), (1396191325,), (1396191326,), (1396191354,), (1396191356,), (1396191358,), (1396191360,), (1396191372,), (1396191374,), (1396191376,), (1396191379,), (1396191382,), (1396191390,), (1396191392,), (1396191394,), (1396191396,), (1396191399,), (1396191401,), (1396191415,), (1396191417,), (1396191418,), (1396191431,), (1396191432,), (1396191434,), (1396191436,), (1396191439,), (1396191463,), (1396191465,), (1396191467,), (1396191469,), (1396191471,), (1396191490,), (1396191491,), (1396191492,), (1396191500,), (1396191566,), (1396191568,), (1396191570,), (1396191572,), (1396191575,), (1396191578,), (1396191589,), (1396191590,), (1396191592,), (1396191593,), (1396191595,), (1396191596,), (1396191630,), (1396191624,), (1396191626,), (1396191628,), (1396191639,), (1396191641,), (1396191643,), (1396191645,), (1396191714,), (1396191716,), (1396191718,), (1396191720,), (1396191723,), (1396191741,), (1396191743,), (1396191745,), (1396191747,), (1396191750,), (1396191752,), (1396191767,), (1396191768,), (1396191769,), (1396191770,), (1396191773,), (1396191776,), (1396191794,), (1396191795,), (1396191810,), (1396191811,), (1396191813,), (1396191815,), (1396191826,), (1396191828,), (1396191857,), (1396191860,), (1396191863,), (1396191867,), (1396191871,), (1396191882,), (1396191884,), (1396191906,), (1396191907,), (1396191908,), (1396191927,), (1396191957,), (1396191991,), (1396192025,), (1396192453,), (1396192485,), (1396192520,), (1396192550,), (1396192584,), (1396192994,), (1396193028,), (1396193061,), (1396193097,), (1396193133,), (1396193150,), (1396193156,), (1396193157,), (1396193496,), (1396193510,), (1396193512,), (1396193543,), (1396193544,), (1396193545,), (1396193546,), (1396193549,), (1396193561,), (1396193563,), (1396193575,), (1396193582,), (1396193605,), (1396193606,), (1396193607,), (1396193614,), (1396193620,), (1396193668,), (1396193670,), (1396193672,), (1396193674,), (1396193676,), (1396193691,), (1396193692,), (1396193703,), (1396193704,), (1396193741,), (1396193743,), (1396193759,), (1396193760,), (1396193761,), (1396193762,), (1396193785,), (1396193787,), (1396193804,), (1396193807,), (1396193815,), (1396193819,), (1396193834,), (1396193837,), (1396193840,), (1396193844,), (1396193848,), (1396193859,), (1396193862,), (1396193866,), (1396193871,), (1396193877,), (1396193896,), (1396193887,), (1396193889,), (1396193891,), (1396193893,), (1396193909,), (1396193910,), (1396193911,), (1396193912,), (1396193914,), (1396193916,), (1396193930,), (1396193932,), (1396193933,), (1396193935,), (1396193938,), (1396193951,), (1396193952,), (1396193953,), (1396193956,), (1396193959,), (1396193961,), (1396194031,), (1396195905,), (1396196584,), (1396196631,), (1396196662,), (1396196693,), (1396197089,), (1396197111,), (1396197116,), (1396197119,), (1396197122,), (1396197124,), (1396197130,), (1396197140,), (1396197141,), (1396197164,), (1396197179,), (1396197181,), (1396197183,), (1396197186,), (1396197206,), (1396197207,), (1396197208,), (1396197209,), (1396197379,), (1396197409,), (1396197441,), (1396197472,), (1396197505,), (1396197687,), (1396197689,), (1396197691,), (1396197693,), (1396197719,), (1396197720,), (1396197721,), (1396197722,), (1396197725,), (1396199251,), (1396202471,), (1396203340,), (1396203345,), (1396203347,), (1396203349,), (1396203364,), (1396203365,), (1396203543,), (1396203574,), (1396203628,), (1396203629,), (1396203630,), (1396203631,), (1396203647,), (1396203649,), (1396203652,), (1396203656,), (1396203660,), (1396203908,), (1396203942,), (1396203975,), (1396204011,), (1396204380,), (1396204412,), (1396204866,), (1396204905,), (1396204929,), (1396204931,), (1396205181,), (1396204957,), (1396205079,), (1396205112,), (1396205147,), (1396205214,), (1396205216,), (1396205217,), (1396205249,), (1396205250,), (1396205251,), (1396205252,), (1396205253,), (1396205256,), (1396205270,), (1396205272,), (1396205275,), (1396205279,), (1396205282,), (1396205297,), (1396205299,), (1396205305,), (1396205315,), (1396205330,), (1396205333,), (1396205336,), (1396205340,), (1396205392,), (1396205396,), (1396205400,), (1396205402,), (1396205471,), (1396205475,), (1396205478,), (1396205495,), (1396205496,), (1396205497,), (1396205498,), (1396205501,), (1396205518,), (1396205520,), (1396205522,), (1396205524,), (1396205527,), (1396205540,), (1396205546,), (1396205553,), (1396205570,), (1396205581,), (1396205601,), (1396205602,), (1396205604,), (1396205620,), (1396205621,), (1396205622,), (1396205623,), (1396205625,), (1396205627,), (1396205646,), (1396205648,), (1396205650,), (1396205705,), (1396205693,), (1396205699,), (1396205700,), (1396205702,), (1396205733,), (1396205740,), (1396205741,), (1396205742,), (1396205744,), (1396205757,), (1396205758,), (1396205759,), (1396205799,), (1396205824,), (1396205826,), (1396205828,), (1396205832,), (1396205836,), (1396205840,), (1396205882,), (1396205916,), (1396205948,), (1396205979,), (1396206124,), (1396206156,), (1396206540,), (1396206572,), (1396206603,), (1396207030,), (1396207032,), (1396207202,), (1396207355,), (1396207362,), (1396207363,), (1396207365,), (1396207368,), (1396207377,), (1396207380,), (1396207382,), (1396207384,), (1396207387,), (1396207404,), (1396207405,), (1396207408,), (1396207409,), (1396207446,), (1396207451,), (1396207453,), (1396207471,), (1396207472,), (1396207473,), (1396207502,), (1396207505,), (1396207507,), (1396207511,), (1396207549,), (1396207544,), (1396207545,), (1396207546,), (1396207547,), (1396207563,), (1396207565,), (1396207567,), (1396207591,), (1396207593,), (1396207611,), (1396207613,), (1396207615,), (1396207638,), (1396207639,), (1396207640,), (1396207653,), (1396207655,), (1396207658,), (1396207662,), (1396207666,), (1396207703,), (1396207704,), (1396207705,), (1396207706,), (1396207709,), (1396207723,), (1396207724,), (1396207726,), (1396207749,), (1396207751,), (1396207769,), (1396207770,), (1396207771,), (1396207792,), (1396207794,), (1396207812,), (1396207813,), (1396207814,), (1396207815,), (1396207818,), (1396207834,), (1396207836,), (1396208130,), (1396208170,), (1396208203,), (1396208238,), (1396208377,), (1396208412,), (1396208491,), (1396208558,), (1396208624,), (1396209216,), (1396208897,), (1396208971,), (1396209038,), (1396209145,), (1396209411,), (1396209444,), (1396209477,), (1396209849,), (1396209883,), (1396209896,), (1396209900,), (1396209903,), (1396209916,), (1396209918,), (1396209920,), (1396209922,), (1396209925,), (1396209927,), (1396209943,), (1396209949,), (1396209951,), (1396209975,), (1396209976,), (1396209977,), (1396209978,), (1396209980,), (1396209982,), (1396210007,), (1396210008,), (1396210097,), (1396210101,), (1396210103,), (1396210119,), (1396210120,), (1396210122,), (1396210124,), (1396210127,), (1396210162,), (1396210163,), (1396210164,), (1396210165,), (1396210181,), (1396210229,), (1396210230,), (1396210231,), (1396210246,), (1396210250,), (1396210252,), (1396210254,), (1396210257,), (1396210259,), (1396210269,), (1396210273,), (1396210277,), (1396210281,), (1396210315,), (1396210311,), (1396210313,), (1396210330,), (1396210335,), (1396210336,), (1396210337,), (1396210351,), (1396210353,), (1396210355,), (1396210357,), (1396210359,), (1396210385,), (1396210386,), (1396210388,), (1396210390,), (1396210405,), (1396210406,), (1396210407,), (1396210431,), (1396210432,), (1396210433,), (1396210434,), (1396210459,), (1396210460,), (1396210461,), (1396210462,), (1396210482,), (1396210483,), (1396210485,), (1396210487,), (1396210507,), (1396210509,), (1396210511,), (1396210514,), (1396210516,), (1396210519,), (1396210532,), (1396210533,), (1396210534,), (1396210535,), (1396210537,), (1396210550,), (1396210551,), (1396210553,), (1396210555,), (1396210591,), (1396210593,), (1396210596,), (1396210601,), (1396210604,), (1396210626,), (1396210632,), (1396210634,), (1396210636,), (1396210638,), (1396210654,), (1396210655,), (1396210656,), (1396210657,), (1396210659,), (1396210689,), (1396210690,), (1396210692,), (1396210725,), (1396210708,), (1396210709,), (1396210710,), (1396210716,), (1396210722,), (1396210736,), (1396210738,), (1396210740,), (1396210742,), (1396210768,), (1396210770,), (1396210771,), (1396210794,), (1396210902,), (1396210953,), (1396210954,), (1396210979,), (1396210981,), (1396210984,), (1396210989,), (1396210994,), (1396211014,), (1396211015,), (1396211017,), (1396211079,), (1396211081,), (1396211108,), (1396211148,), (1396211150,), (1396211153,), (1396211156,), (1396211160,), (1396211200,), (1396211184,), (1396211186,), (1396211188,), (1396211191,), (1396211221,), (1396211223,), (1396211225,), (1396211229,), (1396211247,), (1396211252,), (1396211277,), (1396211278,), (1396211279,), (1396211281,), (1396211283,), (1396211287,), (1396211310,), (1396211312,), (1396211314,), (1396211317,), (1396211320,), (1396211333,), (1396211335,), (1396211337,), (1396211340,), (1396211344,), (1396211348,), (1396211378,), (1396211380,), (1396211381,), (1396211383,), (1396211386,), (1396211406,), (1396211410,), (1396211413,), (1396211433,), (1396211436,), (1396211440,), (1396211456,), (1396211457,), (1396211458,), (1396211460,), (1396211478,), (1396211479,), (1396211486,), (1396211491,), (1396211494,), (1396211511,), (1396211512,), (1396211544,), (1396211546,), (1396211549,), (1396211553,), (1396211557,), (1396211560,), (1396211579,), (1396211583,), (1396211587,), (1396211590,), (1396211594,), (1396211604,), (1396211606,), (1396211610,), (1396211619,), (1396211650,), (1396211652,), (1396211654,), (1396211687,), (1396211692,), (1396211694,), (1396211720,), (1396211722,), (1396211724,), (1396211989,), (1396212020,), (1396212055,), (1396212486,), (1396212517,), (1396212544,), (1396212725,), (1396212733,), (1396212735,), (1396212738,), (1396212741,), (1396212765,), (1396212766,), (1396212767,), (1396212769,), (1396212799,), (1396212801,), (1396212803,), (1396212827,), (1396212828,), (1396212829,), (1396212850,), (1396212851,), (1396212853,), (1396212890,), (1396212892,), (1396212894,), (1396212917,), (1396212918,), (1396212919,), (1396212950,), (1396212951,), (1396212953,), (1396212974,), (1396212976,), (1396212978,), (1396212981,), (1396213008,), (1396213004,), (1396213005,), (1396213006,), (1396213028,), (1396213061,), (1396213064,), (1396213067,), (1396213095,), (1396213096,), (1396213097,), (1396213098,), (1396213131,), (1396213133,), (1396213135,), (1396213138,), (1396213144,), (1396213468,), (1396213493,), (1396213521,), (1396213552,), (1396213582,), (1396213751,), (1396213777,), (1396213805,), (1396214053,), (1396214054,), (1396214055,), (1396214057,), (1396214061,), (1396214308,), (1396214310,), (1396214314,), (1396214321,), (1396214340,), (1396214468,), (1396214469,), (1396214470,), (1396214750,), (1396214751,), (1396214753,), (1396214774,), (1396214775,), (1396214778,), (1396214821,), (1396214823,), (1396214825,), (1396214828,), (1396214832,), (1396214847,), (1396214848,), (1396214849,), (1396214876,), (1396214878,), (1396214932,), (1396214957,), (1396214960,), (1396215002,), (1396215004,), (1396215006,), (1396215009,), (1396215032,), (1396215034,), (1396215035,), (1396215038,), (1396215058,), (1396215059,), (1396215060,), (1396215065,), (1396215070,), (1396215073,), (1396215105,), (1396215107,), (1396215109,), (1396215112,), (1396215116,), (1396215141,), (1396215143,), (1396215145,), (1396215148,), (1396215152,), (1396215156,), (1396215173,), (1396215175,), (1396215179,), (1396215370,), (1396215372,), (1396215399,), (1396215402,), (1396215404,), (1396215407,), (1396215410,), (1396215433,), (1396215453,), (1396215455,), (1396215462,), (1396215527,), (1396215529,), (1396215531,), (1396215551,), (1396215554,), (1396215557,), (1396215567,), (1396215594,), (1396215595,), (1396215596,), (1396215598,), (1396215617,), (1396215627,), (1396215633,), (1396215638,), (1396215642,), (1396215646,), (1396215668,), (1396215669,), (1396215670,), (1396215702,), (1396215706,), (1396215708,), (1396215711,), (1396215715,), (1396215719,), (1396215743,), (1396215745,), (1396215746,), (1396215767,), (1396215768,), (1396215769,), (1396215771,), (1396215775,), (1396215779,), (1396215801,), (1396215803,), (1396215805,), (1396215832,), (1396215833,), (1396215834,), (1396215836,), (1396215863,), (1396215865,), (1396215868,), (1396215872,), (1396216469,), (1396216501,), (1396216525,), (1396216530,), (1396216533,), (1396216618,), (1396216608,), (1396216611,), (1396216614,), (1396216638,), (1396216641,), (1396216644,), (1396216647,), (1396216651,), (1396216680,), (1396216683,), (1396216685,), (1396216687,), (1396216708,), (1396216711,), (1396216715,), (1396216719,), (1396216721,), (1396216729,), (1396217099,), (1396217145,), (1396217178,), (1396217218,), (1396217257,), (1396217293,), (1396217440,), (1396217442,), (1396217465,), (1396217499,), (1396217538,), (1396217709,), (1396217739,), (1396218195,), (1396218226,), (1396218257,), (1396218288,), (1396218501,), (1396218514,), (1396218528,), (1396218549,), (1396218555,), (1396218684,), (1396218685,), (1396218686,), (1396218925,), (1396218958,), (1396218990,), (1396219025,), (1396219067,), (1396219108,), (1396219445,), (1396219475,), (1396219516,), (1396219583,), (1396219647,), (1396219951,), (1396220011,), (1396220091,), (1396220155,), (1396220219,), (1396220603,), (1396220604,), (1396220634,), (1396220681,), (1396220682,), (1396220685,), (1396220688,), (1396220727,), (1396220714,), (1396220715,), (1396220716,), (1396220718,), (1396220723,), (1396220755,), (1396220757,), (1396220760,), (1396220764,), (1396220793,), (1396220990,), (1396221209,), (1396221211,), (1396221213,), (1396221216,), (1396221417,), (1396221448,), (1396221481,), (1396221513,), (1396221536,), (1396221608,), (1396221643,), (1396221648,), (1396221651,), (1396221735,), (1396221736,), (1396221740,), (1396221776,), (1396221778,), (1396221780,), (1396221783,), (1396221805,), (1396221806,), (1396221807,), (1396221809,), (1396221813,), (1396221815,), (1396221840,), (1396221843,), (1396221846,), (1396221849,), (1396221854,), (1396221867,), (1396221868,), (1396221870,), (1396221888,), (1396221893,), (1396221898,), (1396221903,), (1396221939,), (1396221941,), (1396221945,), (1396221948,), (1396221951,), (1396221954,), (1396221963,), (1396221965,), (1396221972,), (1396221975,), (1396221978,), (1396221980,), (1396222007,), (1396221997,), (1396221999,), (1396222001,), (1396222004,), (1396222029,), (1396222030,), (1396222031,), (1396222034,), (1396222038,), (1396222069,), (1396222071,), (1396222072,), (1396222075,), (1396222112,), (1396222114,), (1396222116,), (1396222119,), (1396222137,), (1396222140,), (1396222144,), (1396222149,), (1396222153,), (1396222157,), (1396222165,), (1396222167,), (1396222169,), (1396222171,), (1396222174,), (1396222178,), (1396222182,), (1396222196,), (1396222201,), (1396222205,), (1396222209,), (1396222214,), (1396222224,), (1396222225,), (1396222227,), (1396222230,), (1396222253,), (1396222256,), (1396222257,), (1396222260,), (1396222296,), (1396222297,), (1396222298,), (1396222299,), (1396222301,), (1396222348,), (1396222366,), (1396222402,), (1396222437,), (1396222441,), (1396222551,), (1396222553,), (1396222555,), (1396222626,), (1396222627,), (1396222628,), (1396222630,), (1396222737,), (1396222744,), (1396222796,), (1396222807,), (1396222871,), (1396222879,), (1396223172,), (1396223142,), (1396223162,), (1396223169,), (1396223266,), (1396223268,), (1396223270,), (1396223308,), (1396223309,), (1396223310,), (1396223313,), (1396223315,), (1396223743,), (1396223791,), (1396223794,), (1396223796,), (1396223814,), (1396223819,), (1396223820,), (1396223822,), (1396223825,), (1396223828,), (1396223847,), (1396223849,), (1396223851,), (1396223853,), (1396223879,), (1396223883,), (1396223884,), (1396223886,), (1396223905,), (1396223906,), (1396223912,), (1396223919,), (1396223923,), (1396223941,), (1396223943,), (1396223945,), (1396223948,), (1396223952,), (1396223970,), (1396223971,), (1396223972,), (1396224035,), (1396224065,), (1396224068,), (1396224072,), (1396224394,), (1396224399,), (1396224403,), (1396224408,), (1396224412,), (1396224420,), (1396224421,), (1396224423,), (1396224426,), (1396224430,), (1396226404,), (1396226513,), (1396226516,), (1396226573,), (1396226574,), (1396226575,), (1396226597,), (1396226598,), (1396226627,), (1396226628,), (1396226629,), (1396226630,), (1396226657,), (1396226659,), (1396226661,), (1396226664,), (1396226709,), (1396226710,), (1396226711,), (1396226713,), (1396226726,), (1396226728,), (1396226729,), (1396226732,), (1396226737,), (1396226901,), (1396226902,), (1396226906,), (1396226910,), (1396226913,), (1396226916,), (1396226952,), (1396226955,), (1396226957,), (1396226960,), (1396226963,), (1396226966,), (1396226971,), (1396226973,), (1396226975,), (1396226978,), (1396226981,), (1396226983,), (1396227079,), (1396227081,), (1396227082,), (1396227084,), (1396227126,), (1396227128,), (1396227130,), (1396227133,), (1396227144,), (1396227178,), (1396227362,), (1396227364,), (1396227390,), (1396227393,), (1396227396,), (1396227400,), (1396227479,), (1396227481,), (1396227485,), (1396227488,), (1396227492,), (1396227532,), (1396227512,), (1396227521,), (1396227522,), (1396227524,), (1396227528,), (1396227551,), (1396227554,), (1396227556,), (1396227641,), (1396227672,), (1396227702,), (1396227734,), (1396227763,), (1396227939,), (1396227941,), (1396227944,), (1396227948,), (1396227967,), (1396227969,), (1396227971,), (1396227974,), (1396228003,), (1396228006,), (1396228010,), (1396228014,), (1396228061,), (1396228063,), (1396228065,), (1396228092,), (1396228093,), (1396228094,), (1396228096,), (1396228100,), (1396228120,), (1396228122,), (1396228124,), (1396228163,), (1396228164,), (1396228203,), (1396228328,), (1396230012,), (1396230011,), (1396230071,), (1396230072,), (1396230073,), (1396230101,), (1396230102,), (1396230103,), (1396230105,), (1396230109,), (1396230113,), (1396230127,), (1396230130,), (1396230132,), (1396230135,), (1396230136,), (1396230176,), (1396230159,), (1396230161,), (1396230162,), (1396230164,), (1396230168,), (1396230201,), (1396230202,), (1396230204,), (1396230207,), (1396230400,), (1396230402,), (1396230404,), (1396230442,), (1396230704,), (1396230707,), (1396230710,), (1396230714,), (1396230719,), (1396231131,), (1396231169,), (1396231173,), (1396231178,), (1396231182,), (1396231186,), (1396231201,), (1396231202,), (1396231203,), (1396231205,), (1396231209,), (1396231229,), (1396231231,), (1396231233,), (1396231236,), (1396231240,), (1396231246,), (1396231267,), (1396231268,), (1396231269,), (1396231271,), (1396231294,), (1396231295,), (1396231297,), (1396231300,), (1396231304,), (1396231307,), (1396231353,), (1396231359,), (1396231369,), (1396231428,), (1396231430,), (1396231432,), (1396231435,), (1396231439,), (1396231601,), (1396231638,), (1396231640,), (1396231650,), (1396231685,), (1396231695,), (1396231744,), (1396231745,), (1396231764,), (1396231796,), (1396231831,), (1396231834,), (1396231836,), (1396231838,), (1396231842,), (1396231846,), (1396231907,), (1396231909,), (1396231910,), (1396231956,), (1396231933,), (1396231941,), (1396231944,), (1396231949,), (1396231953,), (1396231968,), (1396231975,), (1396231978,), (1396231980,), (1396231983,), (1396231994,), (1396231996,), (1396231998,), (1396232000,), (1396232003,), (1396232030,), (1396232031,), (1396232032,), (1396232033,), (1396232036,), (1396232039,), (1396232050,), (1396232052,), (1396232055,), (1396232058,), (1396232101,), (1396232103,), (1396232104,), (1396232107,), (1396232110,), (1396232113,), (1396232121,), (1396232137,), (1396232147,), (1396232176,), (1396232179,), (1396232182,), (1396232186,), (1396232189,), (1396232197,), (1396232202,), (1396232205,), (1396232209,), (1396232221,), (1396232223,), (1396232225,), (1396232227,), (1396232242,), (1396232243,), (1396232282,), (1396232290,), (1396232297,), (1396232551,), (1396232553,), (1396232581,), (1396232612,), (1396232629,), (1396232768,), (1396232769,), (1396232789,), (1396232791,), (1396232793,), (1396232816,), (1396232817,), (1396232819,), (1396232820,), (1396232822,), (1396232881,), (1396232854,), (1396232855,), (1396232861,), (1396232873,), (1396232879,), (1396232892,), (1396232893,), (1396232896,), (1396232904,), (1396232936,), (1396232940,), (1396232945,), (1396232947,), (1396232950,), (1396232964,), (1396232965,), (1396232966,), (1396232967,), (1396232970,), (1396232980,), (1396233003,), (1396233005,), (1396233007,), (1396233009,), (1396233025,), (1396233028,), (1396233030,), (1396233031,), (1396233034,), (1396233037,), (1396233069,), (1396233070,), (1396233071,), (1396233072,), (1396233092,), (1396233094,), (1396233097,), (1396233099,), (1396233116,), (1396233117,), (1396233118,), (1396233119,), (1396233125,), (1396233129,), (1396233146,), (1396233148,), (1396233149,), (1396233151,), (1396233154,), (1396233166,), (1396233168,), (1396233170,), (1396233172,), (1396233174,), (1396233194,), (1396233196,), (1396233203,), (1396233215,), (1396233242,), (1396233244,), (1396233248,), (1396233258,), (1396233260,), (1396233850,), (1396233892,), (1396233927,), (1396233935,), (1396233938,), (1396233940,), (1396234536,), (1396234362,), (1396234414,), (1396234474,), (1396234509,), (1396234715,), (1396234725,), (1396234729,), (1396234761,), (1396234763,), (1396234765,), (1396234767,), (1396234810,), (1396234811,), (1396234812,), (1396234814,), (1396234837,), (1396234841,), (1396234844,), (1396234847,), (1396234851,), (1396234892,), (1396234894,), (1396234895,), (1396234896,), (1396235006,), (1396235049,), (1396235082,), (1396235114,), (1396235149,), (1396235541,), (1396235550,), (1396235552,), (1396235554,), (1396235748,), (1396235775,), (1396235776,), (1396235777,), (1396235780,), (1396235942,), (1396235944,), (1396235976,), (1396236007,), (1396236046,), (1396236074,), (1396236175,), (1396236220,), (1396236257,), (1396236296,), (1396236465,), (1396236503,), (1396236565,), (1396236629,), (1396236951,), (1396236983,), (1396237008,), (1396237009,), (1396237012,), (1396237015,), (1396237234,), (1396237235,), (1396237237,), (1396237380,), (1396237383,), (1396237386,), (1396237389,), (1396237392,), (1396237414,), (1396237418,), (1396237420,), (1396237422,), (1396237425,), (1396237428,), (1396237465,), (1396237461,), (1396237462,), (1396237463,), (1396237495,), (1396237497,), (1396237500,), (1396237503,), (1396237507,), (1396237510,), (1396237542,), (1396237544,), (1396237545,), (1396237546,), (1396237548,), (1396237574,), (1396237575,), (1396237577,), (1396237580,), (1396237584,), (1396237587,), (1396237728,), (1396237763,), (1396237794,), (1396237827,), (1396237858,), (1396237960,), (1396237962,), (1396237964,), (1396237968,), (1396237972,), (1396237989,), (1396237991,), (1396237994,), (1396238001,), (1396238017,), (1396238036,), (1396238039,), (1396238043,), (1396238045,), (1396238087,), (1396238089,), (1396238090,), (1396238091,), (1396238093,), (1396238096,), (1396238125,), (1396238128,), (1396238130,), (1396238133,), (1396238137,), (1396238161,), (1396238163,), (1396238165,), (1396238167,), (1396238172,), (1396238175,), (1396238193,), (1396238195,), (1396238197,), (1396238199,), (1396238202,), (1396238230,), (1396238231,), (1396238232,), (1396238234,), (1396238238,), (1396238257,), (1396238260,), (1396238263,), (1396238266,), (1396238271,), (1396238334,), (1396238335,), (1396238337,), (1396238338,), (1396238363,), (1396238360,), (1396238362,), (1396238406,), (1396238409,), (1396238412,), (1396238417,), (1396238444,), (1396238446,), (1396238447,), (1396238448,), (1396238451,), (1396238454,), (1396238502,), (1396238504,), (1396238506,), (1396238509,), (1396238513,), (1396238528,), (1396238531,), (1396238537,), (1396238814,), (1396238816,), (1396239052,), (1396239053,), (1396239055,), (1396239062,), (1396239087,), (1396239124,), (1396239126,), (1396239127,), (1396239134,), (1396239187,), (1396239191,), (1396239193,), (1396239259,), (1396239262,), (1396239264,), (1396239266,), (1396239268,), (1396239307,), (1396239301,), (1396239302,), (1396239303,), (1396239305,), (1396239396,), (1396239398,), (1396239401,), (1396239405,), (1396239427,), (1396239428,), (1396239429,), (1396239430,), (1396239451,), (1396239452,), (1396239519,), (1396239533,), (1396239536,), (1396239569,), (1396239618,), (1396239619,), (1396239620,), (1396239621,), (1396239624,), (1396239648,), (1396239685,), (1396239755,), (1396239758,), (1396240020,), (1396240021,), (1396240023,), (1396240201,), (1396240203,), (1396240206,), (1396240209,), (1396240233,), (1396240236,), (1396240238,), (1396240240,), (1396240243,), (1396240273,), (1396240274,), (1396240275,), (1396240632,), (1396240675,), (1396240714,), (1396240747,), (1396240871,), (1396240872,), (1396240873,), (1396240874,), (1396240875,), (1396240876,), (1396240896,), (1396240897,), (1396241379,), (1396241123,), (1396241187,), (1396241246,), (1396241309,), (1396241774,), (1396241807,), (1396241831,), (1396241902,), (1396241949,), (1396241952,), (1396241955,), (1396241957,), (1396241960,), (1396241978,), (1396241980,), (1396241982,), (1396241984,), (1396242026,), (1396242028,), (1396242478,), (1396242664,), (1396242668,), (1396242690,), (1396242963,), (1396251624,), (1396252153,), (1396252609,), (1396252648,), (1396252660,), (1396252662,), (1396252665,), (1396252676,), (1396253191,), (1396253107,), (1396253150,), (1396253390,), (1396253422,), (1396253454,), (1396253493,), (1396253530,), (1396253774,), (1396253804,), (1396253832,), (1396254113,), (1396254117,), (1396254138,), (1396254151,), (1396254169,), (1396254172,), (1396254175,), (1396254180,), (1396254199,), (1396254201,), (1396254225,), (1396254230,), (1396254269,), (1396254294,), (1396254297,), (1396254401,), (1396254403,), (1396254406,), (1396254410,), (1396254432,), (1396254435,), (1396254493,), (1396254517,), (1396254512,), (1396254513,), (1396254515,), (1396254717,), (1396254728,), (1396254729,), (1396254767,), (1396254768,), (1396254789,), (1396254988,), (1396255006,), (1396255028,), (1396255030,), (1396255240,), (1396255271,), (1396255303,), (1396255334,), (1396255368,), (1396255395,), (1396255399,), (1396255531,), (1396255545,), (1396255547,), (1396255550,), (1396255554,), (1396255571,), (1396255572,), (1396255573,), (1396255575,), (1396255579,), (1396255583,), (1396255605,), (1396255607,), (1396255609,), (1396255612,), (1396255648,), (1396255651,), (1396255654,), (1396255678,), (1396255679,), (1396255681,), (1396255684,), (1396255692,), (1396255721,), (1396255722,), (1396255928,), (1396255927,), (1396255947,), (1396255949,), (1396255951,), (1396255954,), (1396255985,), (1396255986,), (1396255987,), (1396255989,), (1396255991,), (1396256010,), (1396256011,), (1396256012,), (1396256014,), (1396256032,), (1396256033,), (1396256037,), (1396256040,), (1396256044,), (1396256094,), (1396256096,), (1396256098,), (1396256123,), (1396256126,), (1396256128,), (1396256130,), (1396256134,), (1396256158,), (1396256159,), (1396256161,), (1396256164,), (1396256185,), (1396256187,), (1396256212,), (1396256213,), (1396256214,), (1396256216,), (1396256220,), (1396256248,), (1396256260,), (1396256265,), (1396256270,), (1396256275,), (1396256294,), (1396256296,), (1396256298,), (1396256348,), (1396256350,), (1396256352,), (1396256355,), (1396256540,), (1396256546,), (1396256550,), (1396256554,), (1396256715,), (1396256705,), (1396256706,), (1396256707,), (1396256709,), (1396256712,), (1396256725,), (1396256726,), (1396256727,), (1396256753,), (1396256754,), (1396256755,), (1396256757,), (1396256760,), (1396256763,), (1396256778,), (1396256779,), (1396256780,), (1396256782,), (1396256784,), (1396257043,), (1396257072,), (1396257102,), (1396257117,), (1396257156,), (1396257158,), (1396257159,), (1396257162,), (1396257186,), (1396257187,), (1396257194,), (1396257234,), (1396257237,), (1396257239,), (1396257242,), (1396257301,), (1396257312,), (1396257341,), (1396257647,), (1396257649,), (1396257651,), (1396257653,), (1396257657,), (1396257671,), (1396257673,), (1396257674,), (1396257676,), (1396257679,), (1396257702,), (1396257704,), (1396257752,), (1396257754,), (1396257758,), (1396257762,), (1396257780,), (1396257784,), (1396257787,), (1396257791,), (1396257795,), (1396257798,), (1396257806,), (1396257808,), (1396258995,), (1396259302,), (1396259303,), (1396259324,), (1396259355,), (1396259382,), (1396259384,), (1396259385,), (1396259408,), (1396259409,), (1396259410,), (1396259412,), (1396259431,), (1396259433,), (1396259437,), (1396259442,), (1396259463,), (1396259465,), (1396259467,), (1396259470,), (1396259515,), (1396259545,), (1396259566,), (1396259567,), (1396259568,), (1396259574,), (1396259581,), (1396259598,), (1396259600,), (1396259603,), (1396259649,), (1396259650,), (1396259652,), (1396259654,), (1396259657,), (1396259678,), (1396259676,), (1396259677,), (1396259713,), (1396259714,), (1396259715,), (1396259818,), (1396259821,), (1396259822,), (1396259845,), (1396259849,), (1396259872,), (1396259875,), (1396259879,), (1396259882,), (1396260563,), (1396260553,), (1396260555,), (1396260557,), (1396260559,), (1396260577,), (1396260578,), (1396260580,), (1396260583,), (1396260586,), (1396260589,), (1396260607,), (1396260609,), (1396260611,), (1396260614,), (1396260617,), (1396260632,), (1396260634,), (1396260636,), (1396260638,), (1396260641,), (1396261025,), (1396261026,), (1396261028,), (1396261056,), (1396261059,), (1396261062,), (1396261067,), (1396261072,), (1396261077,), (1396261086,), (1396261088,), (1396261090,), (1396261094,), (1396261098,), (1396261102,), (1396261108,), (1396261109,), (1396261111,), (1396261113,), (1396261204,), (1396261228,), (1396261230,), (1396261232,), (1396261235,), (1396261247,), (1396261255,), (1396261293,), (1396261296,), (1396261304,), (1396261307,), (1396261377,), (1396261379,), (1396261381,), (1396261414,), (1396261424,), (1396261429,), (1396261432,), (1396261435,), (1396261463,), (1396261462,), (1396261495,), (1396261525,), (1396261527,), (1396261536,), (1396261542,), (1396261545,), (1396261561,), (1396261562,), (1396261563,), (1396261565,), (1396261594,), (1396261596,), (1396261598,), (1396261600,), (1396261621,), (1396261622,), (1396261623,), (1396261625,), (1396261629,), (1396261660,), (1396262254,), (1396262281,), (1396262283,), (1396262285,), (1396262288,), (1396262292,), (1396262311,), (1396262313,), (1396262352,), (1396262353,), (1396262355,), (1396262358,), (1396262362,), (1396262393,), (1396262395,), (1396262397,), (1396262522,), (1396262524,), (1396262525,), (1396262526,), (1396262544,), (1396262614,), (1396262616,), (1396262618,), (1396262621,), (1396262939,), (1396262987,), (1396262990,), (1396262993,), (1396263148,), (1396263116,), (1396263139,), (1396263141,), (1396263144,), (1396263186,), (1396263188,), (1396263190,), (1396263196,), (1396263202,), (1396263231,), (1396263232,), (1396263268,), (1396263270,), (1396263272,), (1396263275,), (1396263305,), (1396263344,), (1396263345,), (1396263346,), (1396263348,), (1396263351,), (1396263371,), (1396263373,), (1396263376,), (1396263379,), (1396263483,), (1396263515,), (1396263547,), (1396263580,), (1396263624,), (1396263667,), (1396263946,), (1396263948,), (1396263951,), (1396263955,), (1396263959,), (1396264149,), (1396264223,), (1396264258,), (1396264317,), (1396264357,), (1396264588,), (1396264592,), (1396264602,), (1396264657,), (1396264659,), (1396264662,), (1396264695,), (1396264731,), (1396264763,), (1396264894,), (1396264906,), (1396264926,), (1396264929,), (1396264931,), (1396265043,), (1396265045,), (1396265047,), (1396265050,), (1396265069,), (1396265070,), (1396265071,), (1396265073,), (1396265099,), (1396265102,), (1396265104,), (1396265106,), (1396265110,), (1396265112,), (1396265363,), (1396265196,), (1396265227,), (1396265260,), (1396265294,), (1396265326,), (1396265457,), (1396265460,), (1396265462,), (1396265465,), (1396265540,), (1396265541,), (1396265563,), (1396265565,), (1396265567,), (1396265592,), (1396265611,), (1396265699,), (1396265719,), (1396265720,), (1396265734,), (1396265735,), (1396265736,), (1396265761,), (1396265764,), (1396265768,), (1396265773,), (1396265778,), (1396265803,), (1396265804,), (1396265805,), (1396265810,), (1396265850,), (1396265852,), (1396265886,), (1396265887,), (1396265888,), (1396265890,), (1396265893,), (1396265895,), (1396265919,), (1396265922,), (1396265924,), (1396265926,), (1396265929,), (1396265932,), (1396265957,), (1396265954,), (1396265956,), (1396265977,), (1396265979,), (1396265981,), (1396265983,), (1396265987,), (1396266005,), (1396266006,), (1396266007,), (1396266009,), (1396266013,), (1396266017,), (1396266031,), (1396266033,), (1396266036,), (1396266039,), (1396266356,), (1396266360,), (1396266387,), (1396266389,), (1396266391,), (1396266394,), (1396266396,), (1396266400,), (1396266413,), (1396266415,), (1396266417,), (1396266419,), (1396266423,), (1396266442,), (1396266443,), (1396266444,), (1396266446,), (1396266524,), (1396266526,), (1396266550,), (1396266551,), (1396266552,), (1396266553,), (1396266556,), (1396266559,), (1396266587,), (1396266589,), (1396266591,), (1396266664,), (1396266669,), (1396266676,), (1396266679,), (1396266683,), (1396266687,), (1396266705,), (1396266702,), (1396266727,), (1396266729,), (1396266741,), (1396266747,), (1396266760,), (1396266765,), (1396266806,), (1396266808,), (1396266809,), (1396266812,), (1396266816,), (1396266849,), (1396266853,), (1396266855,), (1396266857,), (1396266880,), (1396266881,), (1396266882,), (1396266884,), (1396266888,), (1396266913,), (1396266916,), (1396266922,), (1396266925,), (1396266929,), (1396266955,), (1396266956,), (1396266957,), (1396267027,), (1396267029,), (1396267031,), (1396267044,), (1396267057,), (1396267121,), (1396267124,), (1396267125,), (1396267127,), (1396267130,), (1396267133,), (1396267190,), (1396267193,), (1396267194,), (1396267249,), (1396267285,), (1396267287,), (1396267289,), (1396267309,), (1396267313,), (1396267445,), (1396267449,), (1396267451,), (1396267453,), (1396267457,), (1396267459,), (1396267483,), (1396267485,), (1396267487,), (1396267490,), (1396267523,), (1396267524,), (1396267525,), (1396267527,), (1396267531,), (1396267535,), (1396267555,), (1396267558,), (1396267561,), (1396267564,), (1396267606,), (1396267591,), (1396267593,), (1396267595,), (1396267602,), (1396267639,), (1396267647,), (1396267691,), (1396267738,), (1396267775,), (1396267807,), (1396267864,), (1396267905,), (1396267930,), (1396268018,), (1396268019,), (1396268020,), (1396268022,), (1396268026,), (1396268029,), (1396268041,), (1396268043,), (1396268045,), (1396268053,), (1396268111,), (1396268113,), (1396268116,), (1396268121,), (1396268169,), (1396268172,), (1396268176,), (1396268181,), (1396268187,), (1396268234,), (1396268240,), (1396268242,), (1396268247,), (1396268253,), (1396268316,), (1396268319,), (1396268322,), (1396268326,), (1396268329,), (1396268365,), (1396268367,), (1396268369,), (1396268372,), (1396268376,), (1396268404,), (1396268405,), (1396268406,), (1396268408,), (1396268412,), (1396268437,), (1396268440,), (1396268441,), (1396268444,), (1396268485,), (1396268487,), (1396268490,), (1396268493,), (1396268497,), (1396268506,), (1396268846,), (1396268850,), (1396268852,), (1396268856,), (1396268860,), (1396268863,), (1396268876,), (1396268878,), (1396273171,), (1396273168,), (1396273169,), (1396273282,), (1396273314,), (1396273345,), (1396273382,), (1396273416,), (1396273450,), (1396274075,), (1396274109,), (1396274142,), (1396274161,), (1396274503,), (1396274508,), (1396274509,), (1396274511,), (1396274562,), (1396274564,), (1396274603,), (1396274604,), (1396274605,), (1396274607,), (1396274610,), (1396274759,), (1396274760,), (1396274762,), (1396274776,), (1396274780,), (1396274783,), (1396274824,), (1396274837,), (1396274838,), (1396274852,), (1396275001,), (1396275034,), (1396275065,), (1396275106,), (1396275460,), (1396275475,), (1396275477,), (1396275481,), (1396275865,), (1396275897,), (1396275958,), (1396276037,), (1396276074,), (1396276318,), (1396276270,), (1396276281,), (1396276288,), (1396276313,), (1396276360,), (1396276361,), (1396276362,), (1396276364,), (1396276368,), (1396276628,), (1396276630,), (1396276632,), (1396276635,), (1396276770,), (1396276771,), (1396276773,), (1396276776,), (1396276779,), (1396276782,), (1396276786,), (1396276788,), (1396276790,), (1396276794,), (1396276795,), (1396276805,), (1396276876,), (1396276891,), (1396276894,), (1396276899,), (1396276904,), (1396276909,), (1396276935,), (1396276948,), (1396276950,), (1396276953,), (1396277147,), (1396277180,), (1396277215,), (1396277246,), (1396277642,), (1396277676,), (1396278171,), (1396278229,), (1396278294,), (1396278364,), (1396278418,), (1396278461,), (1396278696,), (1396278728,), (1396278734,), (1396278737,), (1396278778,), (1396279036,), (1396279038,), (1396279040,), (1396279043,), (1396279204,), (1396279205,), (1396279206,), (1396279208,), (1396279230,), (1396279250,), (1396279279,), (1396279704,), (1396279737,), (1396279767,), (1396279794,), (1396279826,), (1396280084,), (1396280079,), (1396280080,), (1396280081,), (1396280082,), (1396280329,), (1396280360,), (1396280368,), (1396280371,), (1396280519,), (1396280520,), (1396280522,), (1396280550,), (1396280551,), (1396280552,), (1396280576,), (1396280578,), (1396280582,), (1396280587,), (1396280622,), (1396280623,), (1396280624,), (1396280626,), (1396280647,), (1396280649,), (1396280651,), (1396280654,), (1396280658,), (1396280662,), (1396280685,), (1396280686,), (1396280687,), (1396280689,), (1396280692,), (1396280717,), (1396280718,), (1396280720,), (1396280723,), (1396280727,), (1396280730,), (1396280758,), (1396280759,), (1396280760,), (1396280762,), (1396280782,), (1396280783,), (1396280784,), (1396280786,), (1396280789,), (1396280792,), (1396280815,), (1396280817,), (1396280819,), (1396280822,), (1396280826,), (1396280830,), (1396280845,), (1396280847,), (1396280851,), (1396280872,), (1396280874,), (1396280876,), (1396280879,), (1396280901,), (1396280902,), (1396280904,), (1396280906,), (1396280963,), (1396280958,), (1396280959,), (1396280960,), (1396280993,), (1396280996,), (1396280999,), (1396281009,), (1396281033,), (1396281035,), (1396281066,), (1396281069,), (1396281098,), (1396281100,), (1396281102,), (1396281104,), (1396281107,), (1396281142,), (1396281157,), (1396281163,), (1396281166,), (1396281168,), (1396281183,), (1396281185,), (1396281187,), (1396281191,), (1396281224,), (1396281226,), (1396281227,), (1396281229,), (1396281232,), (1396281235,), (1396281258,), (1396281259,), (1396281300,), (1396281301,), (1396281303,), (1396281306,), (1396281310,), (1396281313,), (1396281344,), (1396281346,), (1396281349,), (1396281352,), (1396281356,), (1396281359,), (1396281392,), (1396281394,), (1396281397,), (1396281401,), (1396281421,), (1396281424,), (1396281426,), (1396281428,), (1396281431,), (1396281453,), (1396281457,), (1396281460,), (1396281464,), (1396281468,), (1396281964,), (1396281998,), (1396282032,), (1396282067,), (1396282095,), (1396282097,), (1396282313,), (1396282252,), (1396282275,), (1396282288,), (1396282308,), (1396282340,), (1396282344,), (1396282346,), (1396282348,), (1396282385,), (1396282388,), (1396282391,), (1396282393,), (1396282422,), (1396282423,), (1396282424,), (1396282426,), (1396282429,), (1396282444,), (1396282453,), (1396282463,), (1396282465,), (1396282493,), (1396282495,), (1396282497,), (1396282500,), (1396282505,), (1396282537,), (1396282538,), (1396282539,), (1396282541,), (1396282545,), (1396282622,), (1396282624,), (1396282626,), (1396282681,), (1396282683,), (1396282685,), (1396282689,), (1396282696,), (1396282705,), (1396282768,), (1396282770,), (1396282772,), (1396282775,), (1396282777,), (1396282781,), (1396282799,), (1396282807,), (1396282814,), (1396282832,), (1396282834,), (1396282836,), (1396282839,), (1396282842,), (1396282846,), (1396282857,), (1396282859,), (1396282861,), (1396282864,), (1396282868,), (1396282887,), (1396282888,), (1396282889,), (1396282893,), (1396282943,), (1396282945,), (1396282948,), (1396282952,), (1396282956,), (1396282961,), (1396282965,), (1396283003,), (1396282979,), (1396282985,), (1396282993,), (1396282996,), (1396282999,), (1396283018,), (1396283019,), (1396283020,), (1396283052,), (1396283054,), (1396283056,), (1396283059,), (1396283063,), (1396283081,), (1396283082,), (1396283083,), (1396283085,), (1396283089,), (1396283093,), (1396283108,), (1396283109,), (1396283110,), (1396283112,), (1396283116,), (1396283188,), (1396283220,), (1396283252,), (1396283288,), (1396283321,), (1396283491,), (1396283493,), (1396283495,), (1396283498,), (1396283502,), (1396283504,), (1396283535,), (1396283537,), (1396283539,), (1396283568,), (1396283574,), (1396283577,), (1396283580,), (1396283584,), (1396283588,), (1396283603,), (1396283606,), (1396283611,), (1396283619,), (1396283623,), (1396283627,), (1396283659,), (1396283672,), (1396283679,), (1396283688,), (1396283692,), (1396283695,), (1396283710,), (1396283711,), (1396283727,), (1396283968,), (1396283983,), (1396283999,), (1396284001,), (1396284004,), (1396284007,), (1396284092,), (1396284093,), (1396284095,), (1396284097,), (1396284099,), (1396284118,), (1396284120,), (1396284124,), (1396284127,), (1396284131,), (1396284217,), (1396284202,), (1396284204,), (1396284206,), (1396284209,), (1396284213,), (1396284230,), (1396284232,), (1396284233,), (1396284235,), (1396284238,), (1396284250,), (1396284251,), (1396284253,), (1396284290,), (1396284291,), (1396284293,), (1396284296,), (1396284300,), (1396284304,), (1396284318,), (1396284320,), (1396284321,), (1396284323,), (1396284352,), (1396284358,), (1396284360,), (1396284363,), (1396284384,), (1396284507,), (1396284509,), (1396284510,), (1396284513,), (1396284517,), (1396284536,), (1396284537,), (1396284538,), (1396284540,), (1396284544,), (1396284546,), (1396284599,), (1396284603,), (1396284605,), (1396284608,), (1396284630,), (1396284631,), (1396284632,), (1396284636,), (1396284646,), (1396284665,), (1396284667,), (1396284669,), (1396284672,), (1396284676,), (1396284680,), (1396284715,), (1396284716,), (1396284717,), (1396284719,), (1396284723,), (1396284740,), (1396284742,), (1396284780,), (1396284791,), (1396284798,), (1396284801,), (1396284805,), (1396284810,), (1396284854,), (1396284855,), (1396284857,), (1396284859,), (1396284863,), (1396284865,), (1396284892,), (1396284883,), (1396284889,), (1396284929,), (1396284931,), (1396284932,), (1396284934,), (1396284968,), (1396284974,), (1396284977,), (1396284980,), (1396284984,), (1396284988,), (1396285000,), (1396285002,), (1396285004,), (1396285006,), (1396285017,), (1396285026,), (1396285171,), (1396285183,), (1396285353,), (1396285455,), (1396285536,), (1396285539,), (1396285549,), (1396285571,), (1396285573,), (1396285575,), (1396285579,), (1396285592,), (1396285597,), (1396285618,), (1396285620,), (1396285622,), (1396285655,), (1396285656,), (1396285657,), (1396285660,), (1396285664,), (1396285668,), (1396285681,), (1396285683,), (1396285684,), (1396285688,), (1396285693,), (1396285698,), (1396285711,), (1396285712,), (1396285735,), (1396285742,), (1396285748,), (1396285776,), (1396285777,), (1396285778,), (1396285780,), (1396285815,), (1396285832,), (1396285838,), (1396285875,), (1396285871,), (1396285873,), (1396285874,), (1396285918,), (1396285919,), (1396285943,), (1396285944,), (1396285945,), (1396285947,), (1396285951,), (1396285955,), (1396285972,), (1396285974,), (1396285976,), (1396285979,), (1396285999,), (1396286000,), (1396286001,), (1396286003,), (1396286005,), (1396286008,), (1396286033,), (1396286034,), (1396286035,), (1396286037,), (1396286040,), (1396286175,), (1396286176,), (1396286178,), (1396286198,), (1396286200,), (1396286202,), (1396286256,), (1396286258,), (1396286263,), (1396286273,), (1396286280,), (1396286282,), (1396286309,), (1396286312,), (1396286315,), (1396286320,), (1396286325,), (1396286356,), (1396286364,), (1396286365,), (1396286407,), (1396286408,), (1396286431,), (1396286467,), (1396286476,), (1396286489,), (1396286592,), (1396286593,), (1396286595,), (1396286741,), (1396286744,), (1396286746,), (1396286749,), (1396286753,), (1396286776,), (1396286779,), (1396286780,), (1396287169,), (1396287077,), (1396287107,), (1396287139,), (1396287165,), (1396287183,), (1396287185,), (1396287200,), (1396287211,), (1396287219,), (1396287343,), (1396287376,), (1396287396,), (1396287400,), (1396287403,), (1396287407,), (1396287430,), (1396287431,), (1396287432,), (1396287433,), (1396287435,), (1396287456,), (1396287459,), (1396287460,), (1396287463,), (1396287467,), (1396287768,), (1396287813,), (1396287823,), (1396287827,), (1396287832,), (1396287874,), (1396287875,), (1396287876,), (1396287895,), (1396287897,), (1396287899,), (1396287928,), (1396287929,), (1396287930,), (1396287932,), (1396287960,), (1396287962,), (1396287964,), (1396287967,), (1396287991,), (1396287992,), (1396287993,), (1396288000,), (1396288008,), (1396288025,), (1396288027,), (1396288030,), (1396288067,), (1396288075,), (1396288080,), (1396288083,), (1396288087,), (1396288089,), (1396288101,), (1396288103,), (1396288105,), (1396288108,), (1396288112,), (1396288141,), (1396288143,), (1396288144,), (1396288146,), (1396288181,), (1396288168,), (1396288170,), (1396288172,), (1396288175,), (1396288178,), (1396288322,), (1396288326,), (1396288329,), (1396288333,), (1396288350,), (1396288352,), (1396288354,), (1396288357,), (1396288360,), (1396288379,), (1396288381,), (1396288382,), (1396288384,), (1396288388,), (1396288428,), (1396288429,), (1396288430,), (1396288432,), (1396288435,), (1396288438,), (1396288446,), (1396288448,), (1396288452,), (1396288453,), (1396288455,), (1396288457,), (1396288461,), (1396288465,), (1396288481,), (1396288482,), (1396288483,), (1396288485,), (1396288489,), (1396288494,), (1396288551,), (1396288553,), (1396288562,), (1396288706,), (1396288707,), (1396288708,), (1396288710,), (1396288714,), (1396288718,), (1396288761,), (1396288917,), (1396288956,), (1396288988,), (1396289026,), (1396293206,), (1396293197,), (1396293198,), (1396293199,), (1396293200,), (1396293202,), (1396293227,), (1396293228,), (1396293260,), (1396293297,), (1396293714,), (1396293747,), (1396293783,), (1396293990,), (1396294024,), (1396294057,), (1396294543,), (1396294594,), (1396294822,), (1396294824,), (1396294852,), (1396294883,), (1396294876,), (1396294878,), (1396294880,), (1396294919,), (1396294920,), (1396294921,), (1396294923,), (1396294927,), (1396295010,), (1396295130,), (1396295162,), (1396295197,), (1396295218,), (1396295221,), (1396295353,), (1396295357,), (1396295361,), (1396295366,), (1396295371,), (1396295375,), (1396295380,), (1396295381,), (1396295406,), (1396295408,), (1396295410,), (1396295430,), (1396295467,), (1396295470,), (1396295536,), (1396295545,), (1396295554,), (1396295557,), (1396295558,), (1396295560,), (1396295608,), (1396295612,), (1396295614,), (1396295617,), (1396295640,), (1396295655,), (1396295657,), (1396295659,), (1396295661,), (1396295665,), (1396295669,), (1396295687,), (1396295688,), (1396295689,), (1396295691,), (1396295723,), (1396295724,), (1396295726,), (1396295729,), (1396295754,), (1396295755,), (1396295756,), (1396295758,), (1396295761,), (1396295763,), (1396295773,), (1396295775,), (1396295778,), (1396295782,), (1396295802,), (1396295804,), (1396295806,), (1396295809,), (1396295819,), (1396295831,), (1396295843,), (1396295844,), (1396295846,), (1396295849,), (1396295852,), (1396295855,), (1396295863,), (1396295864,), (1396295865,), (1396295866,), (1396295867,), (1396295870,), (1396295877,), (1396295880,), (1396295883,), (1396295904,), (1396295893,), (1396295894,), (1396295895,), (1396295897,), (1396295900,), (1396295921,), (1396295925,), (1396295927,), (1396295930,), (1396295934,), (1396295949,), (1396295950,), (1396295951,), (1396295953,), (1396295987,), (1396295989,), (1396295991,), (1396295994,), (1396295998,), (1396296001,), (1396296013,), (1396296014,), (1396296015,), (1396296051,), (1396296088,), (1396296098,), (1396296257,), (1396296258,), (1396296259,), (1396296368,), (1396296370,), (1396296372,), (1396296404,), (1396296405,), (1396296414,), (1396296416,), (1396296486,), (1396296526,), (1396296561,), (1396296595,), (1396296615,), (1396296643,), (1396296746,), (1396296750,), (1396296762,), (1396296766,), (1396296847,), (1396296828,), (1396296830,), (1396296832,), (1396296834,), (1396296838,), (1396296873,), (1396296875,), (1396296876,), (1396296878,), (1396296885,), (1396296895,), (1396296922,), (1396296924,), (1396297019,), (1396297020,), (1396297022,), (1396297025,), (1396297028,), (1396297031,), (1396297044,), (1396297045,), (1396297070,), (1396297072,), (1396297074,), (1396297093,), (1396297129,), (1396297131,), (1396297138,), (1396297142,), (1396297145,), (1396297149,), (1396297160,), (1396297206,), (1396297227,), (1396297229,), (1396297232,), (1396297236,), (1396297239,), (1396297396,), (1396297397,), (1396297398,), (1396297399,), (1396297553,), (1396297564,), (1396297577,), (1396297608,), (1396297613,), (1396297615,), (1396297742,), (1396297767,), (1396297769,), (1396297798,), (1396297801,), (1396297802,), (1396297804,), (1396297838,), (1396297849,), (1396297892,), (1396297894,), (1396297898,), (1396297901,), (1396297904,), (1396297907,), (1396297932,), (1396297933,), (1396297934,), (1396297960,), (1396297988,), (1396298056,), (1396298120,), (1396298193,), (1396298766,), (1396298699,), (1396298730,), (1396298990,), (1396298991,), (1396298993,), (1396298996,), (1396299000,), (1396299004,), (1396299280,), (1396299281,), (1396299295,), (1396299330,), (1396299368,), (1396299431,), (1396299436,), (1396299441,), (1396299520,), (1396299521,), (1396299526,), (1396299528,), (1396299532,), (1396299546,), (1396299561,), (1396299593,), (1396300001,), (1396300004,), (1396300006,), (1396300014,), (1396300021,), (1396300057,), (1396300223,), (1396300225,), (1396300227,), (1396300230,), (1396300739,), (1396300994,), (1396300986,), (1396300992,), (1396301356,), (1396301357,), (1396301359,), (1396301379,), (1396301554,), (1396301556,), (1396301558,), (1396301561,), (1396301565,), (1396301595,), (1396301596,), (1396301599,), (1396301602,), (1396301606,), (1396301612,), (1396301624,), (1396301636,), (1396301639,), (1396301643,), (1396301647,), (1396301650,), (1396301915,), (1396301945,), (1396301974,), (1396302012,), (1396302404,), (1396302436,), (1396302471,), (1396302497,), (1396302501,), (1396302505,), (1396302648,), (1396302714,), (1396302775,), (1396302833,), (1396303351,), (1396303385,), (1396303421,), (1396303584,), (1396303645,), (1396303702,), (1396303759,), (1396303798,), (1396303832,), (1396304071,), (1396304072,), (1396304091,), (1396304123,), (1396304154,), (1396304270,), (1396304273,), (1396304279,), (1396304282,), (1396304300,), (1396304301,), (1396304303,), (1396304305,), (1396304307,), (1396304343,), (1396304335,), (1396304336,), (1396304337,), (1396304339,), (1396304341,), (1396304567,), (1396304603,), (1396304636,), (1396305056,), (1396305066,), (1396305067,), (1396305069,), (1396305072,), (1396305383,), (1396305430,), (1396305462,), (1396305470,), (1396305487,), (1396305538,), (1396305903,), (1396305933,), (1396305966,), (1396306001,), (1396306034,), (1396306292,), (1396306293,), (1396306294,), (1396306295,), (1396306675,), (1396306723,), (1396306755,), (1396306795,), (1396306856,), (1396307068,), (1396307069,), (1396307070,), (1396307100,), (1396307350,), (1396307385,), (1396307418,), (1396307729,), (1396307737,), (1396307765,), (1396307794,), (1396307821,), (1396307869,), (1396307870,), (1396307871,), (1396307872,), (1396307875,), (1396307878,), (1396307912,), (1396307913,), (1396307914,), (1396307916,), (1396307936,), (1396307946,), (1396307947,), (1396307961,), (1396307966,), (1396307982,), (1396308012,), (1396308043,), (1396308074,), (1396308108,), (1396308184,), (1396308199,), (1396308232,), (1396308265,), (1396308377,), (1396308374,), (1396308375,), (1396308376,), (1396308389,), (1396308404,), (1396308411,), (1396308419,), (1396308422,), (1396308433,), (1396308434,), (1396308444,), (1396308445,), (1396308446,), (1396308448,), (1396308451,), (1396308453,), (1396308471,), (1396308472,), (1396308473,), (1396308474,), (1396308478,), (1396308481,), (1396308500,), (1396308502,), (1396308505,), (1396308520,), (1396308521,), (1396308522,), (1396308524,), (1396308527,), (1396308530,), (1396308580,), (1396308581,), (1396308582,), (1396308583,), (1396308613,), (1396308614,), (1396308615,), (1396308764,), (1396308798,), (1396308832,), (1396308863,), (1396308894,), (1396309155,), (1396309156,), (1396309157,), (1396309159,), (1396309190,), (1396309391,), (1396309392,), (1396309393,), (1396309404,), (1396309405,), (1396309406,), (1396309408,), (1396309572,), (1396309577,), (1396309581,), (1396309585,), (1396309589,), (1396309810,), (1396309742,), (1396309774,), (1396310255,), (1396310294,), (1396310330,), (1396310391,), (1396310427,), (1396310463,), (1396310798,), (1396310830,), (1396310860,), (1396310870,), (1396310875,), (1396310986,), (1396310988,), (1396310991,), (1396310992,), (1396311015,), (1396311016,), (1396311017,), (1396311019,), (1396311022,), (1396311025,), (1396311069,), (1396311071,), (1396311073,), (1396311076,), (1396311107,), (1396311108,), (1396311109,), (1396311111,), (1396311114,), (1396311135,), (1396311137,), (1396311139,), (1396311187,), (1396311189,), (1396311190,), (1396311191,), (1396311194,), (1396311217,), (1396311218,), (1396311220,), (1396311223,), (1396311241,), (1396311245,), (1396311247,), (1396311250,), (1396311254,), (1396311272,), (1396311274,), (1396311276,), (1396311561,), (1396311591,), (1396311621,), (1396311893,), (1396311895,), (1396311897,), (1396311908,), (1396312162,), (1396312171,), (1396312199,), (1396312205,), (1396312230,), (1396312226,), (1396312228,), (1396312252,), (1396312253,), (1396312256,), (1396312303,), (1396312305,), (1396312307,), (1396312339,), (1396312360,), (1396312362,), (1396312420,), (1396312421,), (1396312422,), (1396312424,), (1396312451,), (1396312453,), (1396312457,), (1396312467,), (1396312473,), (1396312495,), (1396312498,), (1396312501,), (1396312537,), (1396312538,), (1396312540,), (1396312542,), (1396312565,), (1396312567,), (1396312569,), (1396312572,), (1396312574,), (1396312578,), (1396312602,), (1396312603,), (1396312604,), (1396312606,), (1396312644,), (1396312646,), (1396312648,), (1396312674,), (1396312675,), (1396312676,), (1396312678,), (1396312682,), (1396312686,), (1396312706,), (1396312708,), (1396312711,), (1396312715,), (1396312720,), (1396312736,), (1396312738,), (1396312741,), (1396312769,), (1396312763,), (1396312764,), (1396312767,), (1396312802,), (1396312803,), (1396312805,), (1396312808,), (1396312812,), (1396312815,), (1396312827,), (1396312829,), (1396312831,), (1396312834,), (1396312838,), (1396312842,), (1396312860,), (1396313170,), (1396313202,), (1396313236,), (1396313270,), (1396313307,), (1396313638,), (1396313670,), (1396313701,), (1396313718,), (1396313722,), (1396313725,), (1396313860,), (1396313892,), (1396313922,), (1396313928,), (1396313930,), (1396314063,), (1396314065,), (1396314090,), (1396314091,), (1396314092,), (1396314094,), (1396314098,), (1396314135,), (1396314139,), (1396314141,), (1396314158,), (1396314163,), (1396314196,), (1396314243,), (1396314487,), (1396314505,), (1396314507,), (1396314510,), (1396314514,), (1396314517,), (1396314536,), (1396314537,), (1396314538,), (1396314540,), (1396314544,), (1396314546,), (1396314562,), (1396314564,), (1396314696,), (1396314653,), (1396314664,), (1396314668,), (1396314792,), (1396314824,), (1396315124,), (1396315126,), (1396315128,), (1396315294,), (1396315295,), (1396315319,), (1396315321,), (1396315323,), (1396315342,), (1396315344,), (1396315346,), (1396315349,), (1396315353,), (1396315357,), (1396315579,), (1396315610,), (1396316073,), (1396316105,), (1396316137,), (1396316311,), (1396316340,), (1396316370,), (1396316542,), (1396316544,), (1396316546,), (1396316549,), (1396316553,), (1396316556,), (1396316571,), (1396316572,), (1396316573,), (1396316575,), (1396316603,), (1396316606,), (1396317026,), (1396317086,), (1396317121,), (1396317179,), (1396317228,), (1396317823,), (1396317842,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26112025': {'nb_upload': 47, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28936305]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] map_info['map_portfolio_photo'] : {28936305: [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893]} final : True mtd_id 4302 list_pids : [1396296847, 1396296766, 1396296762, 1396296750, 1396296746, 1396296643, 1396296615, 1396296595, 1396296561, 1396296526, 1396296486, 1396296416, 1396296414, 1396296405, 1396296404, 1396296372, 1396296370, 1396296368, 1396296259, 1396296258, 1396296257, 1396296098, 1396296088, 1396296051, 1396296015, 1396296014, 1396296013, 1396296001, 1396295998, 1396295994, 1396295991, 1396295989, 1396295987, 1396295953, 1396295951, 1396295950, 1396295949, 1396295934, 1396295930, 1396295927, 1396295925, 1396295921, 1396295900, 1396295897, 1396295895, 1396295894, 1396295893] Looping around the photos to save general results len do output : 1 /28936305Didn'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, '4127316') ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316') ('4302', None, None, None, None, None, None, None, '4127316') ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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, '28936305', 'None', None, None, None, None, '4127316'), ('4302', '28936305', '1396296847', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296766', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296762', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296750', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296746', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296643', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296615', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296595', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296561', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296526', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296486', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296416', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296414', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296405', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296404', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296372', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296370', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296368', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296259', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296258', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296257', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296098', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296088', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296051', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296015', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296014', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296013', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396296001', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295998', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295994', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295991', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295989', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295987', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295953', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295951', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295950', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295949', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295934', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295930', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295927', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295925', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295921', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295900', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295897', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295895', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295894', None, None, None, None, None, '4127316'), ('4302', '28936305', '1396295893', None, None, None, None, None, '4127316')] time used for this insertion : 0.023867130279541016 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.020697832107544 time spend to save output : 0.024354219436645508 total time spend for step 5 : 7.0450520515441895 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 (4127316) 3.43user 2.61system 0:22.35elapsed 27%CPU (0avgtext+0avgdata 170008maxresident)k 880inputs+36568outputs (12major+88522minor)pagefaults 0swaps