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 : 3215931 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 (4014078) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4014078) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275113 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4014078'] with mtr_portfolio_ids : ['28275113'] and first list_photo_ids : [] new path : /proc/3215931/ Name: python3 Umask: 0002 State: R (running) Tgid: 3215931 Ngid: 0 Pid: 3215931 PPid: 3215930 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3215931 NSpid: 3215931 NSpgid: 3214799 NSsid: 3214799 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98272 kB VmRSS: 98272 kB RssAnon: 59896 kB RssFile: 38376 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 70 nonvoluntary_ctxt_switches: 124 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3215931', 'Ngid': '0', 'Pid': '3215931', 'PPid': '3215930', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3215931', 'NSpid': '3215931', 'NSpgid': '3214799', 'NSsid': '3214799', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98272 kB', 'VmRSS': '98272 kB', 'RssAnon': '59896 kB', 'RssFile': '38376 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '70', 'nonvoluntary_ctxt_switches': '124'} ('datou_batch_current', '3215931', '1106908', '0', '1106884', '865636', '98272', b'', 'marlene', '4014078') 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 (28275113) 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 (4014078 ) ) 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 (28275113) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1393012705, 'portfolio_id': 28275113}, {'photo_id': 1393012655, 'portfolio_id': 28275113}, {'photo_id': 1393012650, 'portfolio_id': 28275113}, {'photo_id': 1393012647, 'portfolio_id': 28275113}, {'photo_id': 1393012645, 'portfolio_id': 28275113}, {'photo_id': 1393012644, 'portfolio_id': 28275113}, {'photo_id': 1393012619, 'portfolio_id': 28275113}, {'photo_id': 1393012615, 'portfolio_id': 28275113}, {'photo_id': 1393012612, 'portfolio_id': 28275113}, {'photo_id': 1393012609, 'portfolio_id': 28275113}, {'photo_id': 1393012606, 'portfolio_id': 28275113}, {'photo_id': 1393012547, 'portfolio_id': 28275113}, {'photo_id': 1393012545, 'portfolio_id': 28275113}, {'photo_id': 1393012543, 'portfolio_id': 28275113}, {'photo_id': 1393012540, 'portfolio_id': 28275113}, {'photo_id': 1393012491, 'portfolio_id': 28275113}, {'photo_id': 1393012488, 'portfolio_id': 28275113}, {'photo_id': 1393012485, 'portfolio_id': 28275113}, {'photo_id': 1393012482, 'portfolio_id': 28275113}, {'photo_id': 1393012422, 'portfolio_id': 28275113}, {'photo_id': 1393012416, 'portfolio_id': 28275113}, {'photo_id': 1393012414, 'portfolio_id': 28275113}, {'photo_id': 1393012411, 'portfolio_id': 28275113}, {'photo_id': 1393012364, 'portfolio_id': 28275113}, {'photo_id': 1393012352, 'portfolio_id': 28275113}, {'photo_id': 1393012347, 'portfolio_id': 28275113}, {'photo_id': 1393012275, 'portfolio_id': 28275113}, {'photo_id': 1393012257, 'portfolio_id': 28275113}, {'photo_id': 1393012253, 'portfolio_id': 28275113}, {'photo_id': 1393012250, 'portfolio_id': 28275113}, {'photo_id': 1393012248, 'portfolio_id': 28275113}, {'photo_id': 1393012246, 'portfolio_id': 28275113}, {'photo_id': 1393012244, 'portfolio_id': 28275113}, {'photo_id': 1393012203, 'portfolio_id': 28275113}, {'photo_id': 1393012196, 'portfolio_id': 28275113}, {'photo_id': 1393012194, 'portfolio_id': 28275113}, {'photo_id': 1393012191, 'portfolio_id': 28275113}, {'photo_id': 1393012133, 'portfolio_id': 28275113}, {'photo_id': 1393012123, 'portfolio_id': 28275113}, {'photo_id': 1393012068, 'portfolio_id': 28275113}, {'photo_id': 1393012067, 'portfolio_id': 28275113}, {'photo_id': 1393012041, 'portfolio_id': 28275113}, {'photo_id': 1393012038, 'portfolio_id': 28275113}, {'photo_id': 1393012035, 'portfolio_id': 28275113}, {'photo_id': 1393011920, 'portfolio_id': 28275113}] map_portfolio_id_photo_id: {28275113: [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920]} ##### 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.017208576202392578 #### 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 Fri Nov 7 06:11:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28275113) 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 : 28275113 get user id for portfolio 28275113 get sub ptf for main ptf 28275113, type 3726 and hashtags ['flou', 'papier', 'mal_croppe', 'kraft', 'metal', 'environnement', 'plastique', 'autre_refus', 'Carton_gris', 'Carton_brun', 'cartonnette', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28275113 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','kraft','metal','environnement','plastique','autre_refus','Carton_gris','Carton_brun','cartonnette','Teint_Dans_La_Masse')) 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`=28275113 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','kraft','metal','environnement','plastique','autre_refus','Carton_gris','Carton_brun','cartonnette','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28275113, 'sub_port_id': 28275123, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133646, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 28275113, 'sub_port_id': 28275125, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133647, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'Carton_gris': {'main_port_id': 28275113, 'sub_port_id': 28275126, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133648, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'environnement': {'main_port_id': 28275113, 'sub_port_id': 28275127, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133649, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'mal_croppe': {'main_port_id': 28275113, 'sub_port_id': 28275128, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133650, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'Carton_brun': {'main_port_id': 28275113, 'sub_port_id': 28275129, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133651, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'papier': {'main_port_id': 28275113, 'sub_port_id': 28275130, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133652, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'plastique': {'main_port_id': 28275113, 'sub_port_id': 28275131, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133653, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'kraft': {'main_port_id': 28275113, 'sub_port_id': 28275132, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133654, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'cartonnette': {'main_port_id': 28275113, 'sub_port_id': 28275133, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133655, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'autre_refus': {'main_port_id': 28275113, 'sub_port_id': 28275134, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133656, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}, 'metal': {'main_port_id': 28275113, 'sub_port_id': 28275135, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133657, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275123 , 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=28275113 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 (28275123) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275125 , 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=28275113 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 (28275125) result : ((1393012583,), (1393012584,), (1393012585,), (1393012662,), (1393012663,), (1393012687,), (1393012688,), (1393012816,), (1393012817,), (1393012818,), (1393012819,), (1393012820,), (1393012821,), (1393012822,), (1393012823,), (1393012824,), (1393012887,), (1393012888,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275126 , 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=28275113 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 (28275126) result : ((1393012237,), (1393012318,), (1393012587,), (1393012825,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275127 , 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=28275113 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 (28275127) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275128 , 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=28275113 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 (28275128) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275129 , 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=28275113 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 (28275129) result : ((1393012238,), (1393012576,), (1393012577,), (1393012595,), (1393012665,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275130 , 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=28275113 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 (28275130) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275131 , 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=28275113 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 (28275131) result : ((1393012319,), (1393012578,), (1393012689,), (1393012690,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275132 , 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=28275113 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 (28275132) result : ((1393012667,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275133 , 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=28275113 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 (28275133) result : ((1393012219,), (1393012573,), (1393012574,), (1393012588,), (1393012589,), (1393012664,), (1393012826,), (1393012889,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275134 , 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=28275113 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 (28275134) result : ((1393012218,), (1393012316,), (1393012446,), (1393012568,), (1393012569,), (1393012570,), (1393012586,), (1393013271,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28275135 , 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=28275113 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 (28275135) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28275113) result : ((1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28275113 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','kraft','metal','environnement','plastique','autre_refus','Carton_gris','Carton_brun','cartonnette','Teint_Dans_La_Masse')) 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`=28275113 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','kraft','metal','environnement','plastique','autre_refus','Carton_gris','Carton_brun','cartonnette','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 28275113, 'sub_port_id': 28275136, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133658, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 28275113, 'sub_port_id': 28275137, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133659, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'Carton_gris': {'main_port_id': 28275113, 'sub_port_id': 28275138, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133660, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'environnement': {'main_port_id': 28275113, 'sub_port_id': 28275139, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133661, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'mal_croppe': {'main_port_id': 28275113, 'sub_port_id': 28275140, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133662, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'Carton_brun': {'main_port_id': 28275113, 'sub_port_id': 28275141, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133663, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'papier': {'main_port_id': 28275113, 'sub_port_id': 28275142, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133664, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'plastique': {'main_port_id': 28275113, 'sub_port_id': 28275143, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133665, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'kraft': {'main_port_id': 28275113, 'sub_port_id': 28275144, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133666, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'cartonnette': {'main_port_id': 28275113, 'sub_port_id': 28275145, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133667, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'autre_refus': {'main_port_id': 28275113, 'sub_port_id': 28275146, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133668, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}, 'metal': {'main_port_id': 28275113, 'sub_port_id': 28275147, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19133669, 'last_updated_at': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 11, 6, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 11, 6, 21, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275136,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275123 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275137,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275125 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275138,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275126 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275139,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275127 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275140,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275128 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275141,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275129 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275142,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275130 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275143,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275131 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275144,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275132 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275145,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275133 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275146,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275134 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28275147,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28275135 lien utilise dans velours : https://marlene.fotonower.com/velours/28275136,28275137,28275138,28275139,28275140,28275141,28275142,28275143,28275144,28275145,28275146,28275147?tags=flou,Teint_Dans_La_Masse,Carton_gris,environnement,mal_croppe,Carton_brun,papier,plastique,kraft,cartonnette,autre_refus,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28275113]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] map_info['map_portfolio_photo'] : {28275113: [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920]} final : False mtd_id 4302 list_pids : [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] Looping around the photos to save general results len do output : 1 /28275113. 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, '4014078') ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '28275113', "{'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135}", None, None, None, None, '4014078'), ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078')] time used for this insertion : 0.022270679473876953 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5872058868408203 time spend to save output : 0.02295541763305664 total time spend for step 1 : 1.610161304473877 step2:final Fri Nov 7 06:11: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 (28275113) 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 28275113 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1393011920,1393012041,1393012038,1393012035,1393012068,1393012067,1393012133,1393012123,1393012203,1393012196,1393012194,1393012191,1393012257,1393012253,1393012250,1393012248,1393012246,1393012244,1393012275,1393012364,1393012352,1393012347,1393012422,1393012416,1393012414,1393012411,1393012491,1393012488,1393012485,1393012482,1393012547,1393012545,1393012543,1393012540,1393012619,1393012615,1393012612,1393012609,1393012606,1393012655,1393012650,1393012647,1393012645,1393012644,1393012705); 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([28275113]) Inside saveOutput : final : False verbose : True original output for save of step final : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} new output for save of step final : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] map_info['map_portfolio_photo'] : {28275113: [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920]} final : False mtd_id 4302 list_pids : [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] Looping around the photos to save general results len do output : 45 /1393012705.Didn't retrieve data . /1393012655.Didn't retrieve data . /1393012650.Didn't retrieve data . /1393012647.Didn't retrieve data . /1393012645.Didn't retrieve data . /1393012644.Didn't retrieve data . /1393012619.Didn't retrieve data . /1393012615.Didn't retrieve data . /1393012612.Didn't retrieve data . /1393012609.Didn't retrieve data . /1393012606.Didn't retrieve data . /1393012547.Didn't retrieve data . /1393012545.Didn't retrieve data . /1393012543.Didn't retrieve data . /1393012540.Didn't retrieve data . /1393012491.Didn't retrieve data . /1393012488.Didn't retrieve data . /1393012485.Didn't retrieve data . /1393012482.Didn't retrieve data . /1393012422.Didn't retrieve data . /1393012416.Didn't retrieve data . /1393012414.Didn't retrieve data . /1393012411.Didn't retrieve data . /1393012364.Didn't retrieve data . /1393012352.Didn't retrieve data . /1393012347.Didn't retrieve data . /1393012275.Didn't retrieve data . /1393012257.Didn't retrieve data . /1393012253.Didn't retrieve data . /1393012250.Didn't retrieve data . /1393012248.Didn't retrieve data . /1393012246.Didn't retrieve data . /1393012244.Didn't retrieve data . /1393012203.Didn't retrieve data . /1393012196.Didn't retrieve data . /1393012194.Didn't retrieve data . /1393012191.Didn't retrieve data . /1393012133.Didn't retrieve data . /1393012123.Didn't retrieve data . /1393012068.Didn't retrieve data . /1393012067.Didn't retrieve data . /1393012041.Didn't retrieve data . /1393012038.Didn't retrieve data . /1393012035.Didn't retrieve data . /1393011920.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, '4014078') ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '28275113', '1393012705', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012655', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012650', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012647', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012645', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012644', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012619', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012615', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012612', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012609', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012606', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012547', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012545', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012543', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012540', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012491', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012488', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012485', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012482', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012422', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012416', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012414', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012411', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012364', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012352', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012347', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012275', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012257', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012253', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012250', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012248', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012246', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012244', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012203', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012196', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012194', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012191', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012133', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012123', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012068', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012067', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012041', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012038', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393012035', '0.0659716264046178', None, None, None, None, '4014078'), ('4302', '28275113', '1393011920', '0.0659716264046178', None, None, None, None, '4014078')] time used for this insertion : 0.022619247436523438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0691070556640625 time spend to save output : 0.0243377685546875 total time spend for step 2 : 0.09344482421875 step3:velours_tree Fri Nov 7 06:11: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 : {28275113: [{'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135}]} input_args_next_step : {28275113: ()} output_args : {28275113: [{'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135}]} args : 28275113 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28275113) 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([28275113]) 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.3186981678009033 time spend to save output : 6.270408630371094e-05 total time spend for step 3 : 0.31876087188720703 step4:send_mail_cod Fri Nov 7 06:11: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 : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} input_args_next_step : {1393012705: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012705 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012655 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012650 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012647 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012645 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012644 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012619 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012615 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012612 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012609 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012606 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012547 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012545 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012543 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012540 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012491 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012488 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012485 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012482 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012422 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012416 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012414 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012411 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012364 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012352 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012347 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012275 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012257 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012253 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012250 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012248 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012246 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012244 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012203 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012196 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012194 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012191 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012133 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012123 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012068 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012067 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012041 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012038 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393012035 depend.output_id : 0 input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ()} output_args : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',)} args : 1393011920 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 : {28275113: [{'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135}]} input_args_next_step : {1393012705: ('0.0659716264046178',), 1393012655: ('0.0659716264046178',), 1393012650: ('0.0659716264046178',), 1393012647: ('0.0659716264046178',), 1393012645: ('0.0659716264046178',), 1393012644: ('0.0659716264046178',), 1393012619: ('0.0659716264046178',), 1393012615: ('0.0659716264046178',), 1393012612: ('0.0659716264046178',), 1393012609: ('0.0659716264046178',), 1393012606: ('0.0659716264046178',), 1393012547: ('0.0659716264046178',), 1393012545: ('0.0659716264046178',), 1393012543: ('0.0659716264046178',), 1393012540: ('0.0659716264046178',), 1393012491: ('0.0659716264046178',), 1393012488: ('0.0659716264046178',), 1393012485: ('0.0659716264046178',), 1393012482: ('0.0659716264046178',), 1393012422: ('0.0659716264046178',), 1393012416: ('0.0659716264046178',), 1393012414: ('0.0659716264046178',), 1393012411: ('0.0659716264046178',), 1393012364: ('0.0659716264046178',), 1393012352: ('0.0659716264046178',), 1393012347: ('0.0659716264046178',), 1393012275: ('0.0659716264046178',), 1393012257: ('0.0659716264046178',), 1393012253: ('0.0659716264046178',), 1393012250: ('0.0659716264046178',), 1393012248: ('0.0659716264046178',), 1393012246: ('0.0659716264046178',), 1393012244: ('0.0659716264046178',), 1393012203: ('0.0659716264046178',), 1393012196: ('0.0659716264046178',), 1393012194: ('0.0659716264046178',), 1393012191: ('0.0659716264046178',), 1393012133: ('0.0659716264046178',), 1393012123: ('0.0659716264046178',), 1393012068: ('0.0659716264046178',), 1393012067: ('0.0659716264046178',), 1393012041: ('0.0659716264046178',), 1393012038: ('0.0659716264046178',), 1393012035: ('0.0659716264046178',), 1393011920: ('0.0659716264046178',), 28275113: ()} output_args : {28275113: [{'flou': 28275123, 'Teint_Dans_La_Masse': 28275125, 'Carton_gris': 28275126, 'environnement': 28275127, 'mal_croppe': 28275128, 'Carton_brun': 28275129, 'papier': 28275130, 'plastique': 28275131, 'kraft': 28275132, 'cartonnette': 28275133, 'autre_refus': 28275134, 'metal': 28275135}]} args : 28275113 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 :46, first value : ('0.0659716264046178',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28275113) 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 (1393012705,1393012655,1393012650,1393012647,1393012645,1393012644,1393012619,1393012615,1393012612,1393012609,1393012606,1393012547,1393012545,1393012543,1393012540,1393012491,1393012488,1393012485,1393012482,1393012422,1393012416,1393012414,1393012411,1393012364,1393012352,1393012347,1393012275,1393012257,1393012253,1393012250,1393012248,1393012246,1393012244,1393012203,1393012196,1393012194,1393012191,1393012133,1393012123,1393012068,1393012067,1393012041,1393012038,1393012035,1393011920) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1393011920 begin to download photo : 1393012196 begin to download photo : 1393012352 begin to download photo : 1393012540 begin to download photo : 1393012645 download finish for photo 1393012352 begin to download photo : 1393012364 download finish for photo 1393011920 begin to download photo : 1393012035 download finish for photo 1393012540 begin to download photo : 1393012543 download finish for photo 1393012196 begin to download photo : 1393012203 download finish for photo 1393012645 begin to download photo : 1393012647 download finish for photo 1393012364 begin to download photo : 1393012411 download finish for photo 1393012035 begin to download photo : 1393012038 download finish for photo 1393012543 begin to download photo : 1393012545 download finish for photo 1393012203 begin to download photo : 1393012244 download finish for photo 1393012647 begin to download photo : 1393012650 download finish for photo 1393012038 begin to download photo : 1393012041 download finish for photo 1393012411 begin to download photo : 1393012414 download finish for photo 1393012650 begin to download photo : 1393012655 download finish for photo 1393012545 begin to download photo : 1393012547 download finish for photo 1393012244 begin to download photo : 1393012246 download finish for photo 1393012041 begin to download photo : 1393012067 download finish for photo 1393012414 begin to download photo : 1393012416 download finish for photo 1393012655 begin to download photo : 1393012705 download finish for photo 1393012246 begin to download photo : 1393012248 download finish for photo 1393012067 begin to download photo : 1393012068 download finish for photo 1393012547 begin to download photo : 1393012606 download finish for photo 1393012416 begin to download photo : 1393012422 download finish for photo 1393012705 download finish for photo 1393012068 begin to download photo : 1393012123 download finish for photo 1393012606 begin to download photo : 1393012609 download finish for photo 1393012248 begin to download photo : 1393012250 download finish for photo 1393012422 begin to download photo : 1393012482 download finish for photo 1393012123 begin to download photo : 1393012133 download finish for photo 1393012609 begin to download photo : 1393012612 download finish for photo 1393012250 begin to download photo : 1393012253 download finish for photo 1393012482 begin to download photo : 1393012485 download finish for photo 1393012133 begin to download photo : 1393012191 download finish for photo 1393012612 begin to download photo : 1393012615 download finish for photo 1393012253 begin to download photo : 1393012257 download finish for photo 1393012485 begin to download photo : 1393012488 download finish for photo 1393012191 begin to download photo : 1393012194 download finish for photo 1393012615 begin to download photo : 1393012619 download finish for photo 1393012257 begin to download photo : 1393012275 download finish for photo 1393012194 download finish for photo 1393012488 begin to download photo : 1393012491 download finish for photo 1393012619 begin to download photo : 1393012644 download finish for photo 1393012275 begin to download photo : 1393012347 download finish for photo 1393012491 download finish for photo 1393012644 download finish for photo 1393012347 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette282751231762492321/ imagette282751281762492321/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P28275113_07-11-2025_06_12_01.pdf 28275123 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=28275123 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282751231762492321 28275128 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=28275128 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282751281762492321 28275131 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=28275131 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012319: '1762459767_3818718_1393012196_8fab34dcc96edc7df1036471aea0818d_rle_crop_4024093899_0.png', 1393012578: '1762459986_3829232_1393012248_582f1287db329118b8cbb806053fabea_rle_crop_4024095403_0.png', 1393012689: '1762460125_3835117_1393012612_3912e88d09822b5f5b2b940edc719425_rle_crop_4024095957_0.png', 1393012690: '1762460125_3835117_1393012606_6f8040e3ff26f5e0723d908206a8997a_rle_crop_4024095983_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/2fd350a9410daf718c068f2a61caaf7a_2257286.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/fe605ed3eeba53b7d489481a1e9c5a7c_99971961.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/90727ba69a07cbf0ebafa1256c2f0a58_25412238.png change filename to text .imagette282751311762492321/ imagette282751311762492321/1762459986_3829232_1393012248_582f1287db329118b8cbb806053fabea_rle_crop_4024095403_0.png.png imagette282751311762492321/1762460125_3835117_1393012612_3912e88d09822b5f5b2b940edc719425_rle_crop_4024095957_0.png.png imagette282751311762492321/1762460125_3835117_1393012606_6f8040e3ff26f5e0723d908206a8997a_rle_crop_4024095983_0.png.png imagette282751311762492321/1762459767_3818718_1393012196_8fab34dcc96edc7df1036471aea0818d_rle_crop_4024093899_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/42e7e663c602fc97eb3a8365e7a092d3_86364728.png imagette282751311762492321 28275132 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=28275132 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012667: '1762460105_3834755_1393012485_71128ad0cc90b36a932fb9ad15aacf0b_rle_crop_4024095822_0.png'} change filename to text .imagette282751321762492321/ imagette282751321762492321/1762460105_3834755_1393012485_71128ad0cc90b36a932fb9ad15aacf0b_rle_crop_4024095822_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/ee85a214d685c3f3e96750f061fa06dd_30992028.png imagette282751321762492321 28275133 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=28275133 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012219: '1762459625_3812809_1393012133_1021a37579ade5b2cd5b4c13e348edbe_rle_crop_4024093478_0.png', 1393012573: '1762459986_3829232_1393012246_81e54ccc7faeafd5836db83cf15da7a0_rle_crop_4024095415_0.png', 1393012574: '1762459986_3829232_1393012244_dc52559e013e58dd46bf2132af5e7766_rle_crop_4024095430_0.png', 1393012588: '1762460006_3829872_1393012491_965709fd856ca386d4f331027493e013_rle_crop_4024095592_0.png', 1393012589: '1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095668_0.png', 1393012664: '1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095809_0.png', 1393012826: '1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097190_0.png', 1393012889: '1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097320_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/d6e85d385d1651c05a9c33b9ecea9b05_28971939.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/f62f357e6c77f82f54f8b4b02c9d006a_98992741.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/79384e5a755cf93d0be852c798c5d303_6132350.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/4e9742542684ccfd47d4c247ecf41fe1_55340723.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/13c96de647e5b0e88cdfa8a2ecdbc3b9_31421201.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/50f2164d189a06f1e3a4e7693e34c080_77312027.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/afdf02671fbaeb1086944ba531b23020_17027447.png change filename to text .imagette282751331762492321/ imagette282751331762492321/1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097190_0.png.png imagette282751331762492321/1762459625_3812809_1393012133_1021a37579ade5b2cd5b4c13e348edbe_rle_crop_4024093478_0.png.png imagette282751331762492321/1762460006_3829872_1393012491_965709fd856ca386d4f331027493e013_rle_crop_4024095592_0.png.png imagette282751331762492321/1762459986_3829232_1393012246_81e54ccc7faeafd5836db83cf15da7a0_rle_crop_4024095415_0.png.png imagette282751331762492321/1762459986_3829232_1393012244_dc52559e013e58dd46bf2132af5e7766_rle_crop_4024095430_0.png.png imagette282751331762492321/1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097320_0.png.png imagette282751331762492321/1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095809_0.png.png imagette282751331762492321/1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095668_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/dc7ebe0f67d52919fcb9c2f13811b4d2_57854306.png imagette282751331762492321 28275134 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=28275134 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012218: '1762459625_3812809_1393012067_04a0f62df4e280d3c854eabd694b6d8b_rle_crop_4024093490_0.png', 1393012316: '1762459767_3818718_1393012196_8fab34dcc96edc7df1036471aea0818d_rle_crop_4024093900_0.png', 1393012446: '1762459865_3824051_1393012203_c9ece5f6876899968a728d127b664f23_rle_crop_4024094816_0.png', 1393012568: '1762459986_3829232_1393012253_32e757fc210510fb43cdba39c2c9822d_rle_crop_4024095378_0.png', 1393012569: '1762459986_3829232_1393012248_582f1287db329118b8cbb806053fabea_rle_crop_4024095402_0.png', 1393012570: '1762459986_3829232_1393012244_dc52559e013e58dd46bf2132af5e7766_rle_crop_4024095437_0.png', 1393012586: '1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095669_0.png', 1393013271: '1762460724_3862954_1393012543_9639227823db42a067d5a3e99fa74612_rle_crop_4024100418_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/3658f4a4f6e5e413825e308a18752e59_95532370.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/aa50acd9aa839118f7a7ef579533685c_7201488.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/ae4e77b227ebbcfd054192d7147e95dd_91000462.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/b6e294617c19d11c4d203dab7567af99_46350411.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/630ae9e8f5f58212a32800fe03af9310_53015026.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/96ee281b6966d1c7b22a0a7c88852cae_48801558.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/587916006a940b53e295b0562e968cff_47426262.png change filename to text .imagette282751341762492322/ imagette282751341762492322/1762459986_3829232_1393012253_32e757fc210510fb43cdba39c2c9822d_rle_crop_4024095378_0.png.png imagette282751341762492322/1762459767_3818718_1393012196_8fab34dcc96edc7df1036471aea0818d_rle_crop_4024093900_0.png.png imagette282751341762492322/1762459986_3829232_1393012244_dc52559e013e58dd46bf2132af5e7766_rle_crop_4024095437_0.png.png imagette282751341762492322/1762460724_3862954_1393012543_9639227823db42a067d5a3e99fa74612_rle_crop_4024100418_0.png.png imagette282751341762492322/1762459625_3812809_1393012067_04a0f62df4e280d3c854eabd694b6d8b_rle_crop_4024093490_0.png.png imagette282751341762492322/1762459865_3824051_1393012203_c9ece5f6876899968a728d127b664f23_rle_crop_4024094816_0.png.png imagette282751341762492322/1762459986_3829232_1393012248_582f1287db329118b8cbb806053fabea_rle_crop_4024095402_0.png.png imagette282751341762492322/1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095669_0.png.png imagette282751351762492323/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/8f408df9df2a0cb525450b69951dbd19_41602060.png imagette282751341762492322 28275135 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=28275135 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282751351762492323 28275125 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=28275125 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012818: '1762460246_3840715_1393012647_8e090b4cc7677b500a484580af1c02eb_rle_crop_4024097207_0.png', 1393012888: '1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097326_0.png', 1393012887: '1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097322_0.png', 1393012824: '1762460246_3840715_1393012644_709f7b4c8f12d5b1b79b510230d3edff_rle_crop_4024097239_0.png', 1393012823: '1762460246_3840715_1393012644_709f7b4c8f12d5b1b79b510230d3edff_rle_crop_4024097245_0.png', 1393012822: '1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097216_0.png', 1393012821: '1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097223_0.png', 1393012820: '1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097224_0.png', 1393012819: '1762460246_3840715_1393012647_8e090b4cc7677b500a484580af1c02eb_rle_crop_4024097208_0.png', 1393012583: '1762460006_3829872_1393012416_1ca6aa518f58b8f44729e1572acc0b4e_rle_crop_4024095612_0.png', 1393012817: '1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097191_0.png', 1393012816: '1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097189_0.png', 1393012688: '1762460125_3835117_1393012606_6f8040e3ff26f5e0723d908206a8997a_rle_crop_4024095988_0.png', 1393012687: '1762460125_3835117_1393012609_89d5d33f31d07ff63cefdd6b0b28079b_rle_crop_4024095975_0.png', 1393012663: '1762460105_3834755_1393012482_e71e0938ca8ebb6c1da8115ea6cca74e_rle_crop_4024095835_0.png', 1393012662: '1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095807_0.png', 1393012585: '1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095670_0.png', 1393012584: '1762460006_3829872_1393012416_1ca6aa518f58b8f44729e1572acc0b4e_rle_crop_4024095613_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/1455a97eb365a65adf0e0ec4bfb6268b_92472370.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/02313a3ce37e8c37ce42647f4c05cf9c_34827265.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/46ace2f349f1ddb795a8a2be48a1cb5c_83256229.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/4d6568d21da5526cf2e442f51a31f42c_98374278.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/a6601f256916b9afb4c6aec9d688544e_9984465.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/9faf0235d5237f70a6e600074d3991ca_10586257.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/9c6865da85f15a1f0081b67ff0071dac_83651049.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/cf555d62bb6420674a5c977d88bc99ea_35338116.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/b2dac1d650fd8d46712da4190f719522_17452666.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/4efae9252af7553ff55235a2f3f16fc2_77188723.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/f57b2ebf780e595163b3e6d006f84eb3_95041218.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/40cb0a186b51d8e4ec2e0fd212ef289d_94588200.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/781afdc230f8092920b96203e02c1b5e_42007939.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/bb6ea1a585f14ae7d2ec1c77e51b0ee3_32836276.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/0b462afe2f3147a1d7de69d6140cd24f_33311215.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/dca93b6414388f510eca29c10fa13c82_19606145.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/ae759fcd5ece272b4a381cc49ca39f0c_73584105.png change filename to text .imagette282751251762492323/ imagette282751251762492323/1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097322_0.png.png imagette282751251762492323/1762460246_3840715_1393012647_8e090b4cc7677b500a484580af1c02eb_rle_crop_4024097208_0.png.png imagette282751251762492323/1762460125_3835117_1393012606_6f8040e3ff26f5e0723d908206a8997a_rle_crop_4024095988_0.png.png imagette282751251762492323/1762460246_3840715_1393012644_709f7b4c8f12d5b1b79b510230d3edff_rle_crop_4024097239_0.png.png imagette282751251762492323/1762460246_3840715_1393012644_709f7b4c8f12d5b1b79b510230d3edff_rle_crop_4024097245_0.png.png imagette282751251762492323/1762460347_3845564_1393012655_0d09e9ea3b510f5d9101e3d31118febf_rle_crop_4024097326_0.png.png imagette282751251762492323/1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095807_0.png.png imagette282751251762492323/1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097189_0.png.png imagette282751251762492323/1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097223_0.png.png imagette282751251762492323/1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097224_0.png.png imagette282751251762492323/1762460246_3840715_1393012647_8e090b4cc7677b500a484580af1c02eb_rle_crop_4024097207_0.png.png imagette282751251762492323/1762460105_3834755_1393012482_e71e0938ca8ebb6c1da8115ea6cca74e_rle_crop_4024095835_0.png.png imagette282751251762492323/1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097216_0.png.png imagette282751251762492323/1762460006_3829872_1393012416_1ca6aa518f58b8f44729e1572acc0b4e_rle_crop_4024095613_0.png.png imagette282751251762492323/1762460006_3829872_1393012416_1ca6aa518f58b8f44729e1572acc0b4e_rle_crop_4024095612_0.png.png imagette282751251762492323/1762460246_3840715_1393012650_1431ee69100609960bce2b1abc11ccc3_rle_crop_4024097191_0.png.png imagette282751251762492323/1762460125_3835117_1393012609_89d5d33f31d07ff63cefdd6b0b28079b_rle_crop_4024095975_0.png.png imagette282751251762492323/1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095670_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/e2f1ae2f63d590d8bb12d24ce004aa01_42268156.png imagette282751251762492323 28275126 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=28275126 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012237: '1762459648_3813544_1393012068_cdd7d52517e38554267a58988c17c754_rle_crop_4024093542_0.png', 1393012318: '1762459767_3818718_1393012194_0ed6e39ba1bac11efe240fffde460be2_rle_crop_4024093911_0.png', 1393012587: '1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095667_0.png', 1393012825: '1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097213_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/200b5a8ff8cd4037894a98de6aa27b5c_59250778.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/b5e258acabac7313dddc461c3109b221_65309320.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/292834d3dec2a34f8c584c0629c64861_58015931.png change filename to text .imagette282751261762492325/ imagette282751261762492325/1762460246_3840715_1393012645_3a3b9edc103ff28a9f341f5028accb8e_rle_crop_4024097213_0.png.png imagette282751261762492325/1762459767_3818718_1393012194_0ed6e39ba1bac11efe240fffde460be2_rle_crop_4024093911_0.png.png imagette282751261762492325/1762460006_3829872_1393012411_c9656496a43f4f044217b115436db4cb_rle_crop_4024095667_0.png.png imagette282751261762492325/1762459648_3813544_1393012068_cdd7d52517e38554267a58988c17c754_rle_crop_4024093542_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/bcb3ed200b7c706a4ff614f275e62f3f_26343504.png imagette282751261762492325 28275129 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=28275129 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1393012238: '1762459648_3813544_1393012068_cdd7d52517e38554267a58988c17c754_rle_crop_4024093546_0.png', 1393012576: '1762459986_3829232_1393012253_32e757fc210510fb43cdba39c2c9822d_rle_crop_4024095379_0.png', 1393012577: '1762459986_3829232_1393012250_b4d9ddd398d1607eeebf449fad290ce5_rle_crop_4024095396_0.png', 1393012595: '1762460006_3829872_1393012414_00f46b8d00da01719281b108fb0d8b6f_rle_crop_4024095648_0.png', 1393012665: '1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095804_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/284ea43b1eac8446293738506c2202e0_20442145.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/68d59f74d2cc8bda8e8b1219addcc92d_8780790.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/988e54b2aab2ab50edc8d60c4342c5e0_8237652.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/45fac7c213891913bb96429c26906e4b_85540845.png change filename to text .imagette282751291762492326/ imagette282751291762492326/1762460006_3829872_1393012414_00f46b8d00da01719281b108fb0d8b6f_rle_crop_4024095648_0.png.png imagette282751291762492326/1762459986_3829232_1393012253_32e757fc210510fb43cdba39c2c9822d_rle_crop_4024095379_0.png.png imagette282751291762492326/1762459648_3813544_1393012068_cdd7d52517e38554267a58988c17c754_rle_crop_4024093546_0.png.png imagette282751291762492326/1762459986_3829232_1393012250_b4d9ddd398d1607eeebf449fad290ce5_rle_crop_4024095396_0.png.png imagette282751291762492326/1762460105_3834755_1393012488_535ee606f8d23d3f00ebacecb47a02a2_rle_crop_4024095804_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/34d0ee4a77f8a1aaa215ef749dd6b53f_68409906.png imagette282751291762492326 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28275113 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28275136,28275137,28275138,28275139,28275140,28275141,28275142,28275143,28275144,28275145,28275146,28275147?tags=flou,Teint_Dans_La_Masse,Carton_gris,environnement,mal_croppe,Carton_brun,papier,plastique,kraft,cartonnette,autre_refus,metal your option no_mail is active, we will not send the real mail to your client args[1393012705] : ('0.0659716264046178',) no score found for photo 1393012705 We are sending mail with results at report@fotonower.com args[1393012655] : ('0.0659716264046178',) no score found for photo 1393012655 We are sending mail with results at report@fotonower.com args[1393012650] : ('0.0659716264046178',) no score found for photo 1393012650 We are sending mail with results at report@fotonower.com args[1393012647] : ('0.0659716264046178',) no score found for photo 1393012647 We are sending mail with results at report@fotonower.com args[1393012645] : ('0.0659716264046178',) no score found for photo 1393012645 We are sending mail with results at report@fotonower.com args[1393012644] : ('0.0659716264046178',) no score found for photo 1393012644 We are sending mail with results at report@fotonower.com args[1393012619] : ('0.0659716264046178',) no score found for photo 1393012619 We are sending mail with results at report@fotonower.com args[1393012615] : ('0.0659716264046178',) no score found for photo 1393012615 We are sending mail with results at report@fotonower.com args[1393012612] : ('0.0659716264046178',) no score found for photo 1393012612 We are sending mail with results at report@fotonower.com args[1393012609] : ('0.0659716264046178',) no score found for photo 1393012609 We are sending mail with results at report@fotonower.com args[1393012606] : ('0.0659716264046178',) no score found for photo 1393012606 We are sending mail with results at report@fotonower.com args[1393012547] : ('0.0659716264046178',) no score found for photo 1393012547 We are sending mail with results at report@fotonower.com args[1393012545] : ('0.0659716264046178',) no score found for photo 1393012545 We are sending mail with results at report@fotonower.com args[1393012543] : ('0.0659716264046178',) no score found for photo 1393012543 We are sending mail with results at report@fotonower.com args[1393012540] : ('0.0659716264046178',) no score found for photo 1393012540 We are sending mail with results at report@fotonower.com args[1393012491] : ('0.0659716264046178',) no score found for photo 1393012491 We are sending mail with results at report@fotonower.com args[1393012488] : ('0.0659716264046178',) no score found for photo 1393012488 We are sending mail with results at report@fotonower.com args[1393012485] : ('0.0659716264046178',) no score found for photo 1393012485 We are sending mail with results at report@fotonower.com args[1393012482] : ('0.0659716264046178',) no score found for photo 1393012482 We are sending mail with results at report@fotonower.com args[1393012422] : ('0.0659716264046178',) no score found for photo 1393012422 We are sending mail with results at report@fotonower.com args[1393012416] : ('0.0659716264046178',) no score found for photo 1393012416 We are sending mail with results at report@fotonower.com args[1393012414] : ('0.0659716264046178',) no score found for photo 1393012414 We are sending mail with results at report@fotonower.com args[1393012411] : ('0.0659716264046178',) no score found for photo 1393012411 We are sending mail with results at report@fotonower.com args[1393012364] : ('0.0659716264046178',) no score found for photo 1393012364 We are sending mail with results at report@fotonower.com args[1393012352] : ('0.0659716264046178',) no score found for photo 1393012352 We are sending mail with results at report@fotonower.com args[1393012347] : ('0.0659716264046178',) no score found for photo 1393012347 We are sending mail with results at report@fotonower.com args[1393012275] : ('0.0659716264046178',) no score found for photo 1393012275 We are sending mail with results at report@fotonower.com args[1393012257] : ('0.0659716264046178',) no score found for photo 1393012257 We are sending mail with results at report@fotonower.com args[1393012253] : ('0.0659716264046178',) no score found for photo 1393012253 We are sending mail with results at report@fotonower.com args[1393012250] : ('0.0659716264046178',) no score found for photo 1393012250 We are sending mail with results at report@fotonower.com args[1393012248] : ('0.0659716264046178',) no score found for photo 1393012248 We are sending mail with results at report@fotonower.com args[1393012246] : ('0.0659716264046178',) no score found for photo 1393012246 We are sending mail with results at report@fotonower.com args[1393012244] : ('0.0659716264046178',) no score found for photo 1393012244 We are sending mail with results at report@fotonower.com args[1393012203] : ('0.0659716264046178',) no score found for photo 1393012203 We are sending mail with results at report@fotonower.com args[1393012196] : ('0.0659716264046178',) no score found for photo 1393012196 We are sending mail with results at report@fotonower.com args[1393012194] : ('0.0659716264046178',) no score found for photo 1393012194 We are sending mail with results at report@fotonower.com args[1393012191] : ('0.0659716264046178',) no score found for photo 1393012191 We are sending mail with results at report@fotonower.com args[1393012133] : ('0.0659716264046178',) no score found for photo 1393012133 We are sending mail with results at report@fotonower.com args[1393012123] : ('0.0659716264046178',) no score found for photo 1393012123 We are sending mail with results at report@fotonower.com args[1393012068] : ('0.0659716264046178',) no score found for photo 1393012068 We are sending mail with results at report@fotonower.com args[1393012067] : ('0.0659716264046178',) no score found for photo 1393012067 We are sending mail with results at report@fotonower.com args[1393012041] : ('0.0659716264046178',) no score found for photo 1393012041 We are sending mail with results at report@fotonower.com args[1393012038] : ('0.0659716264046178',) no score found for photo 1393012038 We are sending mail with results at report@fotonower.com args[1393012035] : ('0.0659716264046178',) no score found for photo 1393012035 We are sending mail with results at report@fotonower.com args[1393011920] : ('0.0659716264046178',) no score found for photo 1393011920 We are sending mail with results at report@fotonower.com refus_total : 0.0659716264046178 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=28275113 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_P28275113_07-11-2025_06_12_01.pdf results_Auto_P28275113_07-11-2025_06_12_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_07-11-2025_06_12_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','28275113','results_Auto_P28275113_07-11-2025_06_12_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_07-11-2025_06_12_01.pdf','pdf','','0.5','0.0659716264046178') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28275113]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] map_info['map_portfolio_photo'] : {28275113: [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920]} final : False mtd_id 4302 list_pids : [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] 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, '4014078') ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '28275113', '1393012705', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078')] time used for this insertion : 0.01858806610107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.630146503448486 time spend to save output : 0.019116878509521484 total time spend for step 4 : 9.649263381958008 step5:split_time_score Fri Nov 7 06:12:09 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 : ['28275113'] 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 : [('28275113',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28275113) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1393012645: {'path': 'temp/1762492319_3215931_1393012645_3a3b9edc103ff28a9f341f5028accb8e.jpg', 'extension': 'jpg'}, 1393012647: {'path': 'temp/1762492319_3215931_1393012647_8e090b4cc7677b500a484580af1c02eb.jpg', 'extension': 'jpg'}, 1393012650: {'path': 'temp/1762492319_3215931_1393012650_1431ee69100609960bce2b1abc11ccc3.jpg', 'extension': 'jpg'}, 1393012655: {'path': 'temp/1762492319_3215931_1393012655_0d09e9ea3b510f5d9101e3d31118febf.jpg', 'extension': 'jpg'}, 1393012705: {'path': 'temp/1762492319_3215931_1393012705_21721bc243a28f63ae0b328e7e7713a5.jpg', 'extension': 'jpg'}, 1393011920: {'path': 'temp/1762492319_3215931_1393011920_8e84296af6be843a1dc56adbd06ee810.jpg', 'extension': 'jpg'}, 1393012035: {'path': 'temp/1762492319_3215931_1393012035_59e7644fa197f0310b20755b17bc85e6.jpg', 'extension': 'jpg'}, 1393012038: {'path': 'temp/1762492319_3215931_1393012038_bac55c7890f12927e088b5de532e6a8c.jpg', 'extension': 'jpg'}, 1393012041: {'path': 'temp/1762492319_3215931_1393012041_f42a142809ebc04fe3d17579587307dd.jpg', 'extension': 'jpg'}, 1393012067: {'path': 'temp/1762492319_3215931_1393012067_04a0f62df4e280d3c854eabd694b6d8b.jpg', 'extension': 'jpg'}, 1393012068: {'path': 'temp/1762492319_3215931_1393012068_cdd7d52517e38554267a58988c17c754.jpg', 'extension': 'jpg'}, 1393012123: {'path': 'temp/1762492319_3215931_1393012123_799f956046fdaa9294a9a5b5f3f914d0.jpg', 'extension': 'jpg'}, 1393012133: {'path': 'temp/1762492319_3215931_1393012133_1021a37579ade5b2cd5b4c13e348edbe.jpg', 'extension': 'jpg'}, 1393012191: {'path': 'temp/1762492319_3215931_1393012191_7f7357a9e5696e4117dee94f0c194217.jpg', 'extension': 'jpg'}, 1393012194: {'path': 'temp/1762492319_3215931_1393012194_0ed6e39ba1bac11efe240fffde460be2.jpg', 'extension': 'jpg'}, 1393012352: {'path': 'temp/1762492319_3215931_1393012352_a79970056894fcae16644e0fd6ce65cd.jpg', 'extension': 'jpg'}, 1393012364: {'path': 'temp/1762492319_3215931_1393012364_53fb5596365954cca8904edf879be293.jpg', 'extension': 'jpg'}, 1393012411: {'path': 'temp/1762492319_3215931_1393012411_c9656496a43f4f044217b115436db4cb.jpg', 'extension': 'jpg'}, 1393012414: {'path': 'temp/1762492319_3215931_1393012414_00f46b8d00da01719281b108fb0d8b6f.jpg', 'extension': 'jpg'}, 1393012416: {'path': 'temp/1762492319_3215931_1393012416_1ca6aa518f58b8f44729e1572acc0b4e.jpg', 'extension': 'jpg'}, 1393012422: {'path': 'temp/1762492319_3215931_1393012422_9219b2f2d4127a566e31715d50f33bd9.jpg', 'extension': 'jpg'}, 1393012482: {'path': 'temp/1762492319_3215931_1393012482_e71e0938ca8ebb6c1da8115ea6cca74e.jpg', 'extension': 'jpg'}, 1393012485: {'path': 'temp/1762492319_3215931_1393012485_71128ad0cc90b36a932fb9ad15aacf0b.jpg', 'extension': 'jpg'}, 1393012488: {'path': 'temp/1762492319_3215931_1393012488_535ee606f8d23d3f00ebacecb47a02a2.jpg', 'extension': 'jpg'}, 1393012491: {'path': 'temp/1762492319_3215931_1393012491_965709fd856ca386d4f331027493e013.jpg', 'extension': 'jpg'}, 1393012540: {'path': 'temp/1762492319_3215931_1393012540_723f8f7194dd2e9bda1270cd2e9d13e0.jpg', 'extension': 'jpg'}, 1393012543: {'path': 'temp/1762492319_3215931_1393012543_9639227823db42a067d5a3e99fa74612.jpg', 'extension': 'jpg'}, 1393012545: {'path': 'temp/1762492319_3215931_1393012545_314113f395dd0e168e55419b0151c2dd.jpg', 'extension': 'jpg'}, 1393012547: {'path': 'temp/1762492319_3215931_1393012547_a77201cc02d5fd940ea202f2c4d58791.jpg', 'extension': 'jpg'}, 1393012606: {'path': 'temp/1762492319_3215931_1393012606_6f8040e3ff26f5e0723d908206a8997a.jpg', 'extension': 'jpg'}, 1393012609: {'path': 'temp/1762492319_3215931_1393012609_89d5d33f31d07ff63cefdd6b0b28079b.jpg', 'extension': 'jpg'}, 1393012612: {'path': 'temp/1762492319_3215931_1393012612_3912e88d09822b5f5b2b940edc719425.jpg', 'extension': 'jpg'}, 1393012615: {'path': 'temp/1762492319_3215931_1393012615_89e1472bc89690c96a4d6beb460b64e6.jpg', 'extension': 'jpg'}, 1393012619: {'path': 'temp/1762492319_3215931_1393012619_58f0c67f6ac468254a68f84294a0063b.jpg', 'extension': 'jpg'}, 1393012644: {'path': 'temp/1762492319_3215931_1393012644_709f7b4c8f12d5b1b79b510230d3edff.jpg', 'extension': 'jpg'}, 1393012196: {'path': 'temp/1762492319_3215931_1393012196_8fab34dcc96edc7df1036471aea0818d.jpg', 'extension': 'jpg'}, 1393012203: {'path': 'temp/1762492319_3215931_1393012203_c9ece5f6876899968a728d127b664f23.jpg', 'extension': 'jpg'}, 1393012244: {'path': 'temp/1762492319_3215931_1393012244_dc52559e013e58dd46bf2132af5e7766.jpg', 'extension': 'jpg'}, 1393012246: {'path': 'temp/1762492319_3215931_1393012246_81e54ccc7faeafd5836db83cf15da7a0.jpg', 'extension': 'jpg'}, 1393012248: {'path': 'temp/1762492319_3215931_1393012248_582f1287db329118b8cbb806053fabea.jpg', 'extension': 'jpg'}, 1393012250: {'path': 'temp/1762492319_3215931_1393012250_b4d9ddd398d1607eeebf449fad290ce5.jpg', 'extension': 'jpg'}, 1393012253: {'path': 'temp/1762492319_3215931_1393012253_32e757fc210510fb43cdba39c2c9822d.jpg', 'extension': 'jpg'}, 1393012257: {'path': 'temp/1762492319_3215931_1393012257_1204f3047c82265b9caccba946f7ffd8.jpg', 'extension': 'jpg'}, 1393012275: {'path': 'temp/1762492319_3215931_1393012275_44d260319a51cf4c504ba1c083aedf6c.jpg', 'extension': 'jpg'}, 1393012347: {'path': 'temp/1762492319_3215931_1393012347_d954bcd7daa407e063e62e8f91eb93d8.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 = 28275113; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 28275113 group by h (('21', 45),) 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=28275113 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 (28275113) 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 (28275113) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06112025 28275113 Nombre de photos uploadées : 45 / 23040 (0%) 06112025 28275113 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 06112025 28275113 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1393011920, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/8e84296af6be843a1dc56adbd06ee810.jpg', 'username': None, 'uploaded_at': 1762459327, 'text': 'image_06112025_21_00_44_10141.jpg'}, {'photo_id': 1393012041, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/f42a142809ebc04fe3d17579587307dd.jpg', 'username': None, 'uploaded_at': 1762459448, 'text': 'image_06112025_21_01_34_10141.jpg'}, {'photo_id': 1393012038, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/bac55c7890f12927e088b5de532e6a8c.jpg', 'username': None, 'uploaded_at': 1762459448, 'text': 'image_06112025_21_03_33_009126m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1393012035, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/6/59e7644fa197f0310b20755b17bc85e6.jpg', 'username': None, 'uploaded_at': 1762459448, 'text': 'image_06112025_21_03_44_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018889904022216797 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28275113, '2025-11-06' ) 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-06' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2521549,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2069401741027832 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= 2521549 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28235530, 'dashboard_result_id': 16951944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28235530_07-11-2025_05_34_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28235538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28235539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28235540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28235541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28235542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28235543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28235544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28235545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28235546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28235547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28235548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28235549, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28236103, 'dashboard_result_id': 16951945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236103_07-11-2025_05_34_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236122, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28236743, 'dashboard_result_id': 16951946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236743_07-11-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236793, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28237598, 'dashboard_result_id': 16951947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28237598_07-11-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28237602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28237603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28237604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28237605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28237606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28237607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28237608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28237609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28237610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28237611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28237612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28237613, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28238626, 'dashboard_result_id': 16951948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238626_07-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28238628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28238629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28238630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28238631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28238632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28238633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28238634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28238635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28238636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28238637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28238638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28238639, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28238993, 'dashboard_result_id': 16951949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238993_07-11-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28239007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239011, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28239478, 'dashboard_result_id': 16951950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28239478_07-11-2025_05_38_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28239506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239518, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28240182, 'dashboard_result_id': 16951951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240182_07-11-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240238, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28240665, 'dashboard_result_id': 16951952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240665_07-11-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240720, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28241219, 'dashboard_result_id': 16951954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241219_07-11-2025_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241240, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28241637, 'dashboard_result_id': 16951955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241637_07-11-2025_05_41_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241717, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28242271, 'dashboard_result_id': 16951956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242271_07-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242307, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28242801, 'dashboard_result_id': 16951957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242801_07-11-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242849, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28243336, 'dashboard_result_id': 16951959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243336_07-11-2025_05_42_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28243347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243352, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28243673, 'dashboard_result_id': 16951960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243673_07-11-2025_05_43_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28243728, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243739, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28244797, 'dashboard_result_id': 16951961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28244797_07-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28244798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28244799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28244800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28244801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28244802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28244803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28244804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28244805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28244806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28244807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28244808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28244809, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28245167, 'dashboard_result_id': 16951963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245167_07-11-2025_05_45_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28245172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245183, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28245512, 'dashboard_result_id': 16951964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245512_07-11-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245551, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28245909, 'dashboard_result_id': 16951965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245909_07-11-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245927, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28246351, 'dashboard_result_id': 16951966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246351_07-11-2025_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28246358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246369, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28246960, 'dashboard_result_id': 16951967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246960_07-11-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28246966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246975, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28247409, 'dashboard_result_id': 16951969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247409_07-11-2025_05_48_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28247442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28247443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28247444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28247445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28247446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28247447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28247448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28247449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28247450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28247451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28247452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28247453, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28247994, 'dashboard_result_id': 16951970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247994_06-11-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248014, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28248408, 'dashboard_result_id': 16951971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28248408_07-11-2025_05_50_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248421, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28249257, 'dashboard_result_id': 16951972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28249257_07-11-2025_05_50_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28249307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28249308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28249309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28249310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28249311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28249312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28249313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28249314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28249315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28249316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28249317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28249318, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28250026, 'dashboard_result_id': 16951973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250026_07-11-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250038, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28250644, 'dashboard_result_id': 16951974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250644_07-11-2025_05_52_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250661, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28251339, 'dashboard_result_id': 16951975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251339_07-11-2025_05_52_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28251355, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28251974, 'dashboard_result_id': 16951976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251974_07-11-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28251975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251986, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28252624, 'dashboard_result_id': 16951977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28252624_07-11-2025_05_54_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28252689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28252690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28252691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28252692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28252693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28252694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28252695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28252696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28252697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28252698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28252699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28252700, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28253363, 'dashboard_result_id': 16951978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28253363_07-11-2025_05_54_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28253378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28253379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28253380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28253381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28253382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28253383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28253384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28253385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28253387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28253388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28253389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28253390, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28259929, 'dashboard_result_id': 16951979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28259929_07-11-2025_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28259931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28259932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28259933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28259934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28259935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28259936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28259937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28259938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28259939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28259940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28259941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28259942, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28260038, 'dashboard_result_id': 16951980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260038_07-11-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260057, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28260518, 'dashboard_result_id': 16951981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260518_07-11-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260547, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28261087, 'dashboard_result_id': 16951982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261087_07-11-2025_05_57_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28261112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261115, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28261718, 'dashboard_result_id': 16951983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261718_07-11-2025_05_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28261771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261782, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28262346, 'dashboard_result_id': 16951984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262346_07-11-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262382, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28262877, 'dashboard_result_id': 16951985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262877_07-11-2025_05_59_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262924, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28263610, 'dashboard_result_id': 16951986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28263610_07-11-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28263638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28263639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28263640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28263641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28263642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28263643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28263644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28263645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28263646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28263647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28263648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28263649, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28264228, 'dashboard_result_id': 16951987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264228_07-11-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28264241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264248, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28264787, 'dashboard_result_id': 16951988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264787_07-11-2025_06_02_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28264828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264839, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28265343, 'dashboard_result_id': 16951989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28265343_07-11-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28265363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28265364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28265365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28265366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28265367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28265368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28265369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28265370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28265371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28265372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28265373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28265374, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28266492, 'dashboard_result_id': 16951990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28266492_07-11-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28266495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28266496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28266497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28266498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28266499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28266500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28266501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28266502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28266503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28266504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28266505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28266506, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28267351, 'dashboard_result_id': 16951991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28267351_07-11-2025_06_04_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28267357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28267358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28267359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28267360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28267361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28267362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28267363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28267364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28267365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28267366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28267367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28267368, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28268411, 'dashboard_result_id': 16951992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268411_07-11-2025_06_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268431, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28268933, 'dashboard_result_id': 16951993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268933_07-11-2025_06_05_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268976, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28269791, 'dashboard_result_id': 16951994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28269791_07-11-2025_06_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28269810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28269811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28269812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28269813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28269814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28269815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28269816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28269817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28269818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28269819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28269820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28269821, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28270136, 'dashboard_result_id': 16951995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270136_07-11-2025_06_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28270155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270158, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28270561, 'dashboard_result_id': 16951996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270561_07-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28270580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270591, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28271163, 'dashboard_result_id': 16951997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271163_07-11-2025_06_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271191, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28271764, 'dashboard_result_id': 16951998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271764_07-11-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271809, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28272407, 'dashboard_result_id': 16951999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272407_07-11-2025_06_09_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272435, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28272927, 'dashboard_result_id': 16952000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272927_07-11-2025_06_10_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272976, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28273564, 'dashboard_result_id': 16952001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28273564_07-11-2025_06_10_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28273597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28273598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28273599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28273600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28273601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28273602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28273603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28273604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28273605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28273606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28273607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28273608, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28274065, 'dashboard_result_id': 16952002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28274065_07-11-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28274088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28274089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28274090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28274091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28274092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28274093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28274094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28274095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28274096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28274097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28274098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28274099, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28275113, 'dashboard_result_id': 16952003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_06-11-2025_21_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28275123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275135, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28275648, 'dashboard_result_id': 16952004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275648_06-11-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28275664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275670, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28276074, 'dashboard_result_id': 16952005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276074_06-11-2025_21_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28276087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276098, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28276638, 'dashboard_result_id': 16952006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276638_06-11-2025_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28276661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276670, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28277211, 'dashboard_result_id': 16952007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277211_06-11-2025_22_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277271, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28277898, 'dashboard_result_id': 16952008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277898_06-11-2025_22_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277941, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28278620, 'dashboard_result_id': 16952009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28278620_06-11-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28278642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28278643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28278644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28278645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28278646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28278647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28278650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28278651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28278652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28278653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28278654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28278655, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28279026, 'dashboard_result_id': 16952010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279026_06-11-2025_23_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279046, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28279528, 'dashboard_result_id': 16952011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279528_06-11-2025_23_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279549, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28280106, 'dashboard_result_id': 16952012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280106_06-11-2025_23_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28280114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280125, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28280520, 'dashboard_result_id': 16952013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280520_06-11-2025_23_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28280562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280564, 'pht': 3726}}"}, {'dashboat_entry_day': 2521549, 'dashboard_run_id': 2537445, 'mtr_portfolio_id': 28281039, 'dashboard_result_id': 16952014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281039_06-11-2025_23_58_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28281065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281076, '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 = 28235530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014023, 'mtr_portfolio_id': 28235530, 'created_at': datetime.datetime(2025, 11, 7, 5, 34, 29), 'result': '0.04358385456250637', 'result_long': None, 'result_double': None}] Qualite : 0.04358385456250637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28235530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28235530_07-11-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28235530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28235530_07-11-2025_05_34_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28235538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28235539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28235540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28235541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28235542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28235543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28235544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28235545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28235546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28235547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28235548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28235549, 'pht': 3726}}" where mtr_portfolio_id = 28235530 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28235530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951944, 0.04358385456250637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28235530_07-11-2025_05_34_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28235538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28235539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28235540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28235541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28235542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28235543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28235544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28235545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28235546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28235547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28235548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28235549, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28236103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014024, 'mtr_portfolio_id': 28236103, 'created_at': datetime.datetime(2025, 11, 7, 5, 34, 28), 'result': '0.056457483995846734', 'result_long': None, 'result_double': None}] Qualite : 0.056457483995846734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28236103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236103_07-11-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28236103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236103_07-11-2025_05_34_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236122, 'pht': 3726}}" where mtr_portfolio_id = 28236103 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28236103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951945, 0.056457483995846734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236103_07-11-2025_05_34_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28236743 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014025, 'mtr_portfolio_id': 28236743, 'created_at': datetime.datetime(2025, 11, 7, 5, 35, 29), 'result': '0.05088505133082099', 'result_long': None, 'result_double': None}] Qualite : 0.05088505133082099 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28236743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236743_07-11-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28236743 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236743_07-11-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236793, 'pht': 3726}}" where mtr_portfolio_id = 28236743 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28236743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951946, 0.05088505133082099, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28236743_07-11-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28236782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28236783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28236784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28236785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28236786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28236787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28236788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28236789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28236790, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28236791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28236792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28236793, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28237598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014026, 'mtr_portfolio_id': 28237598, 'created_at': datetime.datetime(2025, 11, 7, 5, 35, 58), 'result': '0.04893725059362541', 'result_long': None, 'result_double': None}] Qualite : 0.04893725059362541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28237598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28237598_07-11-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28237598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28237598_07-11-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28237602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28237603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28237604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28237605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28237606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28237607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28237608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28237609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28237610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28237611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28237612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28237613, 'pht': 3726}}" where mtr_portfolio_id = 28237598 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28237598 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951947, 0.04893725059362541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28237598_07-11-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28237602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28237603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28237604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28237605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28237606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28237607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28237608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28237609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28237610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28237611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28237612, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28237613, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28238626 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014027, 'mtr_portfolio_id': 28238626, 'created_at': datetime.datetime(2025, 11, 7, 5, 36, 31), 'result': '0.03760206288486685', 'result_long': None, 'result_double': None}] Qualite : 0.03760206288486685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28238626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238626_07-11-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28238626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238626_07-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28238628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28238629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28238630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28238631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28238632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28238633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28238634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28238635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28238636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28238637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28238638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28238639, 'pht': 3726}}" where mtr_portfolio_id = 28238626 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28238626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951948, 0.03760206288486685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238626_07-11-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28238628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28238629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28238630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28238631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28238632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28238633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28238634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28238635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28238636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28238637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28238638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28238639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28238993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014028, 'mtr_portfolio_id': 28238993, 'created_at': datetime.datetime(2025, 11, 7, 5, 37, 30), 'result': '0.039428527119432843', 'result_long': None, 'result_double': None}] Qualite : 0.039428527119432843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28238993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238993_07-11-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28238993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238993_07-11-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28239007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239011, 'pht': 3726}}" where mtr_portfolio_id = 28238993 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28238993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951949, 0.039428527119432843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28238993_07-11-2025_05_37_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28239007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28239478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014029, 'mtr_portfolio_id': 28239478, 'created_at': datetime.datetime(2025, 11, 7, 5, 37, 58), 'result': '0.050712610387693514', 'result_long': None, 'result_double': None}] Qualite : 0.050712610387693514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28239478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28239478_07-11-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28239478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28239478_07-11-2025_05_38_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28239506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239518, 'pht': 3726}}" where mtr_portfolio_id = 28239478 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28239478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951950, 0.050712610387693514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28239478_07-11-2025_05_38_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28239506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28239507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28239508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28239509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28239510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28239511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28239512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28239513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28239514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28239516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28239517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28239518, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28240182 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014030, 'mtr_portfolio_id': 28240182, 'created_at': datetime.datetime(2025, 11, 7, 5, 38, 28), 'result': '0.05517909773640418', 'result_long': None, 'result_double': None}] Qualite : 0.05517909773640418 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28240182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240182_07-11-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28240182 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240182_07-11-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240238, 'pht': 3726}}" where mtr_portfolio_id = 28240182 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28240182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951951, 0.05517909773640418, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240182_07-11-2025_05_38_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240226, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28240665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014031, 'mtr_portfolio_id': 28240665, 'created_at': datetime.datetime(2025, 11, 7, 5, 39, 31), 'result': '0.05091374724088276', 'result_long': None, 'result_double': None}] Qualite : 0.05091374724088276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28240665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240665_07-11-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28240665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240665_07-11-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240720, 'pht': 3726}}" where mtr_portfolio_id = 28240665 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28240665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951952, 0.05091374724088276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28240665_07-11-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28240709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28240710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28240711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28240712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28240713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28240714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28240715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28240716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28240717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28240718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28240719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28240720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28241219 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014032, 'mtr_portfolio_id': 28241219, 'created_at': datetime.datetime(2025, 11, 7, 5, 39, 59), 'result': '0.03878104192802985', 'result_long': None, 'result_double': None}] Qualite : 0.03878104192802985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28241219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241219_07-11-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28241219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241219_07-11-2025_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241240, 'pht': 3726}}" where mtr_portfolio_id = 28241219 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28241219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951954, 0.03878104192802985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241219_07-11-2025_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28241637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014033, 'mtr_portfolio_id': 28241637, 'created_at': datetime.datetime(2025, 11, 7, 5, 40, 59), 'result': '0.03112153751493567', 'result_long': None, 'result_double': None}] Qualite : 0.03112153751493567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28241637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241637_07-11-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28241637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241637_07-11-2025_05_41_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241717, 'pht': 3726}}" where mtr_portfolio_id = 28241637 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28241637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951955, 0.03112153751493567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28241637_07-11-2025_05_41_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28241705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28241706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28241707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28241708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28241709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28241710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28241712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28241713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28241714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28241715, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28241716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28241717, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28242271 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014034, 'mtr_portfolio_id': 28242271, 'created_at': datetime.datetime(2025, 11, 7, 5, 41, 28), 'result': '0.03917987313513352', 'result_long': None, 'result_double': None}] Qualite : 0.03917987313513352 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28242271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242271_07-11-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28242271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242271_07-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242307, 'pht': 3726}}" where mtr_portfolio_id = 28242271 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28242271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951956, 0.03917987313513352, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242271_07-11-2025_05_41_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242307, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28242801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014035, 'mtr_portfolio_id': 28242801, 'created_at': datetime.datetime(2025, 11, 7, 5, 41, 59), 'result': '0.03879196080253913', 'result_long': None, 'result_double': None}] Qualite : 0.03879196080253913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28242801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242801_07-11-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28242801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242801_07-11-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242849, 'pht': 3726}}" where mtr_portfolio_id = 28242801 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28242801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951957, 0.03879196080253913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28242801_07-11-2025_05_42_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28242838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28242839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28242840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28242841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28242842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28242843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28242844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28242845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28242846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28242847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28242848, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28242849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28243336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014036, 'mtr_portfolio_id': 28243336, 'created_at': datetime.datetime(2025, 11, 7, 5, 42, 28), 'result': '0.03967796216929716', 'result_long': None, 'result_double': None}] Qualite : 0.03967796216929716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28243336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243336_07-11-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28243336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243336_07-11-2025_05_42_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28243347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243352, 'pht': 3726}}" where mtr_portfolio_id = 28243336 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28243336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951959, 0.03967796216929716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243336_07-11-2025_05_42_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243346, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28243347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243351, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28243673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014037, 'mtr_portfolio_id': 28243673, 'created_at': datetime.datetime(2025, 11, 7, 5, 43, 27), 'result': '0.06480988096381116', 'result_long': None, 'result_double': None}] Qualite : 0.06480988096381116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28243673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243673_07-11-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28243673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243673_07-11-2025_05_43_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28243728, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243739, 'pht': 3726}}" where mtr_portfolio_id = 28243673 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28243673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951960, 0.06480988096381116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28243673_07-11-2025_05_43_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28243728, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28243729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28243730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28243731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28243732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28243733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28243734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28243735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28243736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28243737, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28243738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28243739, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28244797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014038, 'mtr_portfolio_id': 28244797, 'created_at': datetime.datetime(2025, 11, 7, 5, 43, 59), 'result': '0.05456610306049079', 'result_long': None, 'result_double': None}] Qualite : 0.05456610306049079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28244797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28244797_07-11-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28244797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28244797_07-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28244798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28244799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28244800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28244801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28244802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28244803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28244804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28244805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28244806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28244807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28244808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28244809, 'pht': 3726}}" where mtr_portfolio_id = 28244797 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28244797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951961, 0.05456610306049079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28244797_07-11-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28244798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28244799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28244800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28244801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28244802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28244803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28244804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28244805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28244806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28244807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28244808, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28244809, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28245167 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014039, 'mtr_portfolio_id': 28245167, 'created_at': datetime.datetime(2025, 11, 7, 5, 45), 'result': '0.05941612463750336', 'result_long': None, 'result_double': None}] Qualite : 0.05941612463750336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28245167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245167_07-11-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28245167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245167_07-11-2025_05_45_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28245172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245183, 'pht': 3726}}" where mtr_portfolio_id = 28245167 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28245167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951963, 0.05941612463750336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245167_07-11-2025_05_45_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28245172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245177, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245183, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28245512 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014040, 'mtr_portfolio_id': 28245512, 'created_at': datetime.datetime(2025, 11, 7, 5, 45, 29), 'result': '0.05287015521240583', 'result_long': None, 'result_double': None}] Qualite : 0.05287015521240583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28245512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245512_07-11-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28245512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245512_07-11-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245551, 'pht': 3726}}" where mtr_portfolio_id = 28245512 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28245512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951964, 0.05287015521240583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245512_07-11-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28245909 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014041, 'mtr_portfolio_id': 28245909, 'created_at': datetime.datetime(2025, 11, 7, 5, 45, 58), 'result': '0.05453126916548152', 'result_long': None, 'result_double': None}] Qualite : 0.05453126916548152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28245909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245909_07-11-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28245909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245909_07-11-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245927, 'pht': 3726}}" where mtr_portfolio_id = 28245909 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28245909 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951965, 0.05453126916548152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28245909_07-11-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28245916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28245917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28245918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28245919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28245920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28245921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28245922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28245923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28245924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28245925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28245926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28245927, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28246351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014042, 'mtr_portfolio_id': 28246351, 'created_at': datetime.datetime(2025, 11, 7, 5, 46, 57), 'result': '0.04128994992254529', 'result_long': None, 'result_double': None}] Qualite : 0.04128994992254529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28246351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246351_07-11-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28246351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246351_07-11-2025_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28246358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246369, 'pht': 3726}}" where mtr_portfolio_id = 28246351 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28246351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951966, 0.04128994992254529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246351_07-11-2025_05_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28246358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28246960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014043, 'mtr_portfolio_id': 28246960, 'created_at': datetime.datetime(2025, 11, 7, 5, 47, 27), 'result': '0.058006145133110816', 'result_long': None, 'result_double': None}] Qualite : 0.058006145133110816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28246960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246960_07-11-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28246960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246960_07-11-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28246966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246975, 'pht': 3726}}" where mtr_portfolio_id = 28246960 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28246960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951967, 0.058006145133110816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28246960_07-11-2025_05_47_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28246964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28246965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28246966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28246967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28246968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28246969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28246970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28246971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28246972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28246973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28246974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28246975, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28247409 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014044, 'mtr_portfolio_id': 28247409, 'created_at': datetime.datetime(2025, 11, 7, 5, 47, 57), 'result': '0.051890734828019626', 'result_long': None, 'result_double': None}] Qualite : 0.051890734828019626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28247409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247409_07-11-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28247409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247409_07-11-2025_05_48_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28247442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28247443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28247444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28247445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28247446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28247447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28247448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28247449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28247450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28247451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28247452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28247453, 'pht': 3726}}" where mtr_portfolio_id = 28247409 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28247409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951969, 0.051890734828019626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247409_07-11-2025_05_48_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28247442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28247443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28247444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28247445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28247446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28247447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28247448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28247449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28247450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28247451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28247452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28247453, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28247994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4008238, 'mtr_portfolio_id': 28247994, 'created_at': datetime.datetime(2025, 11, 6, 7, 3, 27), 'result': '0.03019870434378912', 'result_long': None, 'result_double': None}] Qualite : 0.03019870434378912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28247994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247994_06-11-2025_07_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28247994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247994_06-11-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248014, 'pht': 3726}}" where mtr_portfolio_id = 28247994 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28247994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951970, 0.03019870434378912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28247994_06-11-2025_07_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248014, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28248408 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014046, 'mtr_portfolio_id': 28248408, 'created_at': datetime.datetime(2025, 11, 7, 5, 50), 'result': '0.04140064015153056', 'result_long': None, 'result_double': None}] Qualite : 0.04140064015153056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28248408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28248408_07-11-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28248408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28248408_07-11-2025_05_50_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248421, 'pht': 3726}}" where mtr_portfolio_id = 28248408 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28248408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951971, 0.04140064015153056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28248408_07-11-2025_05_50_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28248410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28248411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28248412, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28248413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28248414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28248415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28248416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28248417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28248418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28248419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28248420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28248421, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28249257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014047, 'mtr_portfolio_id': 28249257, 'created_at': datetime.datetime(2025, 11, 7, 5, 50, 30), 'result': '0.06332920298482969', 'result_long': None, 'result_double': None}] Qualite : 0.06332920298482969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28249257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28249257_07-11-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28249257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28249257_07-11-2025_05_50_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28249307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28249308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28249309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28249310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28249311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28249312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28249313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28249314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28249315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28249316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28249317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28249318, 'pht': 3726}}" where mtr_portfolio_id = 28249257 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28249257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951972, 0.06332920298482969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28249257_07-11-2025_05_50_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28249307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28249308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28249309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28249310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28249311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28249312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28249313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28249314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28249315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28249316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28249317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28249318, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28250026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014048, 'mtr_portfolio_id': 28250026, 'created_at': datetime.datetime(2025, 11, 7, 5, 51, 30), 'result': '0.0696642843691726', 'result_long': None, 'result_double': None}] Qualite : 0.0696642843691726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28250026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250026_07-11-2025_05_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28250026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250026_07-11-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250038, 'pht': 3726}}" where mtr_portfolio_id = 28250026 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28250026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951973, 0.0696642843691726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250026_07-11-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28250644 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014049, 'mtr_portfolio_id': 28250644, 'created_at': datetime.datetime(2025, 11, 7, 5, 51, 59), 'result': '0.04036480167156523', 'result_long': None, 'result_double': None}] Qualite : 0.04036480167156523 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28250644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250644_07-11-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28250644 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250644_07-11-2025_05_52_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250661, 'pht': 3726}}" where mtr_portfolio_id = 28250644 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28250644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951974, 0.04036480167156523, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28250644_07-11-2025_05_52_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28250650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28250651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28250652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28250653, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28250654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28250655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28250657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28250658, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28250659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28250660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28250661, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28251339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014050, 'mtr_portfolio_id': 28251339, 'created_at': datetime.datetime(2025, 11, 7, 5, 52, 28), 'result': '0.05759706091870355', 'result_long': None, 'result_double': None}] Qualite : 0.05759706091870355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28251339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251339_07-11-2025_05_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28251339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251339_07-11-2025_05_52_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28251355, 'pht': 3726}}" where mtr_portfolio_id = 28251339 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28251339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951975, 0.05759706091870355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251339_07-11-2025_05_52_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251352, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28251355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28251974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014051, 'mtr_portfolio_id': 28251974, 'created_at': datetime.datetime(2025, 11, 7, 5, 53, 28), 'result': '0.06460703729825702', 'result_long': None, 'result_double': None}] Qualite : 0.06460703729825702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28251974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251974_07-11-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28251974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251974_07-11-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28251975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251986, 'pht': 3726}}" where mtr_portfolio_id = 28251974 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28251974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951976, 0.06460703729825702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28251974_07-11-2025_05_53_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28251975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28251976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28251977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28251978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28251979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28251980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28251981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28251982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28251983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28251984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28251985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28251986, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28252624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014052, 'mtr_portfolio_id': 28252624, 'created_at': datetime.datetime(2025, 11, 7, 5, 53, 58), 'result': '0.051602912868027456', 'result_long': None, 'result_double': None}] Qualite : 0.051602912868027456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28252624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28252624_07-11-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28252624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28252624_07-11-2025_05_54_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28252689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28252690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28252691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28252692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28252693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28252694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28252695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28252696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28252697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28252698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28252699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28252700, 'pht': 3726}}" where mtr_portfolio_id = 28252624 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28252624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951977, 0.051602912868027456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28252624_07-11-2025_05_54_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28252689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28252690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28252691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28252692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28252693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28252694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28252695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28252696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28252697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28252698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28252699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28252700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28253363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014053, 'mtr_portfolio_id': 28253363, 'created_at': datetime.datetime(2025, 11, 7, 5, 54, 28), 'result': '0.052320536453356555', 'result_long': None, 'result_double': None}] Qualite : 0.052320536453356555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28253363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28253363_07-11-2025_05_54_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28253363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28253363_07-11-2025_05_54_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28253378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28253379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28253380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28253381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28253382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28253383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28253384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28253385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28253387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28253388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28253389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28253390, 'pht': 3726}}" where mtr_portfolio_id = 28253363 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28253363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951978, 0.052320536453356555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28253363_07-11-2025_05_54_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28253378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28253379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28253380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28253381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28253382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28253383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28253384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28253385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28253387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28253388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28253389, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28253390, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28259929 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014054, 'mtr_portfolio_id': 28259929, 'created_at': datetime.datetime(2025, 11, 7, 5, 55, 29), 'result': '0.03968452365208769', 'result_long': None, 'result_double': None}] Qualite : 0.03968452365208769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28259929 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28259929_07-11-2025_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28259929 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28259929_07-11-2025_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28259931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28259932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28259933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28259934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28259935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28259936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28259937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28259938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28259939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28259940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28259941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28259942, 'pht': 3726}}" where mtr_portfolio_id = 28259929 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28259929 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951979, 0.03968452365208769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28259929_07-11-2025_05_55_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28259931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28259932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28259933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28259934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28259935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28259936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28259937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28259938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28259939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28259940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28259941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28259942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28260038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014055, 'mtr_portfolio_id': 28260038, 'created_at': datetime.datetime(2025, 11, 7, 5, 55, 59), 'result': '0.04744878882115167', 'result_long': None, 'result_double': None}] Qualite : 0.04744878882115167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28260038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260038_07-11-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28260038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260038_07-11-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260057, 'pht': 3726}}" where mtr_portfolio_id = 28260038 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28260038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951980, 0.04744878882115167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260038_07-11-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28260518 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014056, 'mtr_portfolio_id': 28260518, 'created_at': datetime.datetime(2025, 11, 7, 5, 56, 30), 'result': '0.09917152954136386', 'result_long': None, 'result_double': None}] Qualite : 0.09917152954136386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28260518 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260518_07-11-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28260518 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260518_07-11-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260547, 'pht': 3726}}" where mtr_portfolio_id = 28260518 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28260518 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951981, 0.09917152954136386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28260518_07-11-2025_05_56_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28260536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28260537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28260538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28260539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28260540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28260541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28260542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28260543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28260544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28260545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28260546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28260547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28261087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014057, 'mtr_portfolio_id': 28261087, 'created_at': datetime.datetime(2025, 11, 7, 5, 57, 31), 'result': '0.04999174302919144', 'result_long': None, 'result_double': None}] Qualite : 0.04999174302919144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28261087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261087_07-11-2025_05_57_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28261087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261087_07-11-2025_05_57_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28261112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261115, 'pht': 3726}}" where mtr_portfolio_id = 28261087 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28261087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951982, 0.04999174302919144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261087_07-11-2025_05_57_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28261112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261113, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261115, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28261718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014058, 'mtr_portfolio_id': 28261718, 'created_at': datetime.datetime(2025, 11, 7, 5, 57, 57), 'result': '0.045255227349201815', 'result_long': None, 'result_double': None}] Qualite : 0.045255227349201815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28261718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261718_07-11-2025_05_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28261718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261718_07-11-2025_05_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28261771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261782, 'pht': 3726}}" where mtr_portfolio_id = 28261718 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28261718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951983, 0.045255227349201815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28261718_07-11-2025_05_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28261771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28261772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28261773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28261774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28261775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28261776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28261777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28261778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28261779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28261780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28261781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28261782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28262346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014059, 'mtr_portfolio_id': 28262346, 'created_at': datetime.datetime(2025, 11, 7, 5, 58, 30), 'result': '0.04209465813339894', 'result_long': None, 'result_double': None}] Qualite : 0.04209465813339894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28262346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262346_07-11-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28262346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262346_07-11-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262382, 'pht': 3726}}" where mtr_portfolio_id = 28262346 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28262346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951984, 0.04209465813339894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262346_07-11-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28262877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014060, 'mtr_portfolio_id': 28262877, 'created_at': datetime.datetime(2025, 11, 7, 5, 59, 27), 'result': '0.04259089672257334', 'result_long': None, 'result_double': None}] Qualite : 0.04259089672257334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28262877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262877_07-11-2025_05_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28262877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262877_07-11-2025_05_59_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262924, 'pht': 3726}}" where mtr_portfolio_id = 28262877 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28262877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951985, 0.04259089672257334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28262877_07-11-2025_05_59_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28262913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28262914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28262915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28262916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28262917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28262918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28262919, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28262920, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28262921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28262922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28262923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28262924, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28263610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014061, 'mtr_portfolio_id': 28263610, 'created_at': datetime.datetime(2025, 11, 7, 6, 0, 59), 'result': '0.044755722953761345', 'result_long': None, 'result_double': None}] Qualite : 0.044755722953761345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28263610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28263610_07-11-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28263610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28263610_07-11-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28263638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28263639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28263640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28263641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28263642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28263643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28263644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28263645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28263646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28263647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28263648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28263649, 'pht': 3726}}" where mtr_portfolio_id = 28263610 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28263610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951986, 0.044755722953761345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28263610_07-11-2025_06_01_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28263638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28263639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28263640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28263641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28263642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28263643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28263644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28263645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28263646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28263647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28263648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28263649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28264228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014062, 'mtr_portfolio_id': 28264228, 'created_at': datetime.datetime(2025, 11, 7, 6, 1, 29), 'result': '0.03899465019761358', 'result_long': None, 'result_double': None}] Qualite : 0.03899465019761358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28264228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264228_07-11-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28264228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264228_07-11-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28264241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264248, 'pht': 3726}}" where mtr_portfolio_id = 28264228 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28264228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951987, 0.03899465019761358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264228_07-11-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28264241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264248, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28264787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014063, 'mtr_portfolio_id': 28264787, 'created_at': datetime.datetime(2025, 11, 7, 6, 1, 59), 'result': '0.05516873498297358', 'result_long': None, 'result_double': None}] Qualite : 0.05516873498297358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28264787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264787_07-11-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28264787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264787_07-11-2025_06_02_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28264828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264839, 'pht': 3726}}" where mtr_portfolio_id = 28264787 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28264787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951988, 0.05516873498297358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28264787_07-11-2025_06_02_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28264828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28264829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28264830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28264831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28264832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28264833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28264834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28264835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28264836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28264837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28264838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28264839, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28265343 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014064, 'mtr_portfolio_id': 28265343, 'created_at': datetime.datetime(2025, 11, 7, 6, 2, 30), 'result': '0.0321477625152715', 'result_long': None, 'result_double': None}] Qualite : 0.0321477625152715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28265343 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28265343_07-11-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28265343 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28265343_07-11-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28265363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28265364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28265365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28265366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28265367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28265368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28265369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28265370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28265371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28265372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28265373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28265374, 'pht': 3726}}" where mtr_portfolio_id = 28265343 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28265343 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951989, 0.0321477625152715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28265343_07-11-2025_06_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28265363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28265364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28265365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28265366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28265367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28265368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28265369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28265370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28265371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28265372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28265373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28265374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28266492 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014065, 'mtr_portfolio_id': 28266492, 'created_at': datetime.datetime(2025, 11, 7, 6, 3, 29), 'result': '0.025878548014778954', 'result_long': None, 'result_double': None}] Qualite : 0.025878548014778954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28266492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28266492_07-11-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28266492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28266492_07-11-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28266495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28266496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28266497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28266498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28266499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28266500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28266501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28266502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28266503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28266504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28266505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28266506, 'pht': 3726}}" where mtr_portfolio_id = 28266492 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28266492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951990, 0.025878548014778954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28266492_07-11-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28266495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28266496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28266497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28266498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28266499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28266500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28266501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28266502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28266503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28266504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28266505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28266506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28267351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014066, 'mtr_portfolio_id': 28267351, 'created_at': datetime.datetime(2025, 11, 7, 6, 3, 57), 'result': '0.04799633116000344', 'result_long': None, 'result_double': None}] Qualite : 0.04799633116000344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28267351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28267351_07-11-2025_06_04_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28267351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28267351_07-11-2025_06_04_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28267357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28267358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28267359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28267360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28267361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28267362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28267363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28267364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28267365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28267366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28267367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28267368, 'pht': 3726}}" where mtr_portfolio_id = 28267351 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28267351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951991, 0.04799633116000344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28267351_07-11-2025_06_04_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28267357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28267358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28267359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28267360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28267361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28267362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28267363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28267364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28267365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28267366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28267367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28267368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28268411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014067, 'mtr_portfolio_id': 28268411, 'created_at': datetime.datetime(2025, 11, 7, 6, 5, 1), 'result': '0.054568866117730645', 'result_long': None, 'result_double': None}] Qualite : 0.054568866117730645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28268411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268411_07-11-2025_06_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28268411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268411_07-11-2025_06_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268431, 'pht': 3726}}" where mtr_portfolio_id = 28268411 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28268411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951992, 0.054568866117730645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268411_07-11-2025_06_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268428, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268431, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28268933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014068, 'mtr_portfolio_id': 28268933, 'created_at': datetime.datetime(2025, 11, 7, 6, 5, 31), 'result': '0.08768198476503095', 'result_long': None, 'result_double': None}] Qualite : 0.08768198476503095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28268933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268933_07-11-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28268933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268933_07-11-2025_06_05_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268976, 'pht': 3726}}" where mtr_portfolio_id = 28268933 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28268933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951993, 0.08768198476503095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28268933_07-11-2025_06_05_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28268965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28268966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28268967, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28268968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28268969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28268970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28268971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28268972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28268973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28268974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28268975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28268976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28269791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014069, 'mtr_portfolio_id': 28269791, 'created_at': datetime.datetime(2025, 11, 7, 6, 5, 59), 'result': '0.049176355769925684', 'result_long': None, 'result_double': None}] Qualite : 0.049176355769925684 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28269791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28269791_07-11-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28269791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28269791_07-11-2025_06_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28269810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28269811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28269812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28269813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28269814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28269815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28269816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28269817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28269818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28269819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28269820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28269821, 'pht': 3726}}" where mtr_portfolio_id = 28269791 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28269791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951994, 0.049176355769925684, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28269791_07-11-2025_06_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28269810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28269811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28269812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28269813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28269814, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28269815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28269816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28269817, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28269818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28269819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28269820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28269821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28270136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014070, 'mtr_portfolio_id': 28270136, 'created_at': datetime.datetime(2025, 11, 7, 6, 6, 30), 'result': '0.03590346147896923', 'result_long': None, 'result_double': None}] Qualite : 0.03590346147896923 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28270136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270136_07-11-2025_06_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28270136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270136_07-11-2025_06_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28270155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270158, 'pht': 3726}}" where mtr_portfolio_id = 28270136 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28270136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951995, 0.03590346147896923, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270136_07-11-2025_06_06_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28270155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28270561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014071, 'mtr_portfolio_id': 28270561, 'created_at': datetime.datetime(2025, 11, 7, 6, 7, 28), 'result': '0.04529596208608698', 'result_long': None, 'result_double': None}] Qualite : 0.04529596208608698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28270561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270561_07-11-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28270561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270561_07-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28270580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270591, 'pht': 3726}}" where mtr_portfolio_id = 28270561 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28270561 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951996, 0.04529596208608698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28270561_07-11-2025_06_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28270580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28270581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28270582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28270583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28270584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28270585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28270586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28270587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28270588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28270589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28270590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28270591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28271163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014072, 'mtr_portfolio_id': 28271163, 'created_at': datetime.datetime(2025, 11, 7, 6, 7, 59), 'result': '0.03966775455326078', 'result_long': None, 'result_double': None}] Qualite : 0.03966775455326078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28271163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271163_07-11-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28271163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271163_07-11-2025_06_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271191, 'pht': 3726}}" where mtr_portfolio_id = 28271163 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28271163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951997, 0.03966775455326078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271163_07-11-2025_06_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28271764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014073, 'mtr_portfolio_id': 28271764, 'created_at': datetime.datetime(2025, 11, 7, 6, 8, 57), 'result': '0.06027780865840826', 'result_long': None, 'result_double': None}] Qualite : 0.06027780865840826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28271764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271764_07-11-2025_06_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28271764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271764_07-11-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271809, 'pht': 3726}}" where mtr_portfolio_id = 28271764 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28271764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951998, 0.06027780865840826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28271764_07-11-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28271798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28271799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28271800, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28271801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28271802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28271803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28271804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28271805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28271806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28271807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28271808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28271809, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28272407 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014074, 'mtr_portfolio_id': 28272407, 'created_at': datetime.datetime(2025, 11, 7, 6, 9, 29), 'result': '0.05199048828252434', 'result_long': None, 'result_double': None}] Qualite : 0.05199048828252434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28272407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272407_07-11-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28272407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272407_07-11-2025_06_09_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272435, 'pht': 3726}}" where mtr_portfolio_id = 28272407 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28272407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16951999, 0.05199048828252434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272407_07-11-2025_06_09_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272431, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272435, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28272927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014075, 'mtr_portfolio_id': 28272927, 'created_at': datetime.datetime(2025, 11, 7, 6, 10), 'result': '0.07599880996408248', 'result_long': None, 'result_double': None}] Qualite : 0.07599880996408248 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28272927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272927_07-11-2025_06_10_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28272927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272927_07-11-2025_06_10_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272976, 'pht': 3726}}" where mtr_portfolio_id = 28272927 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28272927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952000, 0.07599880996408248, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28272927_07-11-2025_06_10_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28272965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28272966, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28272967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28272968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28272969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28272970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28272971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28272972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28272973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28272974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28272975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28272976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28273564 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014076, 'mtr_portfolio_id': 28273564, 'created_at': datetime.datetime(2025, 11, 7, 6, 10, 30), 'result': '0.04444685057679882', 'result_long': None, 'result_double': None}] Qualite : 0.04444685057679882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28273564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28273564_07-11-2025_06_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28273564 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28273564_07-11-2025_06_10_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28273597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28273598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28273599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28273600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28273601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28273602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28273603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28273604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28273605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28273606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28273607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28273608, 'pht': 3726}}" where mtr_portfolio_id = 28273564 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28273564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952001, 0.04444685057679882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28273564_07-11-2025_06_10_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28273597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28273598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28273599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28273600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28273601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28273602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28273603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28273604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28273605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28273606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28273607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28273608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28274065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014077, 'mtr_portfolio_id': 28274065, 'created_at': datetime.datetime(2025, 11, 7, 6, 11, 29), 'result': '0.04266946563468298', 'result_long': None, 'result_double': None}] Qualite : 0.04266946563468298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28274065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28274065_07-11-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28274065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28274065_07-11-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28274088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28274089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28274090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28274091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28274092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28274093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28274094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28274095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28274096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28274097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28274098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28274099, 'pht': 3726}}" where mtr_portfolio_id = 28274065 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28274065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952002, 0.04266946563468298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28274065_07-11-2025_06_11_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28274088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28274089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28274090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28274091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28274092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28274093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28274094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28274095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28274096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28274097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28274098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28274099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28275113 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4014078, 'mtr_portfolio_id': 28275113, 'created_at': datetime.datetime(2025, 11, 7, 6, 11, 59), 'result': '0.0659716264046178', 'result_long': None, 'result_double': None}] Qualite : 0.0659716264046178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28275113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_07-11-2025_06_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28275113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_07-11-2025_06_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28275123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275135, 'pht': 3726}}" where mtr_portfolio_id = 28275113 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28275113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952003, 0.0659716264046178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275113_07-11-2025_06_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28275123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28275648 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4011903, 'mtr_portfolio_id': 28275648, 'created_at': datetime.datetime(2025, 11, 6, 21, 32, 58), 'result': '0.038936413380790305', 'result_long': None, 'result_double': None}] Qualite : 0.038936413380790305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28275648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275648_06-11-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28275648 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275648_06-11-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28275664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275670, 'pht': 3726}}" where mtr_portfolio_id = 28275648 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28275648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952004, 0.038936413380790305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28275648_06-11-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28275659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28275660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28275661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28275662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28275663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28275664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28275665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28275666, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28275667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28275668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28275669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28275670, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28276074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4011970, 'mtr_portfolio_id': 28276074, 'created_at': datetime.datetime(2025, 11, 6, 21, 48, 57), 'result': '0.03483331679015249', 'result_long': None, 'result_double': None}] Qualite : 0.03483331679015249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28276074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276074_06-11-2025_21_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28276074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276074_06-11-2025_21_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28276087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276098, 'pht': 3726}}" where mtr_portfolio_id = 28276074 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28276074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952005, 0.03483331679015249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276074_06-11-2025_21_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28276087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276098, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28276638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012047, 'mtr_portfolio_id': 28276638, 'created_at': datetime.datetime(2025, 11, 6, 22, 3), 'result': '0.04646444482981485', 'result_long': None, 'result_double': None}] Qualite : 0.04646444482981485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28276638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276638_06-11-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28276638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276638_06-11-2025_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28276661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276670, 'pht': 3726}}" where mtr_portfolio_id = 28276638 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28276638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952006, 0.04646444482981485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28276638_06-11-2025_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28276657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28276658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28276660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28276661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28276662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28276664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28276665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28276666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28276667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28276668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28276669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28276670, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28277211 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012157, 'mtr_portfolio_id': 28277211, 'created_at': datetime.datetime(2025, 11, 6, 22, 18, 59), 'result': '0.044610808471486914', 'result_long': None, 'result_double': None}] Qualite : 0.044610808471486914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28277211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277211_06-11-2025_22_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28277211 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277211_06-11-2025_22_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277271, 'pht': 3726}}" where mtr_portfolio_id = 28277211 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28277211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952007, 0.044610808471486914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277211_06-11-2025_22_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277264, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28277898 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012257, 'mtr_portfolio_id': 28277898, 'created_at': datetime.datetime(2025, 11, 6, 22, 35), 'result': '0.037665941764835266', 'result_long': None, 'result_double': None}] Qualite : 0.037665941764835266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28277898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277898_06-11-2025_22_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28277898 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277898_06-11-2025_22_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277941, 'pht': 3726}}" where mtr_portfolio_id = 28277898 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28277898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952008, 0.037665941764835266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28277898_06-11-2025_22_35_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28277930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28277931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28277932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28277933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28277934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28277935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28277936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28277937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28277938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28277939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28277940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28277941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28278620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012350, 'mtr_portfolio_id': 28278620, 'created_at': datetime.datetime(2025, 11, 6, 22, 46, 59), 'result': '0.03605517563373902', 'result_long': None, 'result_double': None}] Qualite : 0.03605517563373902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28278620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28278620_06-11-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28278620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28278620_06-11-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28278642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28278643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28278644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28278645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28278646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28278647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28278650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28278651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28278652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28278653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28278654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28278655, 'pht': 3726}}" where mtr_portfolio_id = 28278620 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28278620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952009, 0.03605517563373902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28278620_06-11-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28278642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28278643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28278644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28278645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28278646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28278647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28278650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28278651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28278652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28278653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28278654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28278655, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28279026 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012417, 'mtr_portfolio_id': 28279026, 'created_at': datetime.datetime(2025, 11, 6, 23, 3, 1), 'result': '0.03848727641026569', 'result_long': None, 'result_double': None}] Qualite : 0.03848727641026569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28279026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279026_06-11-2025_23_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28279026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279026_06-11-2025_23_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279046, 'pht': 3726}}" where mtr_portfolio_id = 28279026 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28279026 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952010, 0.03848727641026569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279026_06-11-2025_23_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279043, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279046, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28279528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012519, 'mtr_portfolio_id': 28279528, 'created_at': datetime.datetime(2025, 11, 6, 23, 18, 58), 'result': '0.037631987490204105', 'result_long': None, 'result_double': None}] Qualite : 0.037631987490204105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28279528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279528_06-11-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28279528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279528_06-11-2025_23_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279549, 'pht': 3726}}" where mtr_portfolio_id = 28279528 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28279528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952011, 0.037631987490204105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28279528_06-11-2025_23_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28279538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28279539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28279540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28279541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28279542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28279543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28279544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28279545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28279546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28279547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28279548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28279549, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28280106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012608, 'mtr_portfolio_id': 28280106, 'created_at': datetime.datetime(2025, 11, 6, 23, 34, 59), 'result': '0.05223272722161016', 'result_long': None, 'result_double': None}] Qualite : 0.05223272722161016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28280106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280106_06-11-2025_23_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28280106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280106_06-11-2025_23_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28280114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280125, 'pht': 3726}}" where mtr_portfolio_id = 28280106 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28280106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952012, 0.05223272722161016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280106_06-11-2025_23_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28280114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280123, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28280520 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012675, 'mtr_portfolio_id': 28280520, 'created_at': datetime.datetime(2025, 11, 6, 23, 46, 57), 'result': '0.02776976512033787', 'result_long': None, 'result_double': None}] Qualite : 0.02776976512033787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28280520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280520_06-11-2025_23_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28280520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280520_06-11-2025_23_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28280562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280564, 'pht': 3726}}" where mtr_portfolio_id = 28280520 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28280520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952013, 0.02776976512033787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28280520_06-11-2025_23_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28280553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28280554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28280555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28280556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28280557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28280558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28280559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28280560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28280561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28280562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28280563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28280564, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 28281039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4012745, 'mtr_portfolio_id': 28281039, 'created_at': datetime.datetime(2025, 11, 6, 23, 58, 58), 'result': '0.05590440465498885', 'result_long': None, 'result_double': None}] Qualite : 0.05590440465498885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28281039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281039_06-11-2025_23_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28281039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281039_06-11-2025_23_58_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28281065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281076, 'pht': 3726}}" where mtr_portfolio_id = 28281039 and dashboard_run_id = 2537449 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28281039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16952014, 0.05590440465498885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28281039_06-11-2025_23_58_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28281065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28281066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28281067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28281068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28281069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28281070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28281071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28281072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28281073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28281074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28281075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28281076, '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 (28235530,28236103,28236743,28237598,28238626,28238993,28239478,28240182,28240665,28241219,28241637,28242271,28242801,28243336,28243673,28244797,28245167,28245512,28245909,28246351,28246960,28247409,28247994,28248408,28249257,28250026,28250644,28251339,28251974,28252624,28253363,28259929,28260038,28260518,28261087,28261718,28262346,28262877,28263610,28264228,28264787,28265343,28266492,28267351,28268411,28268933,28269791,28270136,28270561,28271163,28271764,28272407,28272927,28273564,28274065,28275113,28275648,28276074,28276638,28277211,28277898,28278620,28279026,28279528,28280106,28280520,28281039) result : ((1392868064,), (1392868096,), (1392868546,), (1392868547,), (1392868548,), (1392868550,), (1392868552,), (1392868570,), (1392868800,), (1392868803,), (1392868806,), (1392868808,), (1392868847,), (1392868848,), (1392868849,), (1392868852,), (1392868874,), (1392868878,), (1392868882,), (1392868887,), (1392868920,), (1392868922,), (1392868924,), (1392868928,), (1392868948,), (1392868951,), (1392868954,), (1392868959,), (1392869045,), (1392869047,), (1392869049,), (1392869337,), (1392869370,), (1392869377,), (1392869378,), (1392869380,), (1392869740,), (1392869772,), (1392869809,), (1392869847,), (1392869885,), (1392870264,), (1392870336,), (1392870397,), (1392870470,), (1392870537,), (1392870608,), (1392870940,), (1392870974,), (1392871039,), (1392871079,), (1392871119,), (1392871220,), (1392871575,), (1392871585,), (1392871601,), (1392871606,), (1392871614,), (1392871627,), (1392871645,), (1392871648,), (1392871665,), (1392871671,), (1392871681,), (1392871683,), (1392871685,), (1392871695,), (1392872166,), (1392872065,), (1392872100,), (1392872134,), (1392872254,), (1392872286,), (1392872320,), (1392872352,), (1392872384,), (1392872388,), (1392872495,), (1392872499,), (1392872508,), (1392872510,), (1392872514,), (1392872727,), (1392872760,), (1392872795,), (1392872825,), (1392873078,), (1392873368,), (1392874542,), (1392874554,), (1392874557,), (1392874719,), (1392874751,), (1392874786,), (1392874818,), (1392874846,), (1392874927,), (1392874928,), (1392874929,), (1392874930,), (1392874956,), (1392874957,), (1392874958,), (1392874960,), (1392874963,), (1392875495,), (1392875496,), (1392875498,), (1392875499,), (1392875500,), (1392875525,), (1392875360,), (1392875395,), (1392875427,), (1392875458,), (1392875492,), (1392875685,), (1392875686,), (1392875726,), (1392875728,), (1392875741,), (1392875742,), (1392875755,), (1392875761,), (1392875784,), (1392875786,), (1392875826,), (1392875827,), (1392875830,), (1392875861,), (1392875862,), (1392875863,), (1392875864,), (1392875886,), (1392875888,), (1392875889,), (1392875890,), (1392875910,), (1392875917,), (1392875925,), (1392875929,), (1392875974,), (1392875975,), (1392875976,), (1392876398,), (1392876430,), (1392876461,), (1392876494,), (1392876527,), (1392876889,), (1392876890,), (1392876891,), (1392877153,), (1392877162,), (1392877163,), (1392877165,), (1392877296,), (1392877298,), (1392877300,), (1392877328,), (1392877330,), (1392877331,), (1392877332,), (1392877334,), (1392877505,), (1392877539,), (1392877576,), (1392877611,), (1392877660,), (1392877966,), (1392878056,), (1392878059,), (1392878211,), (1392878238,), (1392880532,), (1392879416,), (1392880467,), (1392880499,), (1392880527,), (1392880663,), (1392880666,), (1392880669,), (1392880671,), (1392880674,), (1392880718,), (1392880720,), (1392880722,), (1392880723,), (1392880725,), (1392880791,), (1392880825,), (1392880857,), (1392880888,), (1392881139,), (1392881140,), (1392881156,), (1392881190,), (1392881228,), (1392881263,), (1392881342,), (1392881362,), (1392881368,), (1392881376,), (1392881377,), (1392881380,), (1392881383,), (1392881386,), (1392881389,), (1392881416,), (1392881453,), (1392881496,), (1392881848,), (1392881855,), (1392881858,), (1392881865,), (1392882074,), (1392882078,), (1392882193,), (1392882231,), (1392882267,), (1392882300,), (1392882335,), (1392882513,), (1392884294,), (1392884296,), (1392884315,), (1392884317,), (1392884319,), (1392884321,), (1392884355,), (1392884357,), (1392884358,), (1392884382,), (1392884384,), (1392884386,), (1392884388,), (1392884390,), (1392884413,), (1392884414,), (1392884415,), (1392884416,), (1392884419,), (1392884481,), (1392884483,), (1392884485,), (1392884508,), (1392884509,), (1392884510,), (1392884511,), (1392884538,), (1392884541,), (1392884543,), (1392884546,), (1392884549,), (1392884561,), (1392884562,), (1392884563,), (1392884564,), (1392884567,), (1392884602,), (1392884604,), (1392884643,), (1392884889,), (1392884890,), (1392884891,), (1392884893,), (1392884919,), (1392884921,), (1392884922,), (1392884925,), (1392884928,), (1392884931,), (1392884944,), (1392884945,), (1392884946,), (1392884947,), (1392884986,), (1392884977,), (1392884979,), (1392884981,), (1392884983,), (1392885005,), (1392885006,), (1392885007,), (1392885009,), (1392885012,), (1392885090,), (1392885092,), (1392885094,), (1392885113,), (1392885116,), (1392885119,), (1392885123,), (1392885127,), (1392885152,), (1392885154,), (1392885155,), (1392885157,), (1392885159,), (1392885162,), (1392885172,), (1392885174,), (1392885176,), (1392885178,), (1392885218,), (1392885220,), (1392885221,), (1392885223,), (1392885279,), (1392885282,), (1392885284,), (1392885286,), (1392885289,), (1392885312,), (1392885314,), (1392885318,), (1392885321,), (1392885326,), (1392885354,), (1392885356,), (1392885358,), (1392885360,), (1392885384,), (1392885387,), (1392885390,), (1392885393,), (1392885406,), (1392885408,), (1392885410,), (1392885412,), (1392885494,), (1392885497,), (1392885899,), (1392885918,), (1392885925,), (1392885929,), (1392885933,), (1392885943,), (1392885973,), (1392885967,), (1392885972,), (1392886144,), (1392886731,), (1392886847,), (1392886848,), (1392886851,), (1392887532,), (1392887568,), (1392887631,), (1392887668,), (1392887918,), (1392887952,), (1392888006,), (1392888064,), (1392888408,), (1392888437,), (1392888457,), (1392888469,), (1392888559,), (1392888561,), (1392888562,), (1392888768,), (1392888777,), (1392888780,), (1392888784,), (1392888790,), (1392888980,), (1392888983,), (1392888986,), (1392888989,), (1392889014,), (1392889016,), (1392889017,), (1392889018,), (1392889022,), (1392889053,), (1392889055,), (1392889066,), (1392889069,), (1392889133,), (1392889170,), (1392889201,), (1392889232,), (1392889271,), (1392889303,), (1392889561,), (1392889563,), (1392889565,), (1392889566,), (1392889675,), (1392889708,), (1392889740,), (1392889772,), (1392889806,), (1392890002,), (1392889977,), (1392889991,), (1392889994,), (1392889998,), (1392890023,), (1392890025,), (1392890027,), (1392890030,), (1392890102,), (1392890105,), (1392890134,), (1392890135,), (1392890136,), (1392890138,), (1392890165,), (1392890167,), (1392890169,), (1392890172,), (1392890176,), (1392890200,), (1392890202,), (1392890203,), (1392890204,), (1392890207,), (1392890235,), (1392890237,), (1392890239,), (1392890401,), (1392890402,), (1392890403,), (1392890405,), (1392890407,), (1392890443,), (1392890444,), (1392890446,), (1392890450,), (1392890454,), (1392890471,), (1392890473,), (1392890475,), (1392890479,), (1392890484,), (1392890536,), (1392890538,), (1392890540,), (1392890542,), (1392890546,), (1392890549,), (1392890566,), (1392890570,), (1392890572,), (1392890574,), (1392890600,), (1392890601,), (1392890602,), (1392890605,), (1392890610,), (1392890615,), (1392890650,), (1392890652,), (1392890669,), (1392890672,), (1392890677,), (1392890679,), (1392890683,), (1392890638,), (1392890641,), (1392890644,), (1392890647,), (1392890708,), (1392890716,), (1392890719,), (1392890728,), (1392890738,), (1392890745,), (1392890768,), (1392890770,), (1392890771,), (1392891025,), (1392891057,), (1392891088,), (1392891121,), (1392891157,), (1392891358,), (1392891360,), (1392891362,), (1392891379,), (1392891410,), (1392891447,), (1392891640,), (1392891644,), (1392891645,), (1392891647,), (1392891675,), (1392891679,), (1392891682,), (1392891686,), (1392891763,), (1392891765,), (1392891767,), (1392891776,), (1392891815,), (1392891817,), (1392891819,), (1392891821,), (1392891825,), (1392891850,), (1392891851,), (1392891852,), (1392891855,), (1392891879,), (1392891882,), (1392891883,), (1392891886,), (1392891890,), (1392891894,), (1392891917,), (1392891922,), (1392891932,), (1392891942,), (1392891949,), (1392892001,), (1392892002,), (1392892003,), (1392892006,), (1392892041,), (1392892044,), (1392892047,), (1392892051,), (1392892054,), (1392892058,), (1392892083,), (1392892084,), (1392892086,), (1392892087,), (1392892089,), (1392892090,), (1392892127,), (1392892123,), (1392892124,), (1392892125,), (1392892149,), (1392892151,), (1392892153,), (1392892156,), (1392892160,), (1392892231,), (1392892233,), (1392892235,), (1392892238,), (1392892271,), (1392892273,), (1392892275,), (1392892278,), (1392892283,), (1392892286,), (1392892310,), (1392892312,), (1392892314,), (1392892319,), (1392892324,), (1392892341,), (1392892344,), (1392892346,), (1392892349,), (1392892353,), (1392892356,), (1392892400,), (1392892406,), (1392892414,), (1392892416,), (1392892419,), (1392892483,), (1392892484,), (1392892485,), (1392892487,), (1392892490,), (1392892493,), (1392892527,), (1392892529,), (1392892531,), (1392892534,), (1392892561,), (1392892563,), (1392892564,), (1392892565,), (1392892567,), (1392892568,), (1392892587,), (1392892589,), (1392892591,), (1392892595,), (1392892600,), (1392892615,), (1392892621,), (1392892624,), (1392892628,), (1392892631,), (1392892641,), (1392892721,), (1392892728,), (1392892729,), (1392892731,), (1392892846,), (1392892882,), (1392892916,), (1392892956,), (1392892992,), (1392893407,), (1392893301,), (1392893338,), (1392893371,), (1392893831,), (1392893867,), (1392893899,), (1392893931,), (1392893967,), (1392893970,), (1392894090,), (1392894124,), (1392894156,), (1392894189,), (1392894222,), (1392894425,), (1392894457,), (1392894474,), (1392894486,), (1392894893,), (1392894924,), (1392894956,), (1392894987,), (1392895022,), (1392895058,), (1392895160,), (1392895163,), (1392895166,), (1392895183,), (1392895354,), (1392895357,), (1392895359,), (1392895362,), (1392895365,), (1392895376,), (1392895426,), (1392895427,), (1392895428,), (1392895430,), (1392895461,), (1392895468,), (1392895472,), (1392895474,), (1392895477,), (1392895479,), (1392895502,), (1392895504,), (1392895505,), (1392895507,), (1392895522,), (1392895523,), (1392895524,), (1392895526,), (1392895660,), (1392895663,), (1392895668,), (1392895671,), (1392895701,), (1392895708,), (1392895710,), (1392895713,), (1392895717,), (1392895738,), (1392895742,), (1392895745,), (1392895748,), (1392895753,), (1392895757,), (1392895799,), (1392895794,), (1392895796,), (1392895797,), (1392895818,), (1392895819,), (1392895820,), (1392895823,), (1392895826,), (1392895828,), (1392895880,), (1392895883,), (1392895884,), (1392895886,), (1392895889,), (1392895912,), (1392895915,), (1392895917,), (1392895920,), (1392895953,), (1392895962,), (1392895963,), (1392895965,), (1392895996,), (1392896005,), (1392896007,), (1392896010,), (1392896015,), (1392896043,), (1392896045,), (1392896048,), (1392896057,), (1392896067,), (1392896097,), (1392896098,), (1392896099,), (1392896101,), (1392896105,), (1392896136,), (1392896138,), (1392896139,), (1392896142,), (1392896147,), (1392896150,), (1392896178,), (1392896180,), (1392896183,), (1392896187,), (1392896219,), (1392896221,), (1392896223,), (1392896226,), (1392896230,), (1392896248,), (1392896249,), (1392896250,), (1392896252,), (1392896256,), (1392896357,), (1392896359,), (1392896362,), (1392896366,), (1392896371,), (1392896398,), (1392896400,), (1392896401,), (1392896402,), (1392896403,), (1392896406,), (1392896440,), (1392896447,), (1392896449,), (1392896451,), (1392896491,), (1392896495,), (1392896500,), (1392896503,), (1392896506,), (1392896480,), (1392896482,), (1392896484,), (1392896487,), (1392896519,), (1392896520,), (1392896522,), (1392896526,), (1392896538,), (1392896599,), (1392896600,), (1392896601,), (1392896603,), (1392896606,), (1392896630,), (1392896639,), (1392896662,), (1392896692,), (1392896693,), (1392896694,), (1392896696,), (1392896700,), (1392896733,), (1392896737,), (1392896740,), (1392896742,), (1392896746,), (1392896764,), (1392896856,), (1392896858,), (1392896860,), (1392896863,), (1392896866,), (1392896868,), (1392896876,), (1392896880,), (1392896883,), (1392896891,), (1392896893,), (1392896894,), (1392896898,), (1392896900,), (1392896904,), (1392896925,), (1392896927,), (1392896930,), (1392896934,), (1392896938,), (1392896967,), (1392896971,), (1392896973,), (1392896976,), (1392896981,), (1392897005,), (1392897008,), (1392897009,), (1392897012,), (1392897016,), (1392897086,), (1392897098,), (1392897101,), (1392897106,), (1392897109,), (1392897123,), (1392897126,), (1392897129,), (1392897132,), (1392897137,), (1392897156,), (1392897158,), (1392897161,), (1392897166,), (1392897208,), (1392897192,), (1392897194,), (1392897196,), (1392897200,), (1392897205,), (1392897258,), (1392897262,), (1392897264,), (1392897266,), (1392897269,), (1392897325,), (1392897327,), (1392897329,), (1392897332,), (1392897334,), (1392897337,), (1392897356,), (1392897358,), (1392897360,), (1392897364,), (1392897369,), (1392897373,), (1392897393,), (1392897395,), (1392897397,), (1392897401,), (1392897406,), (1392897426,), (1392897428,), (1392897429,), (1392897432,), (1392897466,), (1392897467,), (1392897468,), (1392897471,), (1392897482,), (1392897492,), (1392897552,), (1392897554,), (1392897556,), (1392897559,), (1392897563,), (1392897586,), (1392897588,), (1392897589,), (1392897591,), (1392897593,), (1392897596,), (1392897616,), (1392897620,), (1392897624,), (1392897656,), (1392897659,), (1392897663,), (1392897668,), (1392897686,), (1392897687,), (1392897688,), (1392897689,), (1392897772,), (1392897774,), (1392897776,), (1392897780,), (1392897807,), (1392897810,), (1392897815,), (1392897820,), (1392897824,), (1392897828,), (1392898505,), (1392898308,), (1392898380,), (1392898444,), (1392899464,), (1392899538,), (1392899600,), (1392899655,), (1392899691,), (1392899729,), (1392900243,), (1392900298,), (1392900341,), (1392900345,), (1392900536,), (1392900540,), (1392901280,), (1392901475,), (1392901477,), (1392901478,), (1392901480,), (1392901483,), (1392901582,), (1392901584,), (1392901586,), (1392901589,), (1392901614,), (1392901616,), (1392901618,), (1392901620,), (1392901624,), (1392901660,), (1392901663,), (1392901666,), (1392901698,), (1392901699,), (1392901700,), (1392901703,), (1392901707,), (1392901736,), (1392901739,), (1392901749,), (1392905152,), (1392905084,), (1392906770,), (1392906946,), (1392906981,), (1392907026,), (1392907050,), (1392907149,), (1392907151,), (1392907154,), (1392907156,), (1392907160,), (1392907173,), (1392907261,), (1392907263,), (1392907264,), (1392907266,), (1392907269,), (1392907271,), (1392907298,), (1392907299,), (1392907310,), (1392907316,), (1392907344,), (1392907347,), (1392907356,), (1392907359,), (1392907403,), (1392907405,), (1392907407,), (1392907410,), (1392907415,), (1392907420,), (1392907497,), (1392907499,), (1392907502,), (1392907506,), (1392907536,), (1392907537,), (1392907538,), (1392907540,), (1392907544,), (1392907547,), (1392907563,), (1392907569,), (1392907572,), (1392907576,), (1392907615,), (1392907605,), (1392907608,), (1392907610,), (1392907612,), (1392908012,), (1392908055,), (1392908057,), (1392908058,), (1392908059,), (1392908062,), (1392908066,), (1392908082,), (1392908085,), (1392908087,), (1392908090,), (1392908094,), (1392908111,), (1392908114,), (1392908117,), (1392908120,), (1392908190,), (1392908191,), (1392908192,), (1392908195,), (1392908200,), (1392908217,), (1392908219,), (1392908221,), (1392908223,), (1392908226,), (1392908228,), (1392908260,), (1392908262,), (1392908263,), (1392908264,), (1392908267,), (1392908335,), (1392908339,), (1392908343,), (1392908353,), (1392908365,), (1392908367,), (1392908327,), (1392908330,), (1392908381,), (1392908389,), (1392908392,), (1392908396,), (1392908401,), (1392908474,), (1392908475,), (1392908478,), (1392908480,), (1392908482,), (1392908485,), (1392908519,), (1392908520,), (1392908521,), (1392908524,), (1392908528,), (1392908542,), (1392908544,), (1392908546,), (1392908548,), (1392908552,), (1392908555,), (1392908594,), (1392908597,), (1392908600,), (1392908626,), (1392908628,), (1392908630,), (1392908634,), (1392908640,), (1392908663,), (1392908796,), (1392908798,), (1392908800,), (1392908802,), (1392908826,), (1392908829,), (1392908831,), (1392908834,), (1392908838,), (1392908840,), (1392908883,), (1392908887,), (1392908888,), (1392908908,), (1392908911,), (1392908915,), (1392908921,), (1392908924,), (1392908952,), (1392908956,), (1392908959,), (1392908970,), (1392908981,), (1392908996,), (1392908999,), (1392909037,), (1392909039,), (1392909041,), (1392909045,), (1392909050,), (1392909064,), (1392909067,), (1392909069,), (1392909071,), (1392909075,), (1392909114,), (1392909112,), (1392909113,), (1392909140,), (1392909142,), (1392909144,), (1392909147,), (1392909150,), (1392909154,), (1392909250,), (1392909251,), (1392909252,), (1392909255,), (1392909258,), (1392909262,), (1392909280,), (1392909282,), (1392909284,), (1392909334,), (1392909340,), (1392909343,), (1392909346,), (1392909351,), (1392909355,), (1392909371,), (1392909372,), (1392909373,), (1392909376,), (1392909381,), (1392909405,), (1392909408,), (1392909410,), (1392909412,), (1392909415,), (1392909417,), (1392909465,), (1392909466,), (1392909467,), (1392909469,), (1392909500,), (1392909502,), (1392909504,), (1392909507,), (1392909531,), (1392909534,), (1392909537,), (1392909574,), (1392909577,), (1392909579,), (1392909583,), (1392909587,), (1392909589,), (1392909606,), (1392909607,), (1392909608,), (1392909609,), (1392909612,), (1392909868,), (1392909871,), (1392909873,), (1392909876,), (1392909880,), (1392910294,), (1392910306,), (1392910342,), (1392910379,), (1392910442,), (1392910436,), (1392910440,), (1392910441,), (1392910467,), (1392910468,), (1392910469,), (1392910471,), (1392910475,), (1392910666,), (1392910698,), (1392910734,), (1392910769,), (1392910804,), (1392911173,), (1392911213,), (1392911246,), (1392911280,), (1392911671,), (1392911703,), (1392911734,), (1392911768,), (1392911853,), (1392911855,), (1392911856,), (1392911859,), (1392911863,), (1392911884,), (1392912141,), (1392912150,), (1392912189,), (1392912204,), (1392912352,), (1392912355,), (1392912357,), (1392912360,), (1392912383,), (1392912384,), (1392912385,), (1392912387,), (1392912390,), (1392912393,), (1392912434,), (1392912436,), (1392912438,), (1392912440,), (1392912444,), (1392912449,), (1392912466,), (1392912469,), (1392912471,), (1392912504,), (1392912506,), (1392912507,), (1392912510,), (1392912515,), (1392912519,), (1392912598,), (1392912600,), (1392912602,), (1392912604,), (1392912642,), (1392912644,), (1392912645,), (1392912671,), (1392912673,), (1392912674,), (1392912676,), (1392912680,), (1392912719,), (1392912702,), (1392912704,), (1392912706,), (1392912710,), (1392912715,), (1392912739,), (1392912741,), (1392912744,), (1392912757,), (1392912824,), (1392912827,), (1392912830,), (1392912833,), (1392912836,), (1392912839,), (1392912858,), (1392912859,), (1392912861,), (1392912864,), (1392912869,), (1392912898,), (1392912900,), (1392912902,), (1392912938,), (1392912942,), (1392912943,), (1392912944,), (1392912948,), (1392912972,), (1392912973,), (1392913066,), (1392913070,), (1392913074,), (1392913079,), (1392913083,), (1392913086,), (1392913109,), (1392913110,), (1392913111,), (1392913113,), (1392913144,), (1392913147,), (1392913148,), (1392913151,), (1392913153,), (1392913189,), (1392913193,), (1392913194,), (1392913195,), (1392913199,), (1392913203,), (1392913225,), (1392913228,), (1392913230,), (1392913334,), (1392913335,), (1392913336,), (1392913339,), (1392913343,), (1392913348,), (1392913363,), (1392913376,), (1392913379,), (1392913382,), (1392913387,), (1392913412,), (1392913415,), (1392913418,), (1392913460,), (1392913450,), (1392913452,), (1392913454,), (1392913456,), (1392913488,), (1392913492,), (1392913495,), (1392913499,), (1392913503,), (1392913506,), (1392913526,), (1392913528,), (1392913530,), (1392913550,), (1392913552,), (1392913554,), (1392913557,), (1392913561,), (1392913564,), (1392913598,), (1392913600,), (1392913601,), (1392913603,), (1392913630,), (1392913632,), (1392913634,), (1392913637,), (1392913682,), (1392913684,), (1392913687,), (1392913692,), (1392913696,), (1392913753,), (1392913756,), (1392913759,), (1392913786,), (1392913788,), (1392913789,), (1392913790,), (1392913793,), (1392913795,), (1392913822,), (1392913824,), (1392913826,), (1392913828,), (1392913832,), (1392913836,), (1392913859,), (1392913862,), (1392913865,), (1392913869,), (1392913905,), (1392913907,), (1392913909,), (1392913918,), (1392913995,), (1392913997,), (1392913999,), (1392914002,), (1392914006,), (1392914010,), (1392914035,), (1392914038,), (1392914041,), (1392914072,), (1392914075,), (1392914076,), (1392914077,), (1392914079,), (1392914129,), (1392914112,), (1392914119,), (1392914124,), (1392914126,), (1392914174,), (1392914181,), (1392914183,), (1392914186,), (1392914225,), (1392914228,), (1392914230,), (1392914256,), (1392914257,), (1392914258,), (1392914291,), (1392914294,), (1392914296,), (1392914300,), (1392914304,), (1392914320,), (1392914323,), (1392914326,), (1392914366,), (1392914426,), (1392914473,), (1392914475,), (1392914507,), (1392914510,), (1392914513,), (1392914516,), (1392914543,), (1392914547,), (1392914551,), (1392914556,), (1392914561,), (1392914600,), (1392914602,), (1392914604,), (1392914607,), (1392914611,), (1392914614,), (1392914651,), (1392914653,), (1392914655,), (1392914657,), (1392914688,), (1392914693,), (1392914697,), (1392914701,), (1392914711,), (1392914712,), (1392914714,), (1392914715,), (1392914718,), (1392914719,), (1392914722,), (1392914723,), (1392914751,), (1392914743,), (1392914745,), (1392914746,), (1392914747,), (1392914774,), (1392914776,), (1392914778,), (1392914833,), (1392914836,), (1392914872,), (1392914875,), (1392914877,), (1392914880,), (1392914884,), (1392914902,), (1392914918,), (1392914924,), (1392914934,), (1392914939,), (1392914943,), (1392914963,), (1392914974,), (1392915009,), (1392915102,), (1392915106,), (1392915134,), (1392915314,), (1392915315,), (1392915338,), (1392915342,), (1392915362,), (1392915365,), (1392915369,), (1392915401,), (1392915404,), (1392915406,), (1392915409,), (1392915413,), (1392915474,), (1392915475,), (1392915492,), (1392915517,), (1392915569,), (1392915579,), (1392915959,), (1392915962,), (1392915964,), (1392915965,), (1392915971,), (1392915974,), (1392916036,), (1392916124,), (1392916130,), (1392916136,), (1392916140,), (1392916175,), (1392916219,), (1392916235,), (1392916280,), (1392916690,), (1392916626,), (1392916662,), (1392916681,), (1392916685,), (1392916764,), (1392916898,), (1392916901,), (1392916903,), (1392916906,), (1392916940,), (1392916942,), (1392917406,), (1392917408,), (1392917454,), (1392917498,), (1392917534,), (1392917657,), (1392917710,), (1392917713,), (1392917726,), (1392917731,), (1392917807,), (1392917809,), (1392917841,), (1392917871,), (1392917905,), (1392918039,), (1392918041,), (1392918043,), (1392918047,), (1392918072,), (1392918074,), (1392918076,), (1392918078,), (1392918082,), (1392918139,), (1392918146,), (1392918158,), (1392918348,), (1392918387,), (1392918426,), (1392918431,), (1392918234,), (1392918236,), (1392918278,), (1392918313,), (1392918439,), (1392918442,), (1392918445,), (1392918449,), (1392918453,), (1392918455,), (1392918503,), (1392918506,), (1392918508,), (1392918542,), (1392918544,), (1392918546,), (1392918549,), (1392918552,), (1392918556,), (1392918576,), (1392918579,), (1392918582,), (1392918586,), (1392918592,), (1392918761,), (1392918763,), (1392918764,), (1392918765,), (1392918794,), (1392918796,), (1392918799,), (1392918855,), (1392918858,), (1392918860,), (1392918891,), (1392918894,), (1392918896,), (1392918898,), (1392918902,), (1392918966,), (1392918967,), (1392918986,), (1392919019,), (1392919124,), (1392919126,), (1392919128,), (1392919132,), (1392919136,), (1392919138,), (1392919293,), (1392919313,), (1392919322,), (1392919326,), (1392919331,), (1392919359,), (1392919360,), (1392919362,), (1392919408,), (1392919410,), (1392919411,), (1392919414,), (1392919418,), (1392919460,), (1392919463,), (1392919466,), (1392919469,), (1392919472,), (1392919475,), (1392919534,), (1392919528,), (1392919531,), (1392919627,), (1392919629,), (1392919630,), (1392919632,), (1392919635,), (1392919639,), (1392919713,), (1392919741,), (1392919757,), (1392919764,), (1392919776,), (1392919805,), (1392919807,), (1392919808,), (1392920114,), (1392920148,), (1392920151,), (1392920157,), (1392920162,), (1392920164,), (1392920186,), (1392920190,), (1392920193,), (1392920195,), (1392920228,), (1392920229,), (1392920230,), (1392920253,), (1392920264,), (1392920268,), (1392920295,), (1392920307,), (1392920319,), (1392920328,), (1392920333,), (1392920414,), (1392920428,), (1392920433,), (1392920442,), (1392920494,), (1392920496,), (1392920499,), (1392920552,), (1392920554,), (1392920561,), (1392920571,), (1392920685,), (1392920687,), (1392920690,), (1392920849,), (1392920877,), (1392920885,), (1392920886,), (1392920888,), (1392921067,), (1392921071,), (1392921076,), (1392921079,), (1392921082,), (1392921095,), (1392921100,), (1392921110,), (1392921113,), (1392921146,), (1392921148,), (1392921150,), (1392921153,), (1392921157,), (1392921144,), (1392921169,), (1392921171,), (1392921174,), (1392921176,), (1392921180,), (1392921190,), (1392921244,), (1392921254,), (1392921259,), (1392921261,), (1392921264,), (1392921266,), (1392921662,), (1392921696,), (1392921730,), (1392921763,), (1392922168,), (1392922200,), (1392922232,), (1392922236,), (1392922240,), (1392922367,), (1392922437,), (1392922500,), (1392922562,), (1392922612,), (1392923078,), (1392923989,), (1392924022,), (1392924186,), (1392924261,), (1392924286,), (1392924291,), (1392924519,), (1392924910,), (1392924956,), (1392924983,), (1392924987,), (1392924992,), (1392925250,), (1392925323,), (1392925375,), (1392926234,), (1392926239,), (1392926243,), (1392927254,), (1392927319,), (1392927385,), (1392927428,), (1392927461,), (1392927473,), (1392927803,), (1392927670,), (1392927716,), (1392927764,), (1392928001,), (1392928003,), (1392928006,), (1392928010,), (1392928015,), (1392928018,), (1392928091,), (1392928102,), (1392928110,), (1392928111,), (1392928115,), (1392928118,), (1392928142,), (1392928144,), (1392928153,), (1392928163,), (1392928168,), (1392928383,), (1392928405,), (1392928438,), (1392928441,), (1392928444,), (1392928454,), (1392928465,), (1392928662,), (1392928943,), (1392928945,), (1392928946,), (1392928947,), (1392928986,), (1392928988,), (1392928990,), (1392928993,), (1392928997,), (1392929021,), (1392929034,), (1392929038,), (1392929080,), (1392929082,), (1392929086,), (1392929114,), (1392929115,), (1392929116,), (1392929123,), (1392929133,), (1392929189,), (1392929202,), (1392929214,), (1392929223,), (1392929230,), (1392929255,), (1392929257,), (1392929258,), (1392929262,), (1392929265,), (1392929297,), (1392929299,), (1392929301,), (1392929355,), (1392929338,), (1392929340,), (1392929348,), (1392929349,), (1392929352,), (1392929387,), (1392929394,), (1392929396,), (1392929398,), (1392929402,), (1392929518,), (1392929521,), (1392929524,), (1392929527,), (1392929533,), (1392929559,), (1392929562,), (1392929565,), (1392929597,), (1392929604,), (1392929605,), (1392929606,), (1392929610,), (1392929637,), (1392929641,), (1392929645,), (1392929650,), (1392929654,), (1392929682,), (1392929685,), (1392929695,), (1392929699,), (1392929854,), (1392929870,), (1392929877,), (1392929881,), (1392929886,), (1392929891,), (1392929954,), (1392929962,), (1392929970,), (1392930033,), (1392930035,), (1392930037,), (1392930040,), (1392930063,), (1392930065,), (1392930086,), (1392930118,), (1392930413,), (1392930415,), (1392930523,), (1392930531,), (1392930540,), (1392930544,), (1392930549,), (1392930619,), (1392930622,), (1392930625,), (1392930628,), (1392930632,), (1392930651,), (1392930661,), (1392930674,), (1392930678,), (1392930684,), (1392930764,), (1392930760,), (1392930761,), (1392930762,), (1392930828,), (1392930831,), (1392930834,), (1392930837,), (1392930841,), (1392931047,), (1392931054,), (1392931072,), (1392931075,), (1392931078,), (1392931107,), (1392931109,), (1392931111,), (1392931113,), (1392931182,), (1392931185,), (1392931188,), (1392931190,), (1392931194,), (1392931198,), (1392931295,), (1392931299,), (1392931302,), (1392931305,), (1392931308,), (1392931336,), (1392931371,), (1392931404,), (1392931590,), (1392931602,), (1392931605,), (1392931609,), (1392931689,), (1392931698,), (1392932358,), (1392932397,), (1392932414,), (1392940604,), (1392971186,), (1392971434,), (1392971481,), (1392971483,), (1392971484,), (1392971487,), (1392971495,), (1392971543,), (1392971545,), (1392971547,), (1392971550,), (1392971553,), (1392971575,), (1392971574,), (1392971613,), (1392971618,), (1392971619,), (1392971621,), (1392971623,), (1392971676,), (1392971679,), (1392971680,), (1392971681,), (1392971684,), (1392971856,), (1392971858,), (1392971871,), (1392971873,), (1392971877,), (1392972088,), (1392972123,), (1392972157,), (1392972174,), (1392972478,), (1392972479,), (1392972516,), (1392972589,), (1392972619,), (1392972666,), (1392972699,), (1392972746,), (1392972946,), (1392972947,), (1392972949,), (1392972950,), (1392972968,), (1392972969,), (1392972989,), (1392972990,), (1392972991,), (1392972992,), (1392972994,), (1392973002,), (1392973029,), (1392973031,), (1392973033,), (1392973055,), (1392973058,), (1392973081,), (1392973108,), (1392973109,), (1392973111,), (1392973168,), (1392973176,), (1392973180,), (1392973185,), (1392973471,), (1392973375,), (1392973409,), (1392973440,), (1392973888,), (1392973890,), (1392973891,), (1392973935,), (1392973969,), (1392974001,), (1392974032,), (1392974273,), (1392974276,), (1392974278,), (1392974279,), (1392974281,), (1392974308,), (1392974310,), (1392974311,), (1392974312,), (1392974313,), (1392974377,), (1392974379,), (1392974401,), (1392974404,), (1392974412,), (1392974502,), (1392974512,), (1392974516,), (1392974519,), (1392974547,), (1392974548,), (1392974549,), (1392974591,), (1392974593,), (1392974595,), (1392974625,), (1392974630,), (1392974631,), (1392974632,), (1392974633,), (1392974665,), (1392974667,), (1392974674,), (1392974682,), (1392974735,), (1392974738,), (1392974739,), (1392974743,), (1392974754,), (1392974762,), (1392974808,), (1392974811,), (1392974812,), (1392974815,), (1392974822,), (1392974847,), (1392974849,), (1392974852,), (1392974916,), (1392974906,), (1392974910,), (1392974912,), (1392974946,), (1392974947,), (1392974950,), (1392974954,), (1392974957,), (1392975019,), (1392975021,), (1392975022,), (1392975063,), (1392975064,), (1392975066,), (1392975071,), (1392975259,), (1392975294,), (1392975324,), (1392975358,), (1392975407,), (1392975457,), (1392975491,), (1392975494,), (1392975495,), (1392975556,), (1392975557,), (1392975558,), (1392975560,), (1392975564,), (1392975626,), (1392975661,), (1392975674,), (1392975677,), (1392975682,), (1392975685,), (1392975709,), (1392975710,), (1392975711,), (1392975712,), (1392975714,), (1392975748,), (1392975755,), (1392975760,), (1392975764,), (1392975768,), (1392975802,), (1392975805,), (1392975808,), (1392975812,), (1392975859,), (1392975862,), (1392975864,), (1392975866,), (1392975913,), (1392975915,), (1392975916,), (1392975920,), (1392975925,), (1392975941,), (1392975943,), (1392975945,), (1392975958,), (1392975963,), (1392976003,), (1392976010,), (1392976013,), (1392976084,), (1392976102,), (1392976125,), (1392976129,), (1392976068,), (1392976069,), (1392976072,), (1392976081,), (1392976208,), (1392976209,), (1392976210,), (1392976212,), (1392976215,), (1392976217,), (1392976243,), (1392976246,), (1392976248,), (1392976252,), (1392976256,), (1392976259,), (1392976265,), (1392976267,), (1392976270,), (1392976278,), (1392976279,), (1392976283,), (1392976286,), (1392976295,), (1392976308,), (1392976462,), (1392976471,), (1392976485,), (1392976501,), (1392976510,), (1392976563,), (1392976566,), (1392976569,), (1392976571,), (1392976574,), (1392976577,), (1392976633,), (1392976636,), (1392976677,), (1392976679,), (1392976680,), (1392976681,), (1392976682,), (1392976685,), (1392976719,), (1392976721,), (1392976966,), (1392976968,), (1392976969,), (1392976997,), (1392976999,), (1392977000,), (1392977002,), (1392977055,), (1392977042,), (1392977046,), (1392977050,), (1392977077,), (1392977079,), (1392977081,), (1392977083,), (1392977167,), (1392977169,), (1392977171,), (1392977173,), (1392977177,), (1392977179,), (1392977198,), (1392977201,), (1392977203,), (1392977206,), (1392977230,), (1392977232,), (1392977233,), (1392977235,), (1392977244,), (1392977277,), (1392977286,), (1392977291,), (1392977295,), (1392977299,), (1392977301,), (1392977319,), (1392977321,), (1392977323,), (1392977373,), (1392977375,), (1392977376,), (1392977378,), (1392977447,), (1392977448,), (1392977450,), (1392977452,), (1392977479,), (1392977482,), (1392977484,), (1392977488,), (1392977493,), (1392977496,), (1392977648,), (1392977654,), (1392977657,), (1392977672,), (1392977717,), (1392977720,), (1392977723,), (1392977725,), (1392977727,), (1392977731,), (1392977765,), (1392977767,), (1392977769,), (1392977771,), (1392978313,), (1392978317,), (1392978322,), (1392978928,), (1392978779,), (1392978815,), (1392978876,), (1392979200,), (1392979201,), (1392979202,), (1392979486,), (1392979518,), (1392979526,), (1392979528,), (1392979562,), (1392979659,), (1392979660,), (1392979661,), (1392979662,), (1392979664,), (1392979700,), (1392979701,), (1392979702,), (1392979705,), (1392979712,), (1392979727,), (1392979772,), (1392979776,), (1392979779,), (1392979831,), (1392979833,), (1392979834,), (1392979849,), (1392979862,), (1392979896,), (1392979897,), (1392979912,), (1392979917,), (1392979920,), (1392979925,), (1392979941,), (1392979942,), (1392979943,), (1392979944,), (1392979953,), (1392979957,), (1392979961,), (1392979995,), (1392979997,), (1392979998,), (1392980000,), (1392980003,), (1392980079,), (1392980082,), (1392980089,), (1392980094,), (1392980099,), (1392980102,), (1392980222,), (1392980238,), (1392980241,), (1392980461,), (1392980486,), (1392980488,), (1392980491,), (1392980494,), (1392980498,), (1392980525,), (1392980527,), (1392980528,), (1392980597,), (1392980599,), (1392980607,), (1392980611,), (1392980614,), (1392980633,), (1392980687,), (1392980675,), (1392980677,), (1392980680,), (1392980684,), (1392980708,), (1392980710,), (1392980712,), (1392980897,), (1392981026,), (1392981027,), (1392981028,), (1392981031,), (1392981034,), (1392981083,), (1392981118,), (1392981171,), (1392981173,), (1392981175,), (1392981179,), (1392981184,), (1392981211,), (1392981214,), (1392981217,), (1392981225,), (1392981230,), (1392981297,), (1392981304,), (1392981311,), (1392981343,), (1392981345,), (1392981346,), (1392981348,), (1392981351,), (1392981354,), (1392981390,), (1392981396,), (1392981398,), (1392981400,), (1392981402,), (1392981406,), (1392981428,), (1392981430,), (1392981431,), (1392981432,), (1392981503,), (1392981505,), (1392981506,), (1392981508,), (1392981565,), (1392981569,), (1392981572,), (1392981575,), (1392981590,), (1392981551,), (1392981562,), (1392981628,), (1392981630,), (1392981632,), (1392981638,), (1392981642,), (1392981653,), (1392981720,), (1392981723,), (1392981725,), (1392981727,), (1392981730,), (1392981772,), (1392981773,), (1392981774,), (1392981777,), (1392981782,), (1392981786,), (1392981808,), (1392981811,), (1392981813,), (1392981816,), (1392981915,), (1392981917,), (1392981919,), (1392981922,), (1392981927,), (1392981958,), (1392981959,), (1392981961,), (1392981972,), (1392981982,), (1392981984,), (1392982023,), (1392982025,), (1392982026,), (1392982078,), (1392982079,), (1392982081,), (1392982084,), (1392982088,), (1392982093,), (1392982128,), (1392982130,), (1392982131,), (1392982132,), (1392982163,), (1392982165,), (1392982167,), (1392982171,), (1392982238,), (1392982241,), (1392982245,), (1392982248,), (1392982252,), (1392982256,), (1392982285,), (1392982287,), (1392982289,), (1392982291,), (1392982329,), (1392982330,), (1392982333,), (1392982338,), (1392982342,), (1392982387,), (1392982389,), (1392982391,), (1392982393,), (1392982397,), (1392982401,), (1392982458,), (1392982423,), (1392982431,), (1392982447,), (1392982511,), (1392982512,), (1392982513,), (1392982516,), (1392982520,), (1392982522,), (1392982545,), (1392982549,), (1392982552,), (1392982555,), (1392982557,), (1392982596,), (1392982598,), (1392982599,), (1392982601,), (1392982603,), (1392982639,), (1392982640,), (1392982641,), (1392982643,), (1392982647,), (1392982655,), (1392982714,), (1392982716,), (1392982718,), (1392982721,), (1392982769,), (1392982771,), (1392982773,), (1392982776,), (1392982780,), (1392982783,), (1392982804,), (1392982807,), (1392982812,), (1392982819,), (1392982827,), (1392982862,), (1392982864,), (1392982866,), (1392982869,), (1392982875,), (1392982880,), (1392982900,), (1392982905,), (1392982908,), (1392982913,), (1392982929,), (1392982931,), (1392982932,), (1392982934,), (1392982937,), (1392982944,), (1392982976,), (1392982990,), (1392983001,), (1392983007,), (1392983043,), (1392983046,), (1392983049,), (1392983052,), (1392983056,), (1392983194,), (1392983772,), (1392983701,), (1392983739,), (1392984019,), (1392984033,), (1392984039,), (1392984041,), (1392984288,), (1392984472,), (1392984474,), (1392984513,), (1392984588,), (1392984788,), (1392984790,), (1392984792,), (1392984839,), (1392984842,), (1392984871,), (1392984875,), (1392985005,), (1392985015,), (1392985044,), (1392985047,), (1392985053,), (1392985057,), (1392985093,), (1392985144,), (1392986162,), (1392986048,), (1392986224,), (1392986226,), (1392986253,), (1392986256,), (1392986264,), (1392986268,), (1392986271,), (1392986338,), (1392986339,), (1392986341,), (1392986350,), (1392986357,), (1392986366,), (1392986421,), (1392986422,), (1392986423,), (1392986632,), (1392986635,), (1392986640,), (1392986642,), (1392986645,), (1392986647,), (1392986652,), (1392986659,), (1392986660,), (1392991369,), (1392991459,), (1392991461,), (1392991463,), (1392991509,), (1392991511,), (1392991587,), (1392991635,), (1392991639,), (1392991641,), (1392991686,), (1392991689,), (1392991691,), (1392991694,), (1392991775,), (1392991784,), (1392991791,), (1392991793,), (1392991797,), (1392991800,), (1392991861,), (1392991897,), (1392991932,), (1392992128,), (1392992131,), (1392992135,), (1392992138,), (1392992143,), (1392992283,), (1392992287,), (1392992291,), (1392992293,), (1392992326,), (1392992329,), (1392992332,), (1392992386,), (1392992388,), (1392992389,), (1392992390,), (1392992444,), (1392992446,), (1392992453,), (1392992463,), (1392992470,), (1392992515,), (1392992517,), (1392992520,), (1392992523,), (1392992527,), (1392992572,), (1392992574,), (1392992575,), (1392992576,), (1392992612,), (1392992614,), (1392992617,), (1392992619,), (1392992729,), (1392992732,), (1392992742,), (1392992754,), (1392995098,), (1392995854,), (1392995890,), (1392995933,), (1392995965,), (1392995999,), (1392996417,), (1392996439,), (1392996463,), (1392996465,), (1392996468,), (1392996586,), (1392996587,), (1392996588,), (1392996926,), (1392996961,), (1392996998,), (1392997036,), (1392997258,), (1392997260,), (1392997284,), (1392997332,), (1392997491,), (1392997493,), (1392997495,), (1392997501,), (1392997513,), (1392997579,), (1392997581,), (1392997583,), (1392997614,), (1392997616,), (1392997618,), (1392997621,), (1392997691,), (1392997694,), (1392997696,), (1392997746,), (1392997752,), (1392997757,), (1392997761,), (1392997790,), (1392997829,), (1392997834,), (1392997838,), (1392997844,), (1392997847,), (1392997899,), (1392997909,), (1392997911,), (1392997914,), (1392997918,), (1392997921,), (1392997938,), (1392997939,), (1392997980,), (1392997973,), (1392997975,), (1392997977,), (1392998009,), (1392998012,), (1392998015,), (1392998019,), (1392998022,), (1392998055,), (1392998058,), (1392998059,), (1392998060,), (1392998062,), (1392998063,), (1392998089,), (1392998090,), (1392998091,), (1392998093,), (1392998134,), (1392998136,), (1392998161,), (1392998163,), (1392998164,), (1392998165,), (1392998197,), (1392998198,), (1392998199,), (1392998201,), (1392998203,), (1392998206,), (1392998239,), (1392998241,), (1392998258,), (1392998267,), (1392998274,), (1392998331,), (1392998332,), (1392998333,), (1392998335,), (1392998337,), (1392998341,), (1392998354,), (1392998362,), (1392998363,), (1392998364,), (1392998426,), (1392998433,), (1392998435,), (1392998438,), (1392998465,), (1392998480,), (1392998539,), (1392998541,), (1392998618,), (1392998623,), (1392998625,), (1392998659,), (1392998660,), (1392998661,), (1392998908,), (1392998990,), (1392998993,), (1392998995,), (1392999033,), (1392999036,), (1392999039,), (1392999041,), (1392999045,), (1392999065,), (1392999067,), (1392999069,), (1392999071,), (1392999074,), (1392999087,), (1392999096,), (1392999099,), (1392999101,), (1392999173,), (1392999175,), (1392999197,), (1392999205,), (1392999243,), (1392999245,), (1392999247,), (1392999250,), (1392999304,), (1392999306,), (1392999308,), (1392999310,), (1392999313,), (1392999316,), (1392999332,), (1392999333,), (1392999335,), (1392999337,), (1392999388,), (1392999373,), (1392999376,), (1392999379,), (1392999382,), (1392999385,), (1392999418,), (1392999420,), (1392999421,), (1392999423,), (1392999493,), (1392999494,), (1392999495,), (1392999544,), (1392999546,), (1392999549,), (1392999551,), (1392999554,), (1392999556,), (1392999598,), (1392999607,), (1392999614,), (1392999621,), (1392999625,), (1392999629,), (1392999637,), (1392999638,), (1392999639,), (1392999643,), (1392999646,), (1392999654,), (1392999659,), (1392999661,), (1392999665,), (1392999709,), (1392999711,), (1392999772,), (1392999774,), (1392999778,), (1392999783,), (1392999805,), (1392999807,), (1392999809,), (1392999811,), (1392999813,), (1392999844,), (1392999846,), (1392999848,), (1392999850,), (1392999852,), (1392999893,), (1392999894,), (1392999895,), (1392999949,), (1392999952,), (1392999955,), (1392999958,), (1392999962,), (1392999973,), (1393000032,), (1393000034,), (1393000036,), (1393000548,), (1393000587,), (1393000623,), (1393000660,), (1393000667,), (1393000677,), (1393000679,), (1393000682,), (1393000968,), (1393000970,), (1393000972,), (1393001006,), (1393000948,), (1393000953,), (1393000961,), (1393000980,), (1393000984,), (1393000988,), (1393000993,), (1393001256,), (1393001293,), (1393001329,), (1393001362,), (1393001395,), (1393001771,), (1393001804,), (1393001835,), (1393001870,), (1393001905,), (1393002112,), (1393002113,), (1393002116,), (1393002120,), (1393002124,), (1393002134,), (1393002179,), (1393002180,), (1393002182,), (1393002534,), (1393002568,), (1393002605,), (1393002640,), (1393002806,), (1393002836,), (1393002837,), (1393002840,), (1393002843,), (1393002856,), (1393002858,), (1393002859,), (1393002862,), (1393002906,), (1393002908,), (1393002910,), (1393002913,), (1393002916,), (1393002941,), (1393002943,), (1393002944,), (1393002946,), (1393002947,), (1393003027,), (1393003031,), (1393003034,), (1393003037,), (1393003040,), (1393003084,), (1393003089,), (1393003091,), (1393003094,), (1393003119,), (1393003121,), (1393003125,), (1393003134,), (1393003145,), (1393003176,), (1393003178,), (1393003181,), (1393003184,), (1393003188,), (1393003236,), (1393003227,), (1393003228,), (1393003229,), (1393003232,), (1393003270,), (1393003272,), (1393003273,), (1393003276,), (1393003279,), (1393003324,), (1393003326,), (1393003328,), (1393003331,), (1393003335,), (1393003363,), (1393003364,), (1393003406,), (1393003407,), (1393003408,), (1393003466,), (1393003467,), (1393003469,), (1393003472,), (1393003476,), (1393003479,), (1393003513,), (1393003515,), (1393003557,), (1393003559,), (1393003560,), (1393003561,), (1393003563,), (1393003586,), (1393003587,), (1393003588,), (1393003589,), (1393003594,), (1393003630,), (1393003632,), (1393003635,), (1393003638,), (1393003673,), (1393003676,), (1393003677,), (1393003728,), (1393003730,), (1393003732,), (1393003737,), (1393003745,), (1393003780,), (1393003782,), (1393003784,), (1393003786,), (1393003789,), (1393003863,), (1393003873,), (1393003881,), (1393003884,), (1393003892,), (1393003951,), (1393003953,), (1393003955,), (1393003989,), (1393003996,), (1393003999,), (1393004008,), (1393003983,), (1393003986,), (1393004043,), (1393004046,), (1393004054,), (1393004063,), (1393004075,), (1393004146,), (1393004147,), (1393004148,), (1393004149,), (1393004182,), (1393004332,), (1393004334,), (1393004336,), (1393004361,), (1393004363,), (1393004365,), (1393004434,), (1393004436,), (1393004437,), (1393004438,), (1393004473,), (1393004474,), (1393004476,), (1393004479,), (1393004484,), (1393004549,), (1393004552,), (1393004557,), (1393004560,), (1393004563,), (1393004565,), (1393004600,), (1393004602,), (1393004603,), (1393004643,), (1393004645,), (1393004647,), (1393004649,), (1393004653,), (1393004655,), (1393004706,), (1393004712,), (1393004723,), (1393004731,), (1393004734,), (1393004737,), (1393004752,), (1393004755,), (1393004758,), (1393004770,), (1393004772,), (1393004775,), (1393004784,), (1393004787,), (1393004797,), (1393004834,), (1393004835,), (1393004836,), (1393004867,), (1393004870,), (1393004884,), (1393004896,), (1393004903,), (1393004905,), (1393004915,), (1393004917,), (1393004923,), (1393004931,), (1393004936,), (1393004939,), (1393004968,), (1393004964,), (1393004966,), (1393004992,), (1393004994,), (1393004996,), (1393004998,), (1393005081,), (1393005083,), (1393005084,), (1393005086,), (1393005121,), (1393005122,), (1393005123,), (1393005125,), (1393005193,), (1393005194,), (1393005195,), (1393005215,), (1393005219,), (1393005222,), (1393005225,), (1393005259,), (1393005263,), (1393005265,), (1393005267,), (1393005271,), (1393005325,), (1393005334,), (1393005335,), (1393005338,), (1393005342,), (1393005344,), (1393005397,), (1393005399,), (1393005401,), (1393005403,), (1393005430,), (1393005432,), (1393005435,), (1393005436,), (1393005450,), (1393005453,), (1393005481,), (1393005482,), (1393005483,), (1393005485,), (1393005494,), (1393005546,), (1393005550,), (1393005552,), (1393005555,), (1393005622,), (1393005629,), (1393005631,), (1393005633,), (1393005636,), (1393005666,), (1393005672,), (1393005677,), (1393005681,), (1393005771,), (1393006731,), (1393006609,), (1393006669,), (1393007460,), (1393007491,), (1393007523,), (1393007561,), (1393007594,), (1393007827,), (1393007858,), (1393007895,), (1393007911,), (1393007914,), (1393007918,), (1393008213,), (1393008243,), (1393008275,), (1393008307,), (1393008340,), (1393008363,), (1393008520,), (1393008523,), (1393008526,), (1393008563,), (1393008566,), (1393008567,), (1393008621,), (1393008635,), (1393008637,), (1393008640,), (1393008645,), (1393008673,), (1393008676,), (1393008679,), (1393008682,), (1393008711,), (1393008713,), (1393008727,), (1393008765,), (1393008767,), (1393008770,), (1393008773,), (1393008777,), (1393008779,), (1393008798,), (1393008800,), (1393008801,), (1393008803,), (1393008806,), (1393008808,), (1393008856,), (1393008868,), (1393008871,), (1393008874,), (1393008877,), (1393008879,), (1393008921,), (1393008924,), (1393008926,), (1393008928,), (1393008931,), (1393008933,), (1393008951,), (1393008954,), (1393008957,), (1393008961,), (1393008966,), (1393008970,), (1393008984,), (1393008988,), (1393008992,), (1393009000,), (1393009003,), (1393009007,), (1393009010,), (1393009015,), (1393009080,), (1393009270,), (1393009283,), (1393009291,), (1393009338,), (1393009340,), (1393009341,), (1393009046,), (1393009052,), (1393009055,), (1393009074,), (1393009078,), (1393009130,), (1393009174,), (1393009180,), (1393009198,), (1393009199,), (1393009205,), (1393009223,), (1393009226,), (1393009230,), (1393009234,), (1393009238,), (1393009241,), (1393009258,), (1393009262,), (1393009266,), (1393009295,), (1393009298,), (1393009301,), (1393009305,), (1393009309,), (1393009323,), (1393009367,), (1393009372,), (1393009376,), (1393009380,), (1393009384,), (1393009391,), (1393009393,), (1393009395,), (1393009442,), (1393009444,), (1393009445,), (1393009446,), (1393009448,), (1393009504,), (1393009505,), (1393009506,), (1393009508,), (1393009511,), (1393009570,), (1393009573,), (1393009577,), (1393009579,), (1393009621,), (1393009624,), (1393009625,), (1393009627,), (1393009677,), (1393009688,), (1393009690,), (1393009707,), (1393009716,), (1393009773,), (1393009776,), (1393009778,), (1393009863,), (1393009864,), (1393009877,), (1393009933,), (1393009935,), (1393009937,), (1393009940,), (1393009963,), (1393009968,), (1393009973,), (1393010036,), (1393010040,), (1393010130,), (1393010133,), (1393010136,), (1393010138,), (1393010027,), (1393010029,), (1393010031,), (1393010033,), (1393010061,), (1393010064,), (1393010068,), (1393010073,), (1393010088,), (1393010096,), (1393010153,), (1393010156,), (1393010161,), (1393010183,), (1393010186,), (1393010198,), (1393010202,), (1393010204,), (1393010207,), (1393010211,), (1393010263,), (1393010276,), (1393010285,), (1393010320,), (1393010323,), (1393010355,), (1393010356,), (1393010357,), (1393010413,), (1393010415,), (1393010439,), (1393010443,), (1393010444,), (1393010445,), (1393010446,), (1393010449,), (1393010474,), (1393010476,), (1393010478,), (1393010481,), (1393011872,), (1393011920,), (1393012035,), (1393012038,), (1393012041,), (1393012067,), (1393012068,), (1393012123,), (1393012133,), (1393012191,), (1393012194,), (1393012196,), (1393012203,), (1393012244,), (1393012246,), (1393012248,), (1393012250,), (1393012253,), (1393012257,), (1393012275,), (1393012347,), (1393012352,), (1393012364,), (1393012411,), (1393012414,), (1393012416,), (1393012422,), (1393012482,), (1393012485,), (1393012488,), (1393012491,), (1393012540,), (1393012543,), (1393012545,), (1393012547,), (1393012606,), (1393012609,), (1393012612,), (1393012615,), (1393012619,), (1393012644,), (1393012645,), (1393012647,), (1393012650,), (1393012655,), (1393012705,), (1393012695,), (1393012698,), (1393012700,), (1393012702,), (1393012740,), (1393012742,), (1393012746,), (1393012828,), (1393012830,), (1393012831,), (1393012832,), (1393012834,), (1393012838,), (1393012871,), (1393012874,), (1393012876,), (1393012879,), (1393012883,), (1393012886,), (1393012930,), (1393012931,), (1393012932,), (1393012980,), (1393012982,), (1393012984,), (1393012986,), (1393012990,), (1393012993,), (1393013041,), (1393013043,), (1393013044,), (1393013045,), (1393013049,), (1393013092,), (1393013094,), (1393013096,), (1393013098,), (1393013114,), (1393013125,), (1393013153,), (1393013156,), (1393013159,), (1393013162,), (1393013200,), (1393013206,), (1393013211,), (1393013220,), (1393013229,), (1393013231,), (1393013275,), (1393013278,), (1393013280,), (1393013283,), (1393013293,), (1393013302,), (1393013337,), (1393013338,), (1393013339,), (1393013340,), (1393013395,), (1393013397,), (1393013399,), (1393013401,), (1393013451,), (1393013459,), (1393013465,), (1393013467,), (1393013489,), (1393013491,), (1393013493,), (1393013497,), (1393013503,), (1393013552,), (1393013556,), (1393013587,), (1393013591,), (1393013592,), (1393013593,), (1393013538,), (1393013540,), (1393013543,), (1393013548,), (1393013598,), (1393013600,), (1393013604,), (1393013608,), (1393013619,), (1393013668,), (1393013670,), (1393013671,), (1393013672,), (1393013710,), (1393013711,), (1393013712,), (1393013715,), (1393013718,), (1393013721,), (1393013738,), (1393013746,), (1393013749,), (1393013754,), (1393013814,), (1393013818,), (1393013821,), (1393013875,), (1393013878,), (1393013880,), (1393013883,), (1393013923,), (1393013924,), (1393013925,), (1393013926,), (1393013954,), (1393013956,), (1393014011,), (1393014013,), (1393014015,), (1393014018,), (1393014021,), (1393014089,), (1393014092,), (1393014168,), (1393014171,), (1393014172,), (1393014174,), (1393014178,), (1393014244,), (1393014246,), (1393014247,), (1393014250,), (1393014254,), (1393014347,), (1393014370,), (1393014373,), (1393014377,), (1393014380,), (1393014392,), (1393014393,), (1393014395,), (1393014397,), (1393014479,), (1393014470,), (1393014472,), (1393014473,), (1393014475,), (1393014519,), (1393014532,), (1393014540,), (1393014546,), (1393014584,), (1393014586,), (1393014588,), (1393014591,), (1393014596,), (1393014642,), (1393014644,), (1393014645,), (1393014699,), (1393014701,), (1393014713,), (1393014768,), (1393014769,), (1393014770,), (1393014771,), (1393014774,), (1393014828,), (1393014831,), (1393014833,), (1393014835,), (1393014838,), (1393014899,), (1393014900,), (1393014903,), (1393014907,), (1393014916,), (1393014923,), (1393014947,), (1393014948,), (1393014949,), (1393014954,), (1393014957,), (1393014960,), (1393014964,), (1393014968,), (1393014969,), (1393015007,), (1393015009,), (1393015013,), (1393015025,), (1393015029,), (1393015032,), (1393015071,), (1393015073,), (1393015075,), (1393015077,), (1393015098,), (1393015101,), (1393015102,), (1393015103,), (1393015109,), (1393015112,), (1393015158,), (1393015161,), (1393015164,), (1393015168,), (1393015174,), (1393015180,), (1393015292,), (1393015297,), (1393015302,), (1393015373,), (1393015364,), (1393015365,), (1393015366,), (1393015368,), (1393015431,), (1393015439,), (1393015440,), (1393015441,), (1393015465,), (1393015492,), (1393015494,), (1393015497,), (1393015500,), (1393015504,), (1393015507,), (1393015548,), (1393015550,), (1393015551,), (1393015552,), (1393015554,), (1393015557,), (1393015598,), (1393015600,), (1393015602,), (1393015604,), (1393015665,), (1393015667,), (1393015669,), (1393015673,), (1393015701,), (1393015738,), (1393015800,), (1393015803,), (1393015804,), (1393015806,), (1393015869,), (1393015877,), (1393015879,), (1393015882,), (1393015886,), (1393015937,), (1393015938,), (1393015939,), (1393015941,), (1393015945,), (1393015949,), (1393015999,), (1393016001,), (1393016003,), (1393016064,), (1393016078,), (1393016085,), (1393016088,), (1393016092,), (1393016096,), (1393016116,), (1393016134,), (1393016136,), (1393016148,), (1393016151,), (1393016193,), (1393016199,), (1393016201,), (1393016255,), (1393016258,), (1393016260,), (1393016263,), (1393016268,), (1393016282,), (1393016321,), (1393016323,), (1393016325,), (1393016329,), (1393016539,), (1393016528,), (1393016531,), (1393016533,), (1393016536,), (1393016538,), (1393016572,), (1393016575,), (1393016578,), (1393016582,), (1393016587,), (1393016602,), (1393016675,), (1393016677,), (1393016679,), (1393016736,), (1393016739,), (1393016740,), (1393016743,), (1393016748,), (1393016752,), (1393016811,), (1393016821,), (1393016829,), (1393016832,), (1393016835,), (1393016838,), (1393016862,), (1393016863,), (1393016864,), (1393016867,), (1393016870,), (1393016873,), (1393016926,), (1393016929,), (1393016930,), (1393016932,), (1393016990,), (1393016992,), (1393017017,), (1393017019,), (1393017023,), (1393017027,), (1393017094,), (1393017096,), (1393017098,), (1393017102,), (1393017140,), (1393017142,), (1393017144,), (1393017217,), (1393017220,), (1393017222,), (1393017225,), (1393017228,), (1393017231,), (1393017255,), (1393017257,), (1393017258,), (1393017272,), (1393017336,), (1393017341,), (1393017344,), (1393017363,), (1393017365,), (1393017409,), (1393017411,), (1393017412,), (1393017529,), (1393017740,), (1393017736,), (1393017737,), (1393017738,), (1393017788,), (1393017790,), (1393017792,), (1393017794,), (1393017798,), (1393017826,), (1393017828,), (1393017830,), (1393017833,), (1393017837,), (1393017851,), (1393017882,), (1393017884,), (1393017886,), (1393017889,), (1393017891,), (1393017893,), (1393017927,), (1393017928,), (1393017929,), (1393017983,), (1393017985,), (1393017986,), (1393017987,), (1393017989,), (1393017998,), (1393018064,), (1393018081,), (1393018083,), (1393018088,), (1393018501,), (1393018487,), (1393018498,), (1393018560,), (1393018582,), (1393018587,), (1393018592,), (1393018619,), (1393018621,), (1393018624,), (1393018628,), (1393018648,), (1393018650,), (1393018652,), (1393018671,), (1393018674,), (1393018676,), (1393018714,), (1393018718,), (1393018723,), (1393018741,), (1393018747,), (1393018750,), (1393018790,), (1393018791,), (1393018792,), (1393018795,), (1393018845,), (1393018847,), (1393018849,), (1393018852,), (1393018881,), (1393018884,), (1393018886,), (1393018888,), (1393018917,), (1393018928,), (1393018935,), (1393018939,), (1393018942,), (1393018945,), (1393018958,), (1393018970,), (1393018987,), (1393018991,), (1393019043,), (1393019045,), (1393019047,), (1393019050,), (1393019065,), (1393019141,), (1393019147,), (1393019152,), (1393019156,), (1393019160,), (1393019164,), (1393019201,), (1393019189,), (1393019191,), (1393019194,), (1393019197,), (1393019233,), (1393019234,), (1393019235,), (1393019244,), (1393019254,), (1393019289,), (1393019290,), (1393019291,), (1393019323,), (1393019325,), (1393019326,), (1393019328,), (1393019330,), (1393019331,), (1393019356,), (1393019359,), (1393019362,), (1393019366,), (1393019370,), (1393019374,), (1393019427,), (1393019435,), (1393019436,), (1393019439,), (1393019541,), (1393019585,), (1393019588,), (1393019590,), (1393019593,), (1393019600,), (1393019619,), (1393019621,), (1393019623,), (1393019625,), (1393019627,), (1393019647,), (1393019648,), (1393019649,), (1393019689,), (1393019690,), (1393019691,), (1393019693,), (1393019696,), (1393019698,), (1393019726,), (1393019729,), (1393019731,), (1393019785,), (1393019787,), (1393019789,), (1393019798,), (1393019833,), (1393019835,), (1393019837,), (1393019840,), (1393019843,), (1393019845,), (1393019880,), (1393019884,), (1393019887,), (1393019893,), (1393019897,), (1393019901,), (1393019969,), (1393019970,), (1393020050,), (1393020036,), (1393020038,), (1393020039,), (1393020042,), (1393020046,), (1393020092,), (1393020095,), (1393020098,), (1393020101,), (1393020133,), (1393020136,), (1393020137,), (1393020139,), (1393020183,), (1393020185,), (1393020187,), (1393020190,), (1393020249,), (1393020251,), (1393020253,), (1393020257,), (1393020307,), (1393020309,), (1393020313,), (1393020316,), (1393020322,), (1393020363,), (1393020366,), (1393020368,), (1393020370,), (1393020391,), (1393020392,), (1393020393,), (1393020396,), (1393020462,), (1393020469,), (1393020473,), (1393020480,), (1393020501,), (1393020569,), (1393020645,), (1393020649,), (1393020651,), (1393020654,), (1393020657,), (1393020688,), (1393020690,), (1393020691,), (1393020714,), (1393020715,), (1393020716,), (1393020718,), (1393020721,), (1393020724,), (1393020745,), (1393020747,), (1393020749,), (1393020752,), (1393020850,), (1393020857,), (1393020858,), (1393020859,), (1393020866,), (1393020913,), (1393020916,), (1393020917,), (1393020919,), (1393020922,), (1393020925,), (1393020971,), (1393020974,), (1393020983,), (1393020988,), (1393021060,), (1393021067,), (1393021080,), (1393021091,), (1393021093,), (1393021099,), (1393021116,), (1393020957,), (1393020963,), (1393021042,), (1393021043,), (1393021051,), (1393021200,), (1393021260,), (1393021264,), (1393021269,), (1393021274,), (1393021311,), (1393021325,), (1393021329,), (1393021331,), (1393021335,), (1393021337,), (1393021351,), (1393021353,), (1393021355,), (1393021364,), (1393021365,), (1393021367,), (1393021434,), (1393021436,), (1393021438,), (1393021440,), (1393021444,), (1393021448,), (1393021484,), (1393021489,), (1393021494,), (1393021498,), (1393021520,), (1393021522,), (1393021524,), (1393021528,), (1393021569,), (1393021571,), (1393021573,), (1393021575,), (1393021586,), (1393021614,), (1393021615,), (1393021616,), (1393021618,), (1393021671,), (1393021680,), (1393021688,), (1393021696,), (1393021702,), (1393021780,), (1393021835,), (1393021836,), (1393021838,), (1393021951,), (1393021954,), (1393021956,), (1393021959,), (1393022016,), (1393022008,), (1393022012,), (1393022049,), (1393022058,), (1393022067,), (1393022072,), (1393022078,), (1393022080,), (1393022111,), (1393022114,), (1393022116,), (1393022118,), (1393022148,), (1393022150,), (1393022153,), (1393022157,), (1393022160,), (1393022198,), (1393022199,), (1393022200,), (1393022256,), (1393022340,), (1393022343,), (1393022344,), (1393022346,), (1393022349,), (1393022401,), (1393022402,), (1393022403,), (1393022406,), (1393022410,), (1393022447,), (1393022449,), (1393022451,), (1393022453,), (1393022458,), (1393022463,), (1393022498,), (1393022501,), (1393022502,), (1393022504,), (1393022507,), (1393022520,), (1393022521,), (1393022554,), (1393022557,), (1393022559,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06112025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28275113]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] map_info['map_portfolio_photo'] : {28275113: [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920]} final : True mtd_id 4302 list_pids : [1393012705, 1393012655, 1393012650, 1393012647, 1393012645, 1393012644, 1393012619, 1393012615, 1393012612, 1393012609, 1393012606, 1393012547, 1393012545, 1393012543, 1393012540, 1393012491, 1393012488, 1393012485, 1393012482, 1393012422, 1393012416, 1393012414, 1393012411, 1393012364, 1393012352, 1393012347, 1393012275, 1393012257, 1393012253, 1393012250, 1393012248, 1393012246, 1393012244, 1393012203, 1393012196, 1393012194, 1393012191, 1393012133, 1393012123, 1393012068, 1393012067, 1393012041, 1393012038, 1393012035, 1393011920] Looping around the photos to save general results len do output : 1 /28275113Didn'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, '4014078') ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078') ('4302', None, None, None, None, None, None, None, '4014078') ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '28275113', 'None', None, None, None, None, '4014078'), ('4302', '28275113', '1393012705', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012655', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012650', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012647', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012645', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012644', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012619', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012615', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012612', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012609', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012606', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012547', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012545', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012543', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012540', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012491', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012488', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012485', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012482', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012422', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012416', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012414', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012411', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012364', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012352', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012347', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012275', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012257', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012253', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012250', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012248', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012246', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012244', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012203', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012196', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012194', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012191', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012133', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012123', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012068', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012067', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012041', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012038', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393012035', None, None, None, None, None, '4014078'), ('4302', '28275113', '1393011920', None, None, None, None, None, '4014078')] time used for this insertion : 0.018408775329589844 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.3051369190216064 time spend to save output : 0.018879413604736328 total time spend for step 5 : 7.324016332626343 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 (4014078) 3.41user 2.80system 0:21.32elapsed 29%CPU (0avgtext+0avgdata 162792maxresident)k 1296inputs+34608outputs (4major+82729minor)pagefaults 0swaps