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 : 724353 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 (2982174) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2982174) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408183 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2982174'] with mtr_portfolio_ids : ['23408183'] and first list_photo_ids : [] new path : /proc/724353/ Name: python3 Umask: 0002 State: R (running) Tgid: 724353 Ngid: 0 Pid: 724353 PPid: 724352 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 724353 NSpid: 724353 NSpgid: 723513 NSsid: 723513 VmPeak: 1107324 kB VmSize: 1107324 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97884 kB VmRSS: 97884 kB RssAnon: 60220 kB RssFile: 37664 kB RssShmem: 0 kB VmData: 866072 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 140 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '724353', 'Ngid': '0', 'Pid': '724353', 'PPid': '724352', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '724353', 'NSpid': '724353', 'NSpgid': '723513', 'NSsid': '723513', 'VmPeak': '1107324 kB', 'VmSize': '1107324 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97884 kB', 'VmRSS': '97884 kB', 'RssAnon': '60220 kB', 'RssFile': '37664 kB', 'RssShmem': '0 kB', 'VmData': '866072 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '140'} ('datou_batch_current', '724353', '1107324', '0', '1107324', '866072', '97884', b'', 'marlene', '2982174') 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 ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (23408183) 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 (2982174 ) ) 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 (23408183) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1361442453, 'portfolio_id': 23408183}, {'photo_id': 1361442423, 'portfolio_id': 23408183}, {'photo_id': 1361442420, 'portfolio_id': 23408183}, {'photo_id': 1361442417, 'portfolio_id': 23408183}, {'photo_id': 1361442414, 'portfolio_id': 23408183}, {'photo_id': 1361442411, 'portfolio_id': 23408183}, {'photo_id': 1361442408, 'portfolio_id': 23408183}, {'photo_id': 1361442331, 'portfolio_id': 23408183}, {'photo_id': 1361442326, 'portfolio_id': 23408183}, {'photo_id': 1361442323, 'portfolio_id': 23408183}, {'photo_id': 1361442187, 'portfolio_id': 23408183}, {'photo_id': 1361442183, 'portfolio_id': 23408183}, {'photo_id': 1361442146, 'portfolio_id': 23408183}, {'photo_id': 1361442141, 'portfolio_id': 23408183}, {'photo_id': 1361442103, 'portfolio_id': 23408183}, {'photo_id': 1361442101, 'portfolio_id': 23408183}, {'photo_id': 1361442099, 'portfolio_id': 23408183}, {'photo_id': 1361442097, 'portfolio_id': 23408183}, {'photo_id': 1361442093, 'portfolio_id': 23408183}, {'photo_id': 1361442057, 'portfolio_id': 23408183}, {'photo_id': 1361442054, 'portfolio_id': 23408183}, {'photo_id': 1361442051, 'portfolio_id': 23408183}, {'photo_id': 1361442049, 'portfolio_id': 23408183}, {'photo_id': 1361442045, 'portfolio_id': 23408183}, {'photo_id': 1361442001, 'portfolio_id': 23408183}, {'photo_id': 1361441998, 'portfolio_id': 23408183}, {'photo_id': 1361441994, 'portfolio_id': 23408183}, {'photo_id': 1361441957, 'portfolio_id': 23408183}, {'photo_id': 1361441953, 'portfolio_id': 23408183}, {'photo_id': 1361441950, 'portfolio_id': 23408183}, {'photo_id': 1361441943, 'portfolio_id': 23408183}, {'photo_id': 1361441914, 'portfolio_id': 23408183}, {'photo_id': 1361441909, 'portfolio_id': 23408183}, {'photo_id': 1361441901, 'portfolio_id': 23408183}, {'photo_id': 1361441848, 'portfolio_id': 23408183}, {'photo_id': 1361441844, 'portfolio_id': 23408183}, {'photo_id': 1361441840, 'portfolio_id': 23408183}, {'photo_id': 1361441836, 'portfolio_id': 23408183}, {'photo_id': 1361441638, 'portfolio_id': 23408183}, {'photo_id': 1361441605, 'portfolio_id': 23408183}, {'photo_id': 1361441562, 'portfolio_id': 23408183}, {'photo_id': 1361441536, 'portfolio_id': 23408183}, {'photo_id': 1361441508, 'portfolio_id': 23408183}, {'photo_id': 1361441494, 'portfolio_id': 23408183}, {'photo_id': 1361441458, 'portfolio_id': 23408183}, {'photo_id': 1361441454, 'portfolio_id': 23408183}, {'photo_id': 1361441450, 'portfolio_id': 23408183}, {'photo_id': 1361441445, 'portfolio_id': 23408183}] map_portfolio_id_photo_id: {23408183: [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445]} ##### 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.02046370506286621 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 29 05:48:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23408183) 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 : 23408183 get user id for portfolio 23408183 get sub ptf for main ptf 23408183, type 3726 and hashtags ['cartonnette', 'kraft', 'Carton_brun', 'Carton_gris', 'mal_croppe', 'Teint_Dans_La_Masse', 'environnement', 'metal', 'flou', 'papier', 'plastique', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23408183 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','Carton_brun','Carton_gris','mal_croppe','Teint_Dans_La_Masse','environnement','metal','flou','papier','plastique','autre_refus')) 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`=23408183 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','Carton_brun','Carton_gris','mal_croppe','Teint_Dans_La_Masse','environnement','metal','flou','papier','plastique','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 23408183, 'sub_port_id': 23408184, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618090, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'kraft': {'main_port_id': 23408183, 'sub_port_id': 23408185, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618091, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'papier': {'main_port_id': 23408183, 'sub_port_id': 23408186, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618092, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'plastique': {'main_port_id': 23408183, 'sub_port_id': 23408187, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618093, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'flou': {'main_port_id': 23408183, 'sub_port_id': 23408188, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618094, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'mal_croppe': {'main_port_id': 23408183, 'sub_port_id': 23408189, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618095, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'Carton_gris': {'main_port_id': 23408183, 'sub_port_id': 23408190, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618096, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'autre_refus': {'main_port_id': 23408183, 'sub_port_id': 23408191, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618097, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'environnement': {'main_port_id': 23408183, 'sub_port_id': 23408192, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618098, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'metal': {'main_port_id': 23408183, 'sub_port_id': 23408193, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618099, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'cartonnette': {'main_port_id': 23408183, 'sub_port_id': 23408194, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618100, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 23408183, 'sub_port_id': 23408195, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618101, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23408184 , 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=23408183 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 (23408184) result : ((1361442198,), (1361442199,), (1361442552,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408185 , 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=23408183 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 (23408185) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408186 , 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=23408183 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 (23408186) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408187 , 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=23408183 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 (23408187) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408188 , 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=23408183 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 (23408188) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408189 , 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=23408183 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 (23408189) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408190 , 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=23408183 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 (23408190) result : ((1361442007,), (1361442192,), (1361442194,), (1361442195,), (1361442292,), (1361442330,), (1361442548,), (1361442549,), (1361442550,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408191 , 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=23408183 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 (23408191) result : ((1361442291,), (1361442543,), (1361442544,), (1361442545,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408192 , 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=23408183 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 (23408192) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408193 , 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=23408183 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 (23408193) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408194 , 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=23408183 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 (23408194) result : ((1361442009,), (1361442053,), (1361442196,), (1361442197,), (1361442364,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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 23408195 , 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=23408183 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 (23408195) result : ((1361442006,), (1361442052,), (1361442191,), (1361442328,), (1361442540,), (1361442541,), (1361442542,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23408183) result : ((1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,)) 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`=23408183 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','Carton_brun','Carton_gris','mal_croppe','Teint_Dans_La_Masse','environnement','metal','flou','papier','plastique','autre_refus')) 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`=23408183 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','kraft','Carton_brun','Carton_gris','mal_croppe','Teint_Dans_La_Masse','environnement','metal','flou','papier','plastique','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 23408183, 'sub_port_id': 23408196, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618102, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'kraft': {'main_port_id': 23408183, 'sub_port_id': 23408197, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618103, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'papier': {'main_port_id': 23408183, 'sub_port_id': 23408198, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618104, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'plastique': {'main_port_id': 23408183, 'sub_port_id': 23408199, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618105, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'flou': {'main_port_id': 23408183, 'sub_port_id': 23408200, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618106, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'mal_croppe': {'main_port_id': 23408183, 'sub_port_id': 23408201, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618107, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'Carton_gris': {'main_port_id': 23408183, 'sub_port_id': 23408202, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618108, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'autre_refus': {'main_port_id': 23408183, 'sub_port_id': 23408203, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618109, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'environnement': {'main_port_id': 23408183, 'sub_port_id': 23408204, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618110, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'metal': {'main_port_id': 23408183, 'sub_port_id': 23408205, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618111, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'cartonnette': {'main_port_id': 23408183, 'sub_port_id': 23408206, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618112, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 13, 30), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 23408183, 'sub_port_id': 23408207, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15618113, 'last_updated_at': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 8, 26, 57), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 8, 13, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408196,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408184 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408197,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408185 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408186 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408187 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408200,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408188 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408201,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408189 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408202,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408190 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408203,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408191 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408204,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408192 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408205,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408193 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408206,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408194 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23408207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23408195 lien utilise dans velours : https://www.fotonower.com/velours/23408196,23408197,23408198,23408199,23408200,23408201,23408202,23408203,23408204,23408205,23408206,23408207?tags=Carton_brun,kraft,papier,plastique,flou,mal_croppe,Carton_gris,autre_refus,environnement,metal,cartonnette,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23408183]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] map_info['map_portfolio_photo'] : {23408183: [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445]} final : False mtd_id 4302 list_pids : [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] Looping around the photos to save general results len do output : 1 /23408183. 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, '2982174') ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 49 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, '23408183', "{'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195}", None, None, None, None, '2982174'), ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174')] time used for this insertion : 0.3081214427947998 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5744364261627197 time spend to save output : 0.30868077278137207 total time spend for step 1 : 1.8831171989440918 step2:final Thu May 29 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23408183) 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 23408183 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1361441458,1361441454,1361441450,1361441445,1361441638,1361441605,1361441562,1361441536,1361441508,1361441494,1361441848,1361441844,1361441840,1361441836,1361441914,1361441909,1361441901,1361441957,1361441953,1361441943,1361441950,1361442001,1361441998,1361441994,1361442057,1361442054,1361442051,1361442049,1361442045,1361442103,1361442101,1361442099,1361442097,1361442093,1361442146,1361442141,1361442187,1361442183,1361442331,1361442326,1361442323,1361442423,1361442420,1361442417,1361442414,1361442411,1361442408,1361442453); 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([23408183]) Inside saveOutput : final : False verbose : True original output for save of step final : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} new output for save of step final : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] map_info['map_portfolio_photo'] : {23408183: [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445]} final : False mtd_id 4302 list_pids : [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] Looping around the photos to save general results len do output : 48 /1361442453.Didn't retrieve data . /1361442423.Didn't retrieve data . /1361442420.Didn't retrieve data . /1361442417.Didn't retrieve data . /1361442414.Didn't retrieve data . /1361442411.Didn't retrieve data . /1361442408.Didn't retrieve data . /1361442331.Didn't retrieve data . /1361442326.Didn't retrieve data . /1361442323.Didn't retrieve data . /1361442187.Didn't retrieve data . /1361442183.Didn't retrieve data . /1361442146.Didn't retrieve data . /1361442141.Didn't retrieve data . /1361442103.Didn't retrieve data . /1361442101.Didn't retrieve data . /1361442099.Didn't retrieve data . /1361442097.Didn't retrieve data . /1361442093.Didn't retrieve data . /1361442057.Didn't retrieve data . /1361442054.Didn't retrieve data . /1361442051.Didn't retrieve data . /1361442049.Didn't retrieve data . /1361442045.Didn't retrieve data . /1361442001.Didn't retrieve data . /1361441998.Didn't retrieve data . /1361441994.Didn't retrieve data . /1361441957.Didn't retrieve data . /1361441953.Didn't retrieve data . /1361441950.Didn't retrieve data . /1361441943.Didn't retrieve data . /1361441914.Didn't retrieve data . /1361441909.Didn't retrieve data . /1361441901.Didn't retrieve data . /1361441848.Didn't retrieve data . /1361441844.Didn't retrieve data . /1361441840.Didn't retrieve data . /1361441836.Didn't retrieve data . /1361441638.Didn't retrieve data . /1361441605.Didn't retrieve data . /1361441562.Didn't retrieve data . /1361441536.Didn't retrieve data . /1361441508.Didn't retrieve data . /1361441494.Didn't retrieve data . /1361441458.Didn't retrieve data . /1361441454.Didn't retrieve data . /1361441450.Didn't retrieve data . /1361441445.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, '2982174') ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 144 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', '23408183', '1361442453', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442423', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442420', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442417', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442414', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442411', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442408', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442331', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442326', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442323', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442187', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442183', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442146', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442141', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442103', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442101', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442099', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442097', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442093', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442057', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442054', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442051', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442049', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442045', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361442001', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441998', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441994', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441957', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441953', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441950', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441943', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441914', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441909', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441901', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441848', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441844', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441840', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441836', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441638', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441605', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441562', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441536', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441508', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441494', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441458', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441454', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441450', '0.07927348511599194', None, None, None, None, '2982174'), ('4302', '23408183', '1361441445', '0.07927348511599194', None, None, None, None, '2982174')] time used for this insertion : 0.04081392288208008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07367801666259766 time spend to save output : 0.042922258377075195 total time spend for step 2 : 0.11660027503967285 step3:velours_tree Thu May 29 05:48:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23408183: [{'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195}]} input_args_next_step : {23408183: ()} output_args : {23408183: [{'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195}]} args : 23408183 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23408183) 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([23408183]) 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.3304760456085205 time spend to save output : 3.814697265625e-05 total time spend for step 3 : 0.33051419258117676 step4:send_mail_cod Thu May 29 05:48:31 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 : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} input_args_next_step : {1361442453: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442453 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442423 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442420 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442417 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442414 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442411 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442408 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442331 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442326 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442323 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442187 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442183 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442146 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442141 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442103 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442101 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442099 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442097 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442093 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442057 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442054 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442051 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442049 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442045 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361442001 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441998 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441994 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441957 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441953 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441950 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441943 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441914 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441909 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441901 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441848 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441844 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441840 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441836 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441638 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441605 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441562 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441536 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441508 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441494 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441458 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441454 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441450 depend.output_id : 0 input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ()} output_args : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',)} args : 1361441445 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 : {23408183: [{'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195}]} input_args_next_step : {1361442453: ('0.07927348511599194',), 1361442423: ('0.07927348511599194',), 1361442420: ('0.07927348511599194',), 1361442417: ('0.07927348511599194',), 1361442414: ('0.07927348511599194',), 1361442411: ('0.07927348511599194',), 1361442408: ('0.07927348511599194',), 1361442331: ('0.07927348511599194',), 1361442326: ('0.07927348511599194',), 1361442323: ('0.07927348511599194',), 1361442187: ('0.07927348511599194',), 1361442183: ('0.07927348511599194',), 1361442146: ('0.07927348511599194',), 1361442141: ('0.07927348511599194',), 1361442103: ('0.07927348511599194',), 1361442101: ('0.07927348511599194',), 1361442099: ('0.07927348511599194',), 1361442097: ('0.07927348511599194',), 1361442093: ('0.07927348511599194',), 1361442057: ('0.07927348511599194',), 1361442054: ('0.07927348511599194',), 1361442051: ('0.07927348511599194',), 1361442049: ('0.07927348511599194',), 1361442045: ('0.07927348511599194',), 1361442001: ('0.07927348511599194',), 1361441998: ('0.07927348511599194',), 1361441994: ('0.07927348511599194',), 1361441957: ('0.07927348511599194',), 1361441953: ('0.07927348511599194',), 1361441950: ('0.07927348511599194',), 1361441943: ('0.07927348511599194',), 1361441914: ('0.07927348511599194',), 1361441909: ('0.07927348511599194',), 1361441901: ('0.07927348511599194',), 1361441848: ('0.07927348511599194',), 1361441844: ('0.07927348511599194',), 1361441840: ('0.07927348511599194',), 1361441836: ('0.07927348511599194',), 1361441638: ('0.07927348511599194',), 1361441605: ('0.07927348511599194',), 1361441562: ('0.07927348511599194',), 1361441536: ('0.07927348511599194',), 1361441508: ('0.07927348511599194',), 1361441494: ('0.07927348511599194',), 1361441458: ('0.07927348511599194',), 1361441454: ('0.07927348511599194',), 1361441450: ('0.07927348511599194',), 1361441445: ('0.07927348511599194',), 23408183: ()} output_args : {23408183: [{'Carton_brun': 23408184, 'kraft': 23408185, 'papier': 23408186, 'plastique': 23408187, 'flou': 23408188, 'mal_croppe': 23408189, 'Carton_gris': 23408190, 'autre_refus': 23408191, 'environnement': 23408192, 'metal': 23408193, 'cartonnette': 23408194, 'Teint_Dans_La_Masse': 23408195}]} args : 23408183 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 :49, first value : ('0.07927348511599194',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23408183) 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 ph WHERE photo_id IN (1361442453,1361442423,1361442420,1361442417,1361442414,1361442411,1361442408,1361442331,1361442326,1361442323,1361442187,1361442183,1361442146,1361442141,1361442103,1361442101,1361442099,1361442097,1361442093,1361442057,1361442054,1361442051,1361442049,1361442045,1361442001,1361441998,1361441994,1361441957,1361441953,1361441950,1361441943,1361441914,1361441909,1361441901,1361441848,1361441844,1361441840,1361441836,1361441638,1361441605,1361441562,1361441536,1361441508,1361441494,1361441458,1361441454,1361441450,1361441445) Found this number of photos: 48 ##### Call download_photos : nb_thread : 5 begin to download photo : 1361441445 begin to download photo : 1361441836 begin to download photo : 1361441957 begin to download photo : 1361442097 begin to download photo : 1361442331 download finish for photo 1361441445 begin to download photo : 1361441450 download finish for photo 1361441957 begin to download photo : 1361441994 download finish for photo 1361442097 begin to download photo : 1361442099 download finish for photo 1361441836 begin to download photo : 1361441840 download finish for photo 1361442331 begin to download photo : 1361442408 download finish for photo 1361442099 begin to download photo : 1361442101 download finish for photo 1361441450 begin to download photo : 1361441454 download finish for photo 1361441840 begin to download photo : 1361441844 download finish for photo 1361442408 begin to download photo : 1361442411 download finish for photo 1361442101 begin to download photo : 1361442103 download finish for photo 1361441454 begin to download photo : 1361441458 download finish for photo 1361441844 begin to download photo : 1361441848 download finish for photo 1361442411 begin to download photo : 1361442414 download finish for photo 1361441458 begin to download photo : 1361441494 download finish for photo 1361442414 begin to download photo : 1361442417 download finish for photo 1361441848 begin to download photo : 1361441901 download finish for photo 1361442103 begin to download photo : 1361442141 download finish for photo 1361441494 begin to download photo : 1361441508 download finish for photo 1361441901 begin to download photo : 1361441909 download finish for photo 1361442141 begin to download photo : 1361442146 download finish for photo 1361442417 begin to download photo : 1361442420 download finish for photo 1361441994 begin to download photo : 1361441998 download finish for photo 1361442146 begin to download photo : 1361442183 download finish for photo 1361441909 begin to download photo : 1361441914 download finish for photo 1361441508 begin to download photo : 1361441536 download finish for photo 1361441998 begin to download photo : 1361442001 download finish for photo 1361442420 begin to download photo : 1361442423 download finish for photo 1361441914 begin to download photo : 1361441943 download finish for photo 1361442183 begin to download photo : 1361442187 download finish for photo 1361441536 begin to download photo : 1361441562 download finish for photo 1361442001 begin to download photo : 1361442045 download finish for photo 1361442423 begin to download photo : 1361442453 download finish for photo 1361441943 begin to download photo : 1361441950 download finish for photo 1361442187 begin to download photo : 1361442323 download finish for photo 1361441562 begin to download photo : 1361441605 download finish for photo 1361441950 begin to download photo : 1361441953 download finish for photo 1361442045 begin to download photo : 1361442049 download finish for photo 1361442453 download finish for photo 1361442323 begin to download photo : 1361442326 download finish for photo 1361442049 begin to download photo : 1361442051 download finish for photo 1361442326 download finish for photo 1361441953 download finish for photo 1361442051 begin to download photo : 1361442054 download finish for photo 1361442054 begin to download photo : 1361442057 download finish for photo 1361441605 begin to download photo : 1361441638 download finish for photo 1361442057 begin to download photo : 1361442093 download finish for photo 1361441638 download finish for photo 1361442093 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette234081851748490513/ imagette234081871748490513/ imagette234081881748490513/ imagette234081891748490513/ length of list_filenames : 48 ; length of list_pids : 48 ; length of list_args : 48 results_Auto_P23408183_29-05-2025_05_48_33.pdf 23408185 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408185 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234081851748490513 23408187 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408187 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234081871748490513 23408188 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408188 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234081881748490513 23408189 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408189 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234081891748490513 23408191 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408191 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361442291: '1748413285_1053273_1361442099_34c4d19ae66b6d55b57eadf7c8c80bd6_rle_crop_3814706308_0.png', 1361442543: '1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706917_0.png', 1361442544: '1748413647_1066068_1361442414_0257cd8ac5ee1e6751b54397057093f7_rle_crop_3814706926_0.png', 1361442545: '1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706950_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/3ee2fc9ede5461704a4f355fd62af1cc_80079888.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/818e516c62664d36964149c056df6608_86105993.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/ebd53e36af3a63f1a898d98d113d9c2e_63096428.png change filename to text .imagette234081911748490513/ imagette234081911748490513/1748413647_1066068_1361442414_0257cd8ac5ee1e6751b54397057093f7_rle_crop_3814706926_0.png.png imagette234081911748490513/1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706950_0.png.png imagette234081911748490513/1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706917_0.png.png imagette234081911748490513/1748413285_1053273_1361442099_34c4d19ae66b6d55b57eadf7c8c80bd6_rle_crop_3814706308_0.png.png imagette234081931748490513/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/6c6cc019101beb0134ef4ae4dba61962_41872657.png imagette234081911748490513 23408193 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408193 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234081931748490513 23408194 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408194 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361442009: '1748412927_1043981_1361441494_17e6c7b90513ddf737a9472d8ef2c0b9_rle_crop_3814705530_0.png', 1361442053: '1748412986_1044918_1361441840_635862b79d4ae5aaccbcddcb9f7f0a32_rle_crop_3814705649_0.png', 1361442196: '1748413165_1050393_1361441458_33163c90a3a2958c76c605a2959e2a44_rle_crop_3814705810_0.png', 1361442197: '1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705830_0.png', 1361442364: '1748413405_1060522_1361442187_b9f18c6dbf2b39e141dabf38b1b717e7_rle_crop_3814706470_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/b67e56ad5cd425ef7587c6dab5beba15_66972317.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/4345f0a1a8e6832f27b18b0a87b699f0_95469715.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/83f118a924850a0fddad5b6bbcc272a7_92864684.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/103352f67517c82dc0005ef07eab2c48_86936504.png change filename to text .imagette234081941748490513/ imagette234081941748490513/1748412986_1044918_1361441840_635862b79d4ae5aaccbcddcb9f7f0a32_rle_crop_3814705649_0.png.png imagette234081941748490513/1748413165_1050393_1361441458_33163c90a3a2958c76c605a2959e2a44_rle_crop_3814705810_0.png.png imagette234081941748490513/1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705830_0.png.png imagette234081941748490513/1748413405_1060522_1361442187_b9f18c6dbf2b39e141dabf38b1b717e7_rle_crop_3814706470_0.png.png imagette234081941748490513/1748412927_1043981_1361441494_17e6c7b90513ddf737a9472d8ef2c0b9_rle_crop_3814705530_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/4fc10efa1514016f200f0782e9250f96_45275531.png imagette234081941748490513 23408184 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408184 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361442198: '1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705820_0.png', 1361442199: '1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705832_0.png', 1361442552: '1748413647_1066068_1361442420_b957b5c11ac813b711f4a407bdf39e88_rle_crop_3814706900_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/a006937b9898d525581341056a75eda3_94629200.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/e9b1263a4787bf6d0a3ddfa71366c3cc_76896526.png change filename to text .imagette234081841748490514/ imagette234081841748490514/1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705820_0.png.png imagette234081841748490514/1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705832_0.png.png imagette234081841748490514/1748413647_1066068_1361442420_b957b5c11ac813b711f4a407bdf39e88_rle_crop_3814706900_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/cb97ef933e8d1c072d9f2ebd2a7ccbe1_66862973.png imagette234081841748490514 23408190 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408190 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361442007: '1748412927_1043981_1361441494_17e6c7b90513ddf737a9472d8ef2c0b9_rle_crop_3814705529_0.png', 1361442192: '1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705819_0.png', 1361442194: '1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705817_0.png', 1361442195: '1748413165_1050393_1361441445_371a07f9880da001049576da86e7e703_rle_crop_3814705846_0.png', 1361442292: '1748413285_1053273_1361442146_52ed8a568e2b73e497664f1b1b8b475e_rle_crop_3814706292_0.png', 1361442330: '1748413346_1056712_1361441994_d2bbf866fa5cf664d0e9654616444fce_rle_crop_3814706436_0.png', 1361442548: '1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706908_0.png', 1361442549: '1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706911_0.png', 1361442550: '1748413647_1066068_1361442411_5c8133231ddcd536187d5ce2319c12bb_rle_crop_3814706937_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/4211f2ec199c22d0b278d273aa4c2384_57341781.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/0737c9dfd6b37e3e7f807f00ffe2e3d6_93306000.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/0c534407c4f1b6f5416505507fa9b9dc_82620886.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/1cd3fb6d98ff587a700f8e99932e9944_18650243.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/4de59017dd04e05d454161ff50b7cbdb_7882199.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/36a39d2bf0860efbab490c94a62397a3_18433321.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/1892ac97a4281c043b531dfdd7363f59_51825500.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/54bcd2e8d0c3bd76de3557fc093a1466_73266226.png change filename to text .imagette234081901748490514/ imagette234081901748490514/1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706911_0.png.png imagette234081901748490514/1748413647_1066068_1361442411_5c8133231ddcd536187d5ce2319c12bb_rle_crop_3814706937_0.png.png imagette234081901748490514/1748413165_1050393_1361441445_371a07f9880da001049576da86e7e703_rle_crop_3814705846_0.png.png imagette234081901748490514/1748413346_1056712_1361441994_d2bbf866fa5cf664d0e9654616444fce_rle_crop_3814706436_0.png.png imagette234081901748490514/1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705817_0.png.png imagette234081901748490514/1748413165_1050393_1361441454_8bc58e811b0e38947d7ebe0a44b94e88_rle_crop_3814705819_0.png.png imagette234081901748490514/1748413285_1053273_1361442146_52ed8a568e2b73e497664f1b1b8b475e_rle_crop_3814706292_0.png.png imagette234081901748490514/1748413647_1066068_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5_rle_crop_3814706908_0.png.png imagette234081901748490514/1748412927_1043981_1361441494_17e6c7b90513ddf737a9472d8ef2c0b9_rle_crop_3814705529_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/45725f6698f531a6a01cc4dd0966afeb_77516527.png imagette234081901748490514 23408195 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361442006: '1748412927_1043981_1361441508_7164baf793c0023770387fab778676dd_rle_crop_3814705516_0.png', 1361442052: '1748412986_1044918_1361441836_7dc398de2bf2a27bbafd240433908a2f_rle_crop_3814705663_0.png', 1361442191: '1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705831_0.png', 1361442328: '1748413346_1056712_1361441998_fdc5b327737b1f3928943460833b789c_rle_crop_3814706429_0.png', 1361442540: '1748413647_1066068_1361442414_0257cd8ac5ee1e6751b54397057093f7_rle_crop_3814706925_0.png', 1361442541: '1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706954_0.png', 1361442542: '1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706953_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/395b8d35ca003bdf2907f65c141baec2_60830165.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/30c97ef2fab5d0899148e12b109dda6b_23792925.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/039fb253c7c7e0ccd4659c64a012a05b_67757153.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/5b406e7aae5f7a0e341fed22bc8e7080_95495471.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/02d7e043adaae1c1459d5dc2223b7568_73473324.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/cc6ee5fc0f13c1139243e29fc9f1a92e_86292232.png change filename to text .imagette234081951748490515/ imagette234081951748490515/1748412986_1044918_1361441836_7dc398de2bf2a27bbafd240433908a2f_rle_crop_3814705663_0.png.png imagette234081951748490515/1748413165_1050393_1361441450_4641714d9c6e40386438f020477097b9_rle_crop_3814705831_0.png.png imagette234081951748490515/1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706954_0.png.png imagette234081951748490515/1748412927_1043981_1361441508_7164baf793c0023770387fab778676dd_rle_crop_3814705516_0.png.png imagette234081951748490515/1748413346_1056712_1361441998_fdc5b327737b1f3928943460833b789c_rle_crop_3814706429_0.png.png imagette234081951748490515/1748413647_1066068_1361442408_453d16888b3a8de3f911ec9d16e4203f_rle_crop_3814706953_0.png.png imagette234081951748490515/1748413647_1066068_1361442414_0257cd8ac5ee1e6751b54397057093f7_rle_crop_3814706925_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/a1cf7eb84f27d8a2869a933bd8d3713b_41898614.png imagette234081951748490515 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23408183 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23408196,23408197,23408198,23408199,23408200,23408201,23408202,23408203,23408204,23408205,23408206,23408207?tags=Carton_brun,kraft,papier,plastique,flou,mal_croppe,Carton_gris,autre_refus,environnement,metal,cartonnette,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1361442453] : ('0.07927348511599194',) no score found for photo 1361442453 We are sending mail with results at report@fotonower.com args[1361442423] : ('0.07927348511599194',) no score found for photo 1361442423 We are sending mail with results at report@fotonower.com args[1361442420] : ('0.07927348511599194',) no score found for photo 1361442420 We are sending mail with results at report@fotonower.com args[1361442417] : ('0.07927348511599194',) no score found for photo 1361442417 We are sending mail with results at report@fotonower.com args[1361442414] : ('0.07927348511599194',) no score found for photo 1361442414 We are sending mail with results at report@fotonower.com args[1361442411] : ('0.07927348511599194',) no score found for photo 1361442411 We are sending mail with results at report@fotonower.com args[1361442408] : ('0.07927348511599194',) no score found for photo 1361442408 We are sending mail with results at report@fotonower.com args[1361442331] : ('0.07927348511599194',) no score found for photo 1361442331 We are sending mail with results at report@fotonower.com args[1361442326] : ('0.07927348511599194',) no score found for photo 1361442326 We are sending mail with results at report@fotonower.com args[1361442323] : ('0.07927348511599194',) no score found for photo 1361442323 We are sending mail with results at report@fotonower.com args[1361442187] : ('0.07927348511599194',) no score found for photo 1361442187 We are sending mail with results at report@fotonower.com args[1361442183] : ('0.07927348511599194',) no score found for photo 1361442183 We are sending mail with results at report@fotonower.com args[1361442146] : ('0.07927348511599194',) no score found for photo 1361442146 We are sending mail with results at report@fotonower.com args[1361442141] : ('0.07927348511599194',) no score found for photo 1361442141 We are sending mail with results at report@fotonower.com args[1361442103] : ('0.07927348511599194',) no score found for photo 1361442103 We are sending mail with results at report@fotonower.com args[1361442101] : ('0.07927348511599194',) no score found for photo 1361442101 We are sending mail with results at report@fotonower.com args[1361442099] : ('0.07927348511599194',) no score found for photo 1361442099 We are sending mail with results at report@fotonower.com args[1361442097] : ('0.07927348511599194',) no score found for photo 1361442097 We are sending mail with results at report@fotonower.com args[1361442093] : ('0.07927348511599194',) no score found for photo 1361442093 We are sending mail with results at report@fotonower.com args[1361442057] : ('0.07927348511599194',) no score found for photo 1361442057 We are sending mail with results at report@fotonower.com args[1361442054] : ('0.07927348511599194',) no score found for photo 1361442054 We are sending mail with results at report@fotonower.com args[1361442051] : ('0.07927348511599194',) no score found for photo 1361442051 We are sending mail with results at report@fotonower.com args[1361442049] : ('0.07927348511599194',) no score found for photo 1361442049 We are sending mail with results at report@fotonower.com args[1361442045] : ('0.07927348511599194',) no score found for photo 1361442045 We are sending mail with results at report@fotonower.com args[1361442001] : ('0.07927348511599194',) no score found for photo 1361442001 We are sending mail with results at report@fotonower.com args[1361441998] : ('0.07927348511599194',) no score found for photo 1361441998 We are sending mail with results at report@fotonower.com args[1361441994] : ('0.07927348511599194',) no score found for photo 1361441994 We are sending mail with results at report@fotonower.com args[1361441957] : ('0.07927348511599194',) no score found for photo 1361441957 We are sending mail with results at report@fotonower.com args[1361441953] : ('0.07927348511599194',) no score found for photo 1361441953 We are sending mail with results at report@fotonower.com args[1361441950] : ('0.07927348511599194',) no score found for photo 1361441950 We are sending mail with results at report@fotonower.com args[1361441943] : ('0.07927348511599194',) no score found for photo 1361441943 We are sending mail with results at report@fotonower.com args[1361441914] : ('0.07927348511599194',) no score found for photo 1361441914 We are sending mail with results at report@fotonower.com args[1361441909] : ('0.07927348511599194',) no score found for photo 1361441909 We are sending mail with results at report@fotonower.com args[1361441901] : ('0.07927348511599194',) no score found for photo 1361441901 We are sending mail with results at report@fotonower.com args[1361441848] : ('0.07927348511599194',) no score found for photo 1361441848 We are sending mail with results at report@fotonower.com args[1361441844] : ('0.07927348511599194',) no score found for photo 1361441844 We are sending mail with results at report@fotonower.com args[1361441840] : ('0.07927348511599194',) no score found for photo 1361441840 We are sending mail with results at report@fotonower.com args[1361441836] : ('0.07927348511599194',) no score found for photo 1361441836 We are sending mail with results at report@fotonower.com args[1361441638] : ('0.07927348511599194',) no score found for photo 1361441638 We are sending mail with results at report@fotonower.com args[1361441605] : ('0.07927348511599194',) no score found for photo 1361441605 We are sending mail with results at report@fotonower.com args[1361441562] : ('0.07927348511599194',) no score found for photo 1361441562 We are sending mail with results at report@fotonower.com args[1361441536] : ('0.07927348511599194',) no score found for photo 1361441536 We are sending mail with results at report@fotonower.com args[1361441508] : ('0.07927348511599194',) no score found for photo 1361441508 We are sending mail with results at report@fotonower.com args[1361441494] : ('0.07927348511599194',) no score found for photo 1361441494 We are sending mail with results at report@fotonower.com args[1361441458] : ('0.07927348511599194',) no score found for photo 1361441458 We are sending mail with results at report@fotonower.com args[1361441454] : ('0.07927348511599194',) no score found for photo 1361441454 We are sending mail with results at report@fotonower.com args[1361441450] : ('0.07927348511599194',) no score found for photo 1361441450 We are sending mail with results at report@fotonower.com args[1361441445] : ('0.07927348511599194',) no score found for photo 1361441445 We are sending mail with results at report@fotonower.com refus_total : 0.07927348511599194 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408183 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_P23408183_29-05-2025_05_48_33.pdf results_Auto_P23408183_29-05-2025_05_48_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.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','23408183','results_Auto_P23408183_29-05-2025_05_48_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf','pdf','','0.43','0.07927348511599194') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23408183]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] map_info['map_portfolio_photo'] : {23408183: [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445]} final : False mtd_id 4302 list_pids : [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] 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, '2982174') ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '23408183', '1361442453', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174')] time used for this insertion : 0.6563937664031982 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.721220254898071 time spend to save output : 0.6569616794586182 total time spend for step 4 : 8.37818193435669 step5:split_time_score Thu May 29 05:48:39 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 : ['23408183'] 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 : [('23408183',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23408183) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1361442331: {'path': 'temp/1748490511_724353_1361442331_20bac6b8c70ef4ec28abc9af1e4dd565.jpg', 'extension': 'jpg'}, 1361442408: {'path': 'temp/1748490511_724353_1361442408_453d16888b3a8de3f911ec9d16e4203f.jpg', 'extension': 'jpg'}, 1361442411: {'path': 'temp/1748490511_724353_1361442411_5c8133231ddcd536187d5ce2319c12bb.jpg', 'extension': 'jpg'}, 1361442414: {'path': 'temp/1748490511_724353_1361442414_0257cd8ac5ee1e6751b54397057093f7.jpg', 'extension': 'jpg'}, 1361442417: {'path': 'temp/1748490511_724353_1361442417_e9bb76446d7c0b88f80d0294e5a47eb5.jpg', 'extension': 'jpg'}, 1361442420: {'path': 'temp/1748490511_724353_1361442420_b957b5c11ac813b711f4a407bdf39e88.jpg', 'extension': 'jpg'}, 1361442423: {'path': 'temp/1748490511_724353_1361442423_a6d2d443b2175f79bae4909ee58666ca.jpg', 'extension': 'jpg'}, 1361442453: {'path': 'temp/1748490511_724353_1361442453_fe5350c05103347b4838b42c38d190ef.jpg', 'extension': 'jpg'}, 1361442097: {'path': 'temp/1748490511_724353_1361442097_11f8611dfc026c6c83f577f820b6a48c.jpg', 'extension': 'jpg'}, 1361442099: {'path': 'temp/1748490511_724353_1361442099_34c4d19ae66b6d55b57eadf7c8c80bd6.jpg', 'extension': 'jpg'}, 1361442101: {'path': 'temp/1748490511_724353_1361442101_7f43d6121b8a07652858bcf62442bb86.jpg', 'extension': 'jpg'}, 1361442103: {'path': 'temp/1748490511_724353_1361442103_c712b92bdac3713c34f9c43c78f78da0.jpg', 'extension': 'jpg'}, 1361442141: {'path': 'temp/1748490511_724353_1361442141_d68ad78e9434aa8bb9a271715351f865.jpg', 'extension': 'jpg'}, 1361442146: {'path': 'temp/1748490511_724353_1361442146_52ed8a568e2b73e497664f1b1b8b475e.jpg', 'extension': 'jpg'}, 1361442183: {'path': 'temp/1748490511_724353_1361442183_58a6326d2d9907d2040629153b86754e.jpg', 'extension': 'jpg'}, 1361442187: {'path': 'temp/1748490511_724353_1361442187_b9f18c6dbf2b39e141dabf38b1b717e7.jpg', 'extension': 'jpg'}, 1361442323: {'path': 'temp/1748490511_724353_1361442323_3257ce4b81be9c8549f1a9e6aad676ca.jpg', 'extension': 'jpg'}, 1361442326: {'path': 'temp/1748490511_724353_1361442326_b237f072e3f66215709719d08446757d.jpg', 'extension': 'jpg'}, 1361441836: {'path': 'temp/1748490511_724353_1361441836_7dc398de2bf2a27bbafd240433908a2f.jpg', 'extension': 'jpg'}, 1361441840: {'path': 'temp/1748490511_724353_1361441840_635862b79d4ae5aaccbcddcb9f7f0a32.jpg', 'extension': 'jpg'}, 1361441844: {'path': 'temp/1748490511_724353_1361441844_d666139eb2a4f51b96279b86d25dfe5b.jpg', 'extension': 'jpg'}, 1361441848: {'path': 'temp/1748490511_724353_1361441848_ece395856b6fb9333ec0859a3459cd60.jpg', 'extension': 'jpg'}, 1361441901: {'path': 'temp/1748490511_724353_1361441901_11d72ed8a89dfe7e6b3539a3fc920502.jpg', 'extension': 'jpg'}, 1361441909: {'path': 'temp/1748490511_724353_1361441909_7495356475fe2fe7f7aa74645465cc3e.jpg', 'extension': 'jpg'}, 1361441914: {'path': 'temp/1748490511_724353_1361441914_3a565e9dbebe9c610f1f93f4e45580c6.jpg', 'extension': 'jpg'}, 1361441943: {'path': 'temp/1748490511_724353_1361441943_e366ea6a133670f421ccc96c2a6bd525.jpg', 'extension': 'jpg'}, 1361441950: {'path': 'temp/1748490511_724353_1361441950_8611d8d568ee6a802078d6c4d13c4545.jpg', 'extension': 'jpg'}, 1361441953: {'path': 'temp/1748490511_724353_1361441953_aa66a4f88afb3c1a93fa7aa6dd6045bf.jpg', 'extension': 'jpg'}, 1361441445: {'path': 'temp/1748490511_724353_1361441445_371a07f9880da001049576da86e7e703.jpg', 'extension': 'jpg'}, 1361441450: {'path': 'temp/1748490511_724353_1361441450_4641714d9c6e40386438f020477097b9.jpg', 'extension': 'jpg'}, 1361441454: {'path': 'temp/1748490511_724353_1361441454_8bc58e811b0e38947d7ebe0a44b94e88.jpg', 'extension': 'jpg'}, 1361441458: {'path': 'temp/1748490511_724353_1361441458_33163c90a3a2958c76c605a2959e2a44.jpg', 'extension': 'jpg'}, 1361441494: {'path': 'temp/1748490511_724353_1361441494_17e6c7b90513ddf737a9472d8ef2c0b9.jpg', 'extension': 'jpg'}, 1361441508: {'path': 'temp/1748490511_724353_1361441508_7164baf793c0023770387fab778676dd.jpg', 'extension': 'jpg'}, 1361441536: {'path': 'temp/1748490511_724353_1361441536_4b7d10d32143b8426305e72862c3d6ba.jpg', 'extension': 'jpg'}, 1361441562: {'path': 'temp/1748490511_724353_1361441562_06d43f513cc964c7fd1c1eb28a44fafa.jpg', 'extension': 'jpg'}, 1361441605: {'path': 'temp/1748490511_724353_1361441605_cb7c0f0632c6c31e40f31a8e5c779679.jpg', 'extension': 'jpg'}, 1361441638: {'path': 'temp/1748490511_724353_1361441638_ef34087f05155c67f5508793597e9a0f.jpg', 'extension': 'jpg'}, 1361441957: {'path': 'temp/1748490511_724353_1361441957_edcaf8269e253c9a90966a48fac62b4d.jpg', 'extension': 'jpg'}, 1361441994: {'path': 'temp/1748490511_724353_1361441994_d2bbf866fa5cf664d0e9654616444fce.jpg', 'extension': 'jpg'}, 1361441998: {'path': 'temp/1748490511_724353_1361441998_fdc5b327737b1f3928943460833b789c.jpg', 'extension': 'jpg'}, 1361442001: {'path': 'temp/1748490511_724353_1361442001_9fba0213e2d7d9d7414d72d625bc6588.jpg', 'extension': 'jpg'}, 1361442045: {'path': 'temp/1748490511_724353_1361442045_cbba07cd434d9feecde6a24175fd694b.jpg', 'extension': 'jpg'}, 1361442049: {'path': 'temp/1748490511_724353_1361442049_87eaaa8cb1e5651b1cb98638c461cd0b.jpg', 'extension': 'jpg'}, 1361442051: {'path': 'temp/1748490511_724353_1361442051_05d14fad1f80dc6e0e63cdaead89fcc6.jpg', 'extension': 'jpg'}, 1361442054: {'path': 'temp/1748490511_724353_1361442054_f8ade7ea1badcac3f758d3c2fbaf19ae.jpg', 'extension': 'jpg'}, 1361442057: {'path': 'temp/1748490511_724353_1361442057_28ab0b5c2e3e063b00d9347db2909dc5.jpg', 'extension': 'jpg'}, 1361442093: {'path': 'temp/1748490511_724353_1361442093_273fd77d998744287278bee9f9093659.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 = 23408183; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23408183 group by h (('07', 48),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23408183 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 (23408183) 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 (23408183) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28052025 23408183 Nombre de photos uploadées : 48 / 23040 (0%) 28052025 23408183 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 28052025 23408183 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1361441458, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/33163c90a3a2958c76c605a2959e2a44.jpg', 'username': None, 'uploaded_at': 1748412645, 'text': 'image_28052025_07_45_04_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361441454, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/8bc58e811b0e38947d7ebe0a44b94e88.jpg', 'username': None, 'uploaded_at': 1748412645, 'text': 'image_28052025_07_45_24_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361441450, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/4641714d9c6e40386438f020477097b9.jpg', 'username': None, 'uploaded_at': 1748412645, 'text': 'image_28052025_07_45_34_010148m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1361441445, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/371a07f9880da001049576da86e7e703.jpg', 'username': None, 'uploaded_at': 1748412645, 'text': 'image_28052025_07_45_44_010142m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023462772369384766 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23408183, '2025-05-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1841518,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0233001708984375 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= 1841518 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23397772, 'dashboard_result_id': 11026782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23398051, 'dashboard_result_id': 11026783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23398303, 'dashboard_result_id': 11026784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399179, 'dashboard_result_id': 11026785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399344, 'dashboard_result_id': 11026786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399686, 'dashboard_result_id': 11026787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400106, 'dashboard_result_id': 11026788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400427, 'dashboard_result_id': 11026789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400761, 'dashboard_result_id': 11026790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401154, 'dashboard_result_id': 11026791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401510, 'dashboard_result_id': 11026792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401873, 'dashboard_result_id': 11026793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402106, 'dashboard_result_id': 11026794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402440, 'dashboard_result_id': 11026795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402734, 'dashboard_result_id': 11026796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403490, 'dashboard_result_id': 11026797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403648, 'dashboard_result_id': 11026798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403911, 'dashboard_result_id': 11026799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23404230, 'dashboard_result_id': 11026800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23404712, 'dashboard_result_id': 11026801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405129, 'dashboard_result_id': 11026802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405492, 'dashboard_result_id': 11026803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405806, 'dashboard_result_id': 11026804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23406291, 'dashboard_result_id': 11026805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23406782, 'dashboard_result_id': 11026806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407058, 'dashboard_result_id': 11026807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407390, 'dashboard_result_id': 11026808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407757, 'dashboard_result_id': 11026809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408183, 'dashboard_result_id': 11026810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_28-05-2025_08_26_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408565, 'dashboard_result_id': 11026811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_28-05-2025_08_42_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408918, 'dashboard_result_id': 11026812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_28-05-2025_08_56_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23409657, 'dashboard_result_id': 11026813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_28-05-2025_10_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23410368, 'dashboard_result_id': 11026814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_28-05-2025_09_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411041, 'dashboard_result_id': 11026815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_28-05-2025_10_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411222, 'dashboard_result_id': 11026816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_28-05-2025_10_26_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411634, 'dashboard_result_id': 11026817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_28-05-2025_10_42_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411947, 'dashboard_result_id': 11026818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_28-05-2025_10_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23412231, 'dashboard_result_id': 11026819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_28-05-2025_11_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23412706, 'dashboard_result_id': 11026820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_28-05-2025_11_26_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413181, 'dashboard_result_id': 11026821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_28-05-2025_11_41_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413509, 'dashboard_result_id': 11026822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_28-05-2025_11_57_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413927, 'dashboard_result_id': 11026823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_28-05-2025_12_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23415509, 'dashboard_result_id': 11026824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_28-05-2025_13_42_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23415614, 'dashboard_result_id': 11026825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_28-05-2025_14_08_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23416210, 'dashboard_result_id': 11026826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_28-05-2025_14_26_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23416630, 'dashboard_result_id': 11026827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_28-05-2025_14_43_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417059, 'dashboard_result_id': 11026828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_28-05-2025_14_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417365, 'dashboard_result_id': 11026829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_28-05-2025_15_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417708, 'dashboard_result_id': 11026830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_28-05-2025_15_26_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417977, 'dashboard_result_id': 11026831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_28-05-2025_15_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23418390, 'dashboard_result_id': 11026832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_28-05-2025_15_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23418851, 'dashboard_result_id': 11026833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_28-05-2025_16_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23419247, 'dashboard_result_id': 11026834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_28-05-2025_16_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23419604, 'dashboard_result_id': 11026835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_28-05-2025_16_42_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420019, 'dashboard_result_id': 11026836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_28-05-2025_16_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420326, 'dashboard_result_id': 11026837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_28-05-2025_17_12_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420654, 'dashboard_result_id': 11026838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_28-05-2025_17_27_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421006, 'dashboard_result_id': 11026839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_28-05-2025_19_24_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421668, 'dashboard_result_id': 11026840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_28-05-2025_18_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421795, 'dashboard_result_id': 11026841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_28-05-2025_18_26_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421957, 'dashboard_result_id': 11026842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_28-05-2025_18_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422300, 'dashboard_result_id': 11026843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_28-05-2025_19_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422770, 'dashboard_result_id': 11026844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_28-05-2025_19_13_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422994, 'dashboard_result_id': 11026845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_28-05-2025_19_26_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423248, 'dashboard_result_id': 11026846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_28-05-2025_19_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423625, 'dashboard_result_id': 11026847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_28-05-2025_19_56_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423891, 'dashboard_result_id': 11026848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_28-05-2025_20_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23424282, 'dashboard_result_id': 11026849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_28-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23424761, 'dashboard_result_id': 11026850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_28-05-2025_22_24_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425537, 'dashboard_result_id': 11026851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_28-05-2025_21_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425614, 'dashboard_result_id': 11026852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_28-05-2025_21_27_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425878, 'dashboard_result_id': 11026853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_28-05-2025_21_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23426331, 'dashboard_result_id': 11026854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_28-05-2025_21_57_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23426903, 'dashboard_result_id': 11026855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_28-05-2025_22_13_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23427481, 'dashboard_result_id': 11026856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_28-05-2025_22_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23427999, 'dashboard_result_id': 11026857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_28-05-2025_22_56_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23428568, 'dashboard_result_id': 11026858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_28-05-2025_23_11_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23428761, 'dashboard_result_id': 11026859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_28-05-2025_23_27_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429050, 'dashboard_result_id': 11026860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_28-05-2025_23_41_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429379, 'dashboard_result_id': 11026861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_28-05-2025_23_56_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429676, 'dashboard_result_id': 11026862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23430028, 'dashboard_result_id': 11026863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, '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 = 23397772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982146, 'mtr_portfolio_id': 23397772, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 32), 'result': '0.06446729513318857', 'result_long': None, 'result_double': None}] Qualite : 0.06446729513318857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23397772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23397772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, 'pht': 3726}}" where mtr_portfolio_id = 23397772 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23397772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026782, 0.06446729513318857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23398051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982147, 'mtr_portfolio_id': 23398051, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 29), 'result': '0.04410996982505767', 'result_long': None, 'result_double': None}] Qualite : 0.04410996982505767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23398051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23398051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, 'pht': 3726}}" where mtr_portfolio_id = 23398051 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23398051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026783, 0.04410996982505767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23398303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982148, 'mtr_portfolio_id': 23398303, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 57), 'result': '0.046167851128557896', 'result_long': None, 'result_double': None}] Qualite : 0.046167851128557896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23398303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23398303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, 'pht': 3726}}" where mtr_portfolio_id = 23398303 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23398303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026784, 0.046167851128557896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23399179 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982149, 'mtr_portfolio_id': 23399179, 'created_at': datetime.datetime(2025, 5, 29, 5, 35, 32), 'result': '0.04962887737365328', 'result_long': None, 'result_double': None}] Qualite : 0.04962887737365328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, 'pht': 3726}}" where mtr_portfolio_id = 23399179 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23399179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026785, 0.04962887737365328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23399344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982150, 'mtr_portfolio_id': 23399344, 'created_at': datetime.datetime(2025, 5, 29, 5, 35, 59), 'result': '0.039297003774858966', 'result_long': None, 'result_double': None}] Qualite : 0.039297003774858966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, 'pht': 3726}}" where mtr_portfolio_id = 23399344 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23399344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026786, 0.039297003774858966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23399686 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982151, 'mtr_portfolio_id': 23399686, 'created_at': datetime.datetime(2025, 5, 29, 5, 36, 29), 'result': '0.057971602056583645', 'result_long': None, 'result_double': None}] Qualite : 0.057971602056583645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, 'pht': 3726}}" where mtr_portfolio_id = 23399686 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23399686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026787, 0.057971602056583645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23400106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982152, 'mtr_portfolio_id': 23400106, 'created_at': datetime.datetime(2025, 5, 29, 5, 37, 1), 'result': '0.040960003672391186', 'result_long': None, 'result_double': None}] Qualite : 0.040960003672391186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, 'pht': 3726}}" where mtr_portfolio_id = 23400106 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23400106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026788, 0.040960003672391186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23400427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982153, 'mtr_portfolio_id': 23400427, 'created_at': datetime.datetime(2025, 5, 29, 5, 37, 28), 'result': '0.03527445439329575', 'result_long': None, 'result_double': None}] Qualite : 0.03527445439329575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, 'pht': 3726}}" where mtr_portfolio_id = 23400427 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23400427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026789, 0.03527445439329575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23400761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982154, 'mtr_portfolio_id': 23400761, 'created_at': datetime.datetime(2025, 5, 29, 5, 38), 'result': '0.04834556117046673', 'result_long': None, 'result_double': None}] Qualite : 0.04834556117046673 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, 'pht': 3726}}" where mtr_portfolio_id = 23400761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23400761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026790, 0.04834556117046673, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23401154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982155, 'mtr_portfolio_id': 23401154, 'created_at': datetime.datetime(2025, 5, 29, 5, 38, 30), 'result': '0.05209534912863307', 'result_long': None, 'result_double': None}] Qualite : 0.05209534912863307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, 'pht': 3726}}" where mtr_portfolio_id = 23401154 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23401154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026791, 0.05209534912863307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23401510 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982156, 'mtr_portfolio_id': 23401510, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 1), 'result': '0.05398372108806439', 'result_long': None, 'result_double': None}] Qualite : 0.05398372108806439 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, 'pht': 3726}}" where mtr_portfolio_id = 23401510 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23401510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026792, 0.05398372108806439, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23401873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982157, 'mtr_portfolio_id': 23401873, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 28), 'result': '0.04021070389351016', 'result_long': None, 'result_double': None}] Qualite : 0.04021070389351016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, 'pht': 3726}}" where mtr_portfolio_id = 23401873 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23401873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026793, 0.04021070389351016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23402106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982158, 'mtr_portfolio_id': 23402106, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 59), 'result': '0.054699005347992234', 'result_long': None, 'result_double': None}] Qualite : 0.054699005347992234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, 'pht': 3726}}" where mtr_portfolio_id = 23402106 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23402106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026794, 0.054699005347992234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23402440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982159, 'mtr_portfolio_id': 23402440, 'created_at': datetime.datetime(2025, 5, 29, 5, 40, 31), 'result': '0.07668254743586937', 'result_long': None, 'result_double': None}] Qualite : 0.07668254743586937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, 'pht': 3726}}" where mtr_portfolio_id = 23402440 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23402440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026795, 0.07668254743586937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23402734 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982160, 'mtr_portfolio_id': 23402734, 'created_at': datetime.datetime(2025, 5, 29, 5, 41), 'result': '0.09731431259366337', 'result_long': None, 'result_double': None}] Qualite : 0.09731431259366337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, 'pht': 3726}}" where mtr_portfolio_id = 23402734 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23402734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026796, 0.09731431259366337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23403490 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982161, 'mtr_portfolio_id': 23403490, 'created_at': datetime.datetime(2025, 5, 29, 5, 41, 28), 'result': '0.047276243456989483', 'result_long': None, 'result_double': None}] Qualite : 0.047276243456989483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, 'pht': 3726}}" where mtr_portfolio_id = 23403490 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23403490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026797, 0.047276243456989483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23403648 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982162, 'mtr_portfolio_id': 23403648, 'created_at': datetime.datetime(2025, 5, 29, 5, 41, 57), 'result': '0.051955341019003655', 'result_long': None, 'result_double': None}] Qualite : 0.051955341019003655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403648 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, 'pht': 3726}}" where mtr_portfolio_id = 23403648 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23403648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026798, 0.051955341019003655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23403911 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982163, 'mtr_portfolio_id': 23403911, 'created_at': datetime.datetime(2025, 5, 29, 5, 42, 31), 'result': '0.06022705605938085', 'result_long': None, 'result_double': None}] Qualite : 0.06022705605938085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, 'pht': 3726}}" where mtr_portfolio_id = 23403911 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23403911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026799, 0.06022705605938085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23404230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982164, 'mtr_portfolio_id': 23404230, 'created_at': datetime.datetime(2025, 5, 29, 5, 43), 'result': '0.05097279130524394', 'result_long': None, 'result_double': None}] Qualite : 0.05097279130524394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23404230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23404230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, 'pht': 3726}}" where mtr_portfolio_id = 23404230 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23404230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026800, 0.05097279130524394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23404712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982165, 'mtr_portfolio_id': 23404712, 'created_at': datetime.datetime(2025, 5, 29, 5, 44), 'result': '0.03663775467744422', 'result_long': None, 'result_double': None}] Qualite : 0.03663775467744422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23404712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23404712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, 'pht': 3726}}" where mtr_portfolio_id = 23404712 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23404712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026801, 0.03663775467744422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23405129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982166, 'mtr_portfolio_id': 23405129, 'created_at': datetime.datetime(2025, 5, 29, 5, 44, 29), 'result': '0.0399876416811311', 'result_long': None, 'result_double': None}] Qualite : 0.0399876416811311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, 'pht': 3726}}" where mtr_portfolio_id = 23405129 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23405129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026802, 0.0399876416811311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23405492 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982167, 'mtr_portfolio_id': 23405492, 'created_at': datetime.datetime(2025, 5, 29, 5, 44, 57), 'result': '0.04406196739968658', 'result_long': None, 'result_double': None}] Qualite : 0.04406196739968658 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, 'pht': 3726}}" where mtr_portfolio_id = 23405492 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23405492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026803, 0.04406196739968658, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23405806 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982168, 'mtr_portfolio_id': 23405806, 'created_at': datetime.datetime(2025, 5, 29, 5, 45, 31), 'result': '0.06708666312804809', 'result_long': None, 'result_double': None}] Qualite : 0.06708666312804809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, 'pht': 3726}}" where mtr_portfolio_id = 23405806 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23405806 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026804, 0.06708666312804809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23406291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982169, 'mtr_portfolio_id': 23406291, 'created_at': datetime.datetime(2025, 5, 29, 5, 45, 58), 'result': '0.05929269609771722', 'result_long': None, 'result_double': None}] Qualite : 0.05929269609771722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23406291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23406291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, 'pht': 3726}}" where mtr_portfolio_id = 23406291 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23406291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026805, 0.05929269609771722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23406782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982170, 'mtr_portfolio_id': 23406782, 'created_at': datetime.datetime(2025, 5, 29, 5, 46, 29), 'result': '0.0489788193659915', 'result_long': None, 'result_double': None}] Qualite : 0.0489788193659915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23406782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23406782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, 'pht': 3726}}" where mtr_portfolio_id = 23406782 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23406782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026806, 0.0489788193659915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23407058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982171, 'mtr_portfolio_id': 23407058, 'created_at': datetime.datetime(2025, 5, 29, 5, 46, 58), 'result': '0.05797450955724542', 'result_long': None, 'result_double': None}] Qualite : 0.05797450955724542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, 'pht': 3726}}" where mtr_portfolio_id = 23407058 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23407058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026807, 0.05797450955724542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23407390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982172, 'mtr_portfolio_id': 23407390, 'created_at': datetime.datetime(2025, 5, 29, 5, 47, 30), 'result': '0.040121266727264626', 'result_long': None, 'result_double': None}] Qualite : 0.040121266727264626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, 'pht': 3726}}" where mtr_portfolio_id = 23407390 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23407390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026808, 0.040121266727264626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23407757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982173, 'mtr_portfolio_id': 23407757, 'created_at': datetime.datetime(2025, 5, 29, 5, 47, 57), 'result': '0.029008284827367545', 'result_long': None, 'result_double': None}] Qualite : 0.029008284827367545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, 'pht': 3726}}" where mtr_portfolio_id = 23407757 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23407757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026809, 0.029008284827367545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23408183 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2982174, 'mtr_portfolio_id': 23408183, 'created_at': datetime.datetime(2025, 5, 29, 5, 48, 30), 'result': '0.07927348511599194', 'result_long': None, 'result_double': None}] Qualite : 0.07927348511599194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, 'pht': 3726}}" where mtr_portfolio_id = 23408183 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23408183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026810, 0.07927348511599194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23408565 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2973943, 'mtr_portfolio_id': 23408565, 'created_at': datetime.datetime(2025, 5, 28, 8, 42, 30), 'result': '0.019760012924640535', 'result_long': None, 'result_double': None}] Qualite : 0.019760012924640535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_28-05-2025_08_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_28-05-2025_08_42_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, 'pht': 3726}}" where mtr_portfolio_id = 23408565 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23408565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026811, 0.019760012924640535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_28-05-2025_08_42_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23408918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974054, 'mtr_portfolio_id': 23408918, 'created_at': datetime.datetime(2025, 5, 28, 8, 56, 57), 'result': '0.03467600148529702', 'result_long': None, 'result_double': None}] Qualite : 0.03467600148529702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_28-05-2025_08_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_28-05-2025_08_56_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, 'pht': 3726}}" where mtr_portfolio_id = 23408918 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23408918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026812, 0.03467600148529702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_28-05-2025_08_56_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23409657 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974283, 'mtr_portfolio_id': 23409657, 'created_at': datetime.datetime(2025, 5, 28, 10, 24, 59), 'result': '0.03510958973830518', 'result_long': None, 'result_double': None}] Qualite : 0.03510958973830518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23409657 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_28-05-2025_10_24_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23409657 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_28-05-2025_10_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, 'pht': 3726}}" where mtr_portfolio_id = 23409657 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23409657 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026813, 0.03510958973830518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_28-05-2025_10_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23410368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974454, 'mtr_portfolio_id': 23410368, 'created_at': datetime.datetime(2025, 5, 28, 9, 42, 58), 'result': '0.11432077951680243', 'result_long': None, 'result_double': None}] Qualite : 0.11432077951680243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23410368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_28-05-2025_09_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23410368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_28-05-2025_09_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, 'pht': 3726}}" where mtr_portfolio_id = 23410368 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23410368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026814, 0.11432077951680243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_28-05-2025_09_42_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23411041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974604, 'mtr_portfolio_id': 23411041, 'created_at': datetime.datetime(2025, 5, 28, 10, 12, 1), 'result': '0.031174662776264066', 'result_long': None, 'result_double': None}] Qualite : 0.031174662776264066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_28-05-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_28-05-2025_10_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, 'pht': 3726}}" where mtr_portfolio_id = 23411041 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23411041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026815, 0.031174662776264066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_28-05-2025_10_12_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23411222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974643, 'mtr_portfolio_id': 23411222, 'created_at': datetime.datetime(2025, 5, 28, 10, 26, 28), 'result': '0.03327898579568169', 'result_long': None, 'result_double': None}] Qualite : 0.03327898579568169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_28-05-2025_10_26_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_28-05-2025_10_26_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, 'pht': 3726}}" where mtr_portfolio_id = 23411222 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23411222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026816, 0.03327898579568169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_28-05-2025_10_26_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23411634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974768, 'mtr_portfolio_id': 23411634, 'created_at': datetime.datetime(2025, 5, 28, 10, 42, 59), 'result': '0.07867628942313178', 'result_long': None, 'result_double': None}] Qualite : 0.07867628942313178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_28-05-2025_10_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_28-05-2025_10_42_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, 'pht': 3726}}" where mtr_portfolio_id = 23411634 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23411634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026817, 0.07867628942313178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_28-05-2025_10_42_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23411947 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974846, 'mtr_portfolio_id': 23411947, 'created_at': datetime.datetime(2025, 5, 28, 10, 56, 58), 'result': '0.020884600403872355', 'result_long': None, 'result_double': None}] Qualite : 0.020884600403872355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_28-05-2025_10_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_28-05-2025_10_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, 'pht': 3726}}" where mtr_portfolio_id = 23411947 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23411947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026818, 0.020884600403872355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_28-05-2025_10_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23412231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2974963, 'mtr_portfolio_id': 23412231, 'created_at': datetime.datetime(2025, 5, 28, 11, 12, 59), 'result': '0.02942858457877001', 'result_long': None, 'result_double': None}] Qualite : 0.02942858457877001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23412231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_28-05-2025_11_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23412231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_28-05-2025_11_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, 'pht': 3726}}" where mtr_portfolio_id = 23412231 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23412231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026819, 0.02942858457877001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_28-05-2025_11_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23412706 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975112, 'mtr_portfolio_id': 23412706, 'created_at': datetime.datetime(2025, 5, 28, 11, 26, 58), 'result': '0.028530037950580643', 'result_long': None, 'result_double': None}] Qualite : 0.028530037950580643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23412706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_28-05-2025_11_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23412706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_28-05-2025_11_26_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, 'pht': 3726}}" where mtr_portfolio_id = 23412706 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23412706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026820, 0.028530037950580643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_28-05-2025_11_26_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23413181 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975244, 'mtr_portfolio_id': 23413181, 'created_at': datetime.datetime(2025, 5, 28, 11, 41, 57), 'result': '0.041841033378209096', 'result_long': None, 'result_double': None}] Qualite : 0.041841033378209096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_28-05-2025_11_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_28-05-2025_11_41_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, 'pht': 3726}}" where mtr_portfolio_id = 23413181 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23413181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026821, 0.041841033378209096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_28-05-2025_11_41_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23413509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975355, 'mtr_portfolio_id': 23413509, 'created_at': datetime.datetime(2025, 5, 28, 11, 57), 'result': '0.054198748789024996', 'result_long': None, 'result_double': None}] Qualite : 0.054198748789024996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_28-05-2025_11_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_28-05-2025_11_57_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, 'pht': 3726}}" where mtr_portfolio_id = 23413509 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23413509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026822, 0.054198748789024996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_28-05-2025_11_57_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23413927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975506, 'mtr_portfolio_id': 23413927, 'created_at': datetime.datetime(2025, 5, 28, 12, 12, 59), 'result': '0.03801834686439374', 'result_long': None, 'result_double': None}] Qualite : 0.03801834686439374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_28-05-2025_12_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_28-05-2025_12_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, 'pht': 3726}}" where mtr_portfolio_id = 23413927 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23413927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026823, 0.03801834686439374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_28-05-2025_12_13_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23415509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975913, 'mtr_portfolio_id': 23415509, 'created_at': datetime.datetime(2025, 5, 28, 13, 42), 'result': '0.041077528713697097', 'result_long': None, 'result_double': None}] Qualite : 0.041077528713697097 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23415509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_28-05-2025_13_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23415509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_28-05-2025_13_42_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, 'pht': 3726}}" where mtr_portfolio_id = 23415509 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23415509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026824, 0.041077528713697097, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_28-05-2025_13_42_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23415614 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2975932, 'mtr_portfolio_id': 23415614, 'created_at': datetime.datetime(2025, 5, 28, 14, 8, 30), 'result': '0.02912619946859784', 'result_long': None, 'result_double': None}] Qualite : 0.02912619946859784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23415614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_28-05-2025_14_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23415614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_28-05-2025_14_08_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, 'pht': 3726}}" where mtr_portfolio_id = 23415614 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23415614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026825, 0.02912619946859784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_28-05-2025_14_08_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23416210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976103, 'mtr_portfolio_id': 23416210, 'created_at': datetime.datetime(2025, 5, 28, 14, 26, 58), 'result': '0.05929526809388186', 'result_long': None, 'result_double': None}] Qualite : 0.05929526809388186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23416210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_28-05-2025_14_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23416210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_28-05-2025_14_26_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, 'pht': 3726}}" where mtr_portfolio_id = 23416210 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23416210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026826, 0.05929526809388186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_28-05-2025_14_26_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23416630 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976192, 'mtr_portfolio_id': 23416630, 'created_at': datetime.datetime(2025, 5, 28, 14, 42, 59), 'result': '0.0037329757331998883', 'result_long': None, 'result_double': None}] Qualite : 0.0037329757331998883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23416630 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_28-05-2025_14_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23416630 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_28-05-2025_14_43_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, 'pht': 3726}}" where mtr_portfolio_id = 23416630 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23416630 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026827, 0.0037329757331998883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_28-05-2025_14_43_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23417059 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976295, 'mtr_portfolio_id': 23417059, 'created_at': datetime.datetime(2025, 5, 28, 14, 56, 58), 'result': '0.0823271526978336', 'result_long': None, 'result_double': None}] Qualite : 0.0823271526978336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417059 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_28-05-2025_14_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417059 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_28-05-2025_14_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, 'pht': 3726}}" where mtr_portfolio_id = 23417059 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23417059 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026828, 0.0823271526978336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_28-05-2025_14_56_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23417365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976401, 'mtr_portfolio_id': 23417365, 'created_at': datetime.datetime(2025, 5, 28, 15, 12, 59), 'result': '0.03216283547221239', 'result_long': None, 'result_double': None}] Qualite : 0.03216283547221239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_28-05-2025_15_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_28-05-2025_15_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, 'pht': 3726}}" where mtr_portfolio_id = 23417365 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23417365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026829, 0.03216283547221239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_28-05-2025_15_13_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23417708 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976509, 'mtr_portfolio_id': 23417708, 'created_at': datetime.datetime(2025, 5, 28, 15, 26, 31), 'result': '0.09200464225619814', 'result_long': None, 'result_double': None}] Qualite : 0.09200464225619814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_28-05-2025_15_26_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_28-05-2025_15_26_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, 'pht': 3726}}" where mtr_portfolio_id = 23417708 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23417708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026830, 0.09200464225619814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_28-05-2025_15_26_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23417977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976627, 'mtr_portfolio_id': 23417977, 'created_at': datetime.datetime(2025, 5, 28, 15, 43, 29), 'result': '0.03672376327623673', 'result_long': None, 'result_double': None}] Qualite : 0.03672376327623673 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_28-05-2025_15_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_28-05-2025_15_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, 'pht': 3726}}" where mtr_portfolio_id = 23417977 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23417977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026831, 0.03672376327623673, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_28-05-2025_15_43_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23418390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976758, 'mtr_portfolio_id': 23418390, 'created_at': datetime.datetime(2025, 5, 28, 15, 56, 59), 'result': '0.06778714253542409', 'result_long': None, 'result_double': None}] Qualite : 0.06778714253542409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23418390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_28-05-2025_15_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23418390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_28-05-2025_15_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, 'pht': 3726}}" where mtr_portfolio_id = 23418390 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23418390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026832, 0.06778714253542409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_28-05-2025_15_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23418851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2976910, 'mtr_portfolio_id': 23418851, 'created_at': datetime.datetime(2025, 5, 28, 16, 12, 58), 'result': '0.055527362424325336', 'result_long': None, 'result_double': None}] Qualite : 0.055527362424325336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23418851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_28-05-2025_16_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23418851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_28-05-2025_16_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, 'pht': 3726}}" where mtr_portfolio_id = 23418851 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23418851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026833, 0.055527362424325336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_28-05-2025_16_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23419247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977055, 'mtr_portfolio_id': 23419247, 'created_at': datetime.datetime(2025, 5, 28, 16, 27), 'result': '0.07710279427573086', 'result_long': None, 'result_double': None}] Qualite : 0.07710279427573086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23419247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_28-05-2025_16_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23419247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_28-05-2025_16_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, 'pht': 3726}}" where mtr_portfolio_id = 23419247 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23419247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026834, 0.07710279427573086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_28-05-2025_16_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23419604 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977204, 'mtr_portfolio_id': 23419604, 'created_at': datetime.datetime(2025, 5, 28, 16, 42, 57), 'result': '0.04823792766074454', 'result_long': None, 'result_double': None}] Qualite : 0.04823792766074454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23419604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_28-05-2025_16_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23419604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_28-05-2025_16_42_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, 'pht': 3726}}" where mtr_portfolio_id = 23419604 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23419604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026835, 0.04823792766074454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_28-05-2025_16_42_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23420019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977316, 'mtr_portfolio_id': 23420019, 'created_at': datetime.datetime(2025, 5, 28, 16, 57, 1), 'result': '0.04910440449094144', 'result_long': None, 'result_double': None}] Qualite : 0.04910440449094144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_28-05-2025_16_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_28-05-2025_16_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, 'pht': 3726}}" where mtr_portfolio_id = 23420019 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23420019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026836, 0.04910440449094144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_28-05-2025_16_57_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23420326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977449, 'mtr_portfolio_id': 23420326, 'created_at': datetime.datetime(2025, 5, 28, 17, 12, 57), 'result': '0.04291116520127675', 'result_long': None, 'result_double': None}] Qualite : 0.04291116520127675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_28-05-2025_17_12_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_28-05-2025_17_12_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, 'pht': 3726}}" where mtr_portfolio_id = 23420326 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23420326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026837, 0.04291116520127675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_28-05-2025_17_12_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23420654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977568, 'mtr_portfolio_id': 23420654, 'created_at': datetime.datetime(2025, 5, 28, 17, 27, 27), 'result': '0.09044499667931076', 'result_long': None, 'result_double': None}] Qualite : 0.09044499667931076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_28-05-2025_17_27_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_28-05-2025_17_27_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, 'pht': 3726}}" where mtr_portfolio_id = 23420654 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23420654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026838, 0.09044499667931076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_28-05-2025_17_27_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23421006 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977652, 'mtr_portfolio_id': 23421006, 'created_at': datetime.datetime(2025, 5, 28, 19, 24, 58), 'result': '0.05820317986214541', 'result_long': None, 'result_double': None}] Qualite : 0.05820317986214541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_28-05-2025_19_24_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_28-05-2025_19_24_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, 'pht': 3726}}" where mtr_portfolio_id = 23421006 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23421006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026839, 0.05820317986214541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_28-05-2025_19_24_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23421668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977881, 'mtr_portfolio_id': 23421668, 'created_at': datetime.datetime(2025, 5, 28, 18, 16, 59), 'result': '0.0545037807898262', 'result_long': None, 'result_double': None}] Qualite : 0.0545037807898262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_28-05-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_28-05-2025_18_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, 'pht': 3726}}" where mtr_portfolio_id = 23421668 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23421668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026840, 0.0545037807898262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_28-05-2025_18_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23421795 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977907, 'mtr_portfolio_id': 23421795, 'created_at': datetime.datetime(2025, 5, 28, 18, 26, 58), 'result': '0.03204503728424993', 'result_long': None, 'result_double': None}] Qualite : 0.03204503728424993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_28-05-2025_18_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421795 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_28-05-2025_18_26_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, 'pht': 3726}}" where mtr_portfolio_id = 23421795 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23421795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026841, 0.03204503728424993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_28-05-2025_18_26_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23421957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2977952, 'mtr_portfolio_id': 23421957, 'created_at': datetime.datetime(2025, 5, 28, 18, 42, 59), 'result': '0.05976031288446328', 'result_long': None, 'result_double': None}] Qualite : 0.05976031288446328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_28-05-2025_18_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_28-05-2025_18_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, 'pht': 3726}}" where mtr_portfolio_id = 23421957 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23421957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026842, 0.05976031288446328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_28-05-2025_18_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23422300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978049, 'mtr_portfolio_id': 23422300, 'created_at': datetime.datetime(2025, 5, 28, 19, 3, 28), 'result': '0.06271035208941297', 'result_long': None, 'result_double': None}] Qualite : 0.06271035208941297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_28-05-2025_19_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_28-05-2025_19_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, 'pht': 3726}}" where mtr_portfolio_id = 23422300 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23422300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026843, 0.06271035208941297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_28-05-2025_19_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23422770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978214, 'mtr_portfolio_id': 23422770, 'created_at': datetime.datetime(2025, 5, 28, 19, 13, 1), 'result': '0.0173224976905885', 'result_long': None, 'result_double': None}] Qualite : 0.0173224976905885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_28-05-2025_19_13_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_28-05-2025_19_13_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, 'pht': 3726}}" where mtr_portfolio_id = 23422770 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23422770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026844, 0.0173224976905885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_28-05-2025_19_13_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23422994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978283, 'mtr_portfolio_id': 23422994, 'created_at': datetime.datetime(2025, 5, 28, 19, 26, 59), 'result': '0.07270300167274114', 'result_long': None, 'result_double': None}] Qualite : 0.07270300167274114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_28-05-2025_19_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_28-05-2025_19_26_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, 'pht': 3726}}" where mtr_portfolio_id = 23422994 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23422994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026845, 0.07270300167274114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_28-05-2025_19_26_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23423248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978348, 'mtr_portfolio_id': 23423248, 'created_at': datetime.datetime(2025, 5, 28, 19, 43, 1), 'result': '0.044631899930013416', 'result_long': None, 'result_double': None}] Qualite : 0.044631899930013416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_28-05-2025_19_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_28-05-2025_19_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, 'pht': 3726}}" where mtr_portfolio_id = 23423248 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23423248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026846, 0.044631899930013416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_28-05-2025_19_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23423625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978474, 'mtr_portfolio_id': 23423625, 'created_at': datetime.datetime(2025, 5, 28, 19, 56, 58), 'result': '0.02363825318186661', 'result_long': None, 'result_double': None}] Qualite : 0.02363825318186661 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_28-05-2025_19_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_28-05-2025_19_56_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, 'pht': 3726}}" where mtr_portfolio_id = 23423625 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23423625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026847, 0.02363825318186661, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_28-05-2025_19_56_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23423891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978585, 'mtr_portfolio_id': 23423891, 'created_at': datetime.datetime(2025, 5, 28, 20, 12, 59), 'result': '0.055644195611313604', 'result_long': None, 'result_double': None}] Qualite : 0.055644195611313604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_28-05-2025_20_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_28-05-2025_20_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, 'pht': 3726}}" where mtr_portfolio_id = 23423891 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23423891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026848, 0.055644195611313604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_28-05-2025_20_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23424282 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978688, 'mtr_portfolio_id': 23424282, 'created_at': datetime.datetime(2025, 5, 28, 20, 26, 57), 'result': '0.046358811501733224', 'result_long': None, 'result_double': None}] Qualite : 0.046358811501733224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23424282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_28-05-2025_20_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23424282 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_28-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, 'pht': 3726}}" where mtr_portfolio_id = 23424282 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23424282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026849, 0.046358811501733224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_28-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23424761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2978808, 'mtr_portfolio_id': 23424761, 'created_at': datetime.datetime(2025, 5, 28, 22, 24, 59), 'result': '0.05090078966903451', 'result_long': None, 'result_double': None}] Qualite : 0.05090078966903451 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23424761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_28-05-2025_22_24_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23424761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_28-05-2025_22_24_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, 'pht': 3726}}" where mtr_portfolio_id = 23424761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23424761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026850, 0.05090078966903451, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_28-05-2025_22_24_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23425537 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979068, 'mtr_portfolio_id': 23425537, 'created_at': datetime.datetime(2025, 5, 28, 21, 13), 'result': '0.03977731459054594', 'result_long': None, 'result_double': None}] Qualite : 0.03977731459054594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_28-05-2025_21_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_28-05-2025_21_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, 'pht': 3726}}" where mtr_portfolio_id = 23425537 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23425537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026851, 0.03977731459054594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_28-05-2025_21_13_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23425614 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979092, 'mtr_portfolio_id': 23425614, 'created_at': datetime.datetime(2025, 5, 28, 21, 27, 29), 'result': '0.03563206394338644', 'result_long': None, 'result_double': None}] Qualite : 0.03563206394338644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_28-05-2025_21_27_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_28-05-2025_21_27_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, 'pht': 3726}}" where mtr_portfolio_id = 23425614 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23425614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026852, 0.03563206394338644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_28-05-2025_21_27_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23425878 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979185, 'mtr_portfolio_id': 23425878, 'created_at': datetime.datetime(2025, 5, 28, 21, 42, 57), 'result': '0.059552363629655575', 'result_long': None, 'result_double': None}] Qualite : 0.059552363629655575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_28-05-2025_21_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_28-05-2025_21_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, 'pht': 3726}}" where mtr_portfolio_id = 23425878 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23425878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026853, 0.059552363629655575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_28-05-2025_21_42_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23426331 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979319, 'mtr_portfolio_id': 23426331, 'created_at': datetime.datetime(2025, 5, 28, 21, 57), 'result': '0.04972160447505189', 'result_long': None, 'result_double': None}] Qualite : 0.04972160447505189 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23426331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_28-05-2025_21_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23426331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_28-05-2025_21_57_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, 'pht': 3726}}" where mtr_portfolio_id = 23426331 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23426331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026854, 0.04972160447505189, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_28-05-2025_21_57_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23426903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979548, 'mtr_portfolio_id': 23426903, 'created_at': datetime.datetime(2025, 5, 28, 22, 13, 28), 'result': '0.05394339645795215', 'result_long': None, 'result_double': None}] Qualite : 0.05394339645795215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23426903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_28-05-2025_22_13_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23426903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_28-05-2025_22_13_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, 'pht': 3726}}" where mtr_portfolio_id = 23426903 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23426903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026855, 0.05394339645795215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_28-05-2025_22_13_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23427481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979627, 'mtr_portfolio_id': 23427481, 'created_at': datetime.datetime(2025, 5, 28, 22, 26, 58), 'result': '0.055438539560042174', 'result_long': None, 'result_double': None}] Qualite : 0.055438539560042174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23427481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_28-05-2025_22_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23427481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_28-05-2025_22_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, 'pht': 3726}}" where mtr_portfolio_id = 23427481 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23427481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026856, 0.055438539560042174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_28-05-2025_22_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23427999 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979740, 'mtr_portfolio_id': 23427999, 'created_at': datetime.datetime(2025, 5, 28, 22, 56, 29), 'result': '0.04740686443786978', 'result_long': None, 'result_double': None}] Qualite : 0.04740686443786978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23427999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_28-05-2025_22_56_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23427999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_28-05-2025_22_56_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, 'pht': 3726}}" where mtr_portfolio_id = 23427999 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23427999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026857, 0.04740686443786978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_28-05-2025_22_56_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23428568 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979930, 'mtr_portfolio_id': 23428568, 'created_at': datetime.datetime(2025, 5, 28, 23, 11, 57), 'result': '0.057960767192571115', 'result_long': None, 'result_double': None}] Qualite : 0.057960767192571115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23428568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_28-05-2025_23_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23428568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_28-05-2025_23_11_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, 'pht': 3726}}" where mtr_portfolio_id = 23428568 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23428568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026858, 0.057960767192571115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_28-05-2025_23_11_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23428761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2979983, 'mtr_portfolio_id': 23428761, 'created_at': datetime.datetime(2025, 5, 28, 23, 27), 'result': '0.07128512881051553', 'result_long': None, 'result_double': None}] Qualite : 0.07128512881051553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23428761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_28-05-2025_23_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23428761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_28-05-2025_23_27_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, 'pht': 3726}}" where mtr_portfolio_id = 23428761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23428761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026859, 0.07128512881051553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_28-05-2025_23_27_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23429050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2980073, 'mtr_portfolio_id': 23429050, 'created_at': datetime.datetime(2025, 5, 28, 23, 41, 58), 'result': '0.0641003443714948', 'result_long': None, 'result_double': None}] Qualite : 0.0641003443714948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_28-05-2025_23_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_28-05-2025_23_41_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, 'pht': 3726}}" where mtr_portfolio_id = 23429050 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23429050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026860, 0.0641003443714948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_28-05-2025_23_41_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23429379 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2980206, 'mtr_portfolio_id': 23429379, 'created_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'result': '0.041850747942346195', 'result_long': None, 'result_double': None}] Qualite : 0.041850747942346195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_28-05-2025_23_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_28-05-2025_23_56_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, 'pht': 3726}}" where mtr_portfolio_id = 23429379 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23429379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026861, 0.041850747942346195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_28-05-2025_23_56_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23429676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2980338, 'mtr_portfolio_id': 23429676, 'created_at': datetime.datetime(2025, 5, 29, 0, 11, 59), 'result': '0.023312111767794505', 'result_long': None, 'result_double': None}] Qualite : 0.023312111767794505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, 'pht': 3726}}" where mtr_portfolio_id = 23429676 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23429676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026862, 0.023312111767794505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23430028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2980437, 'mtr_portfolio_id': 23430028, 'created_at': datetime.datetime(2025, 5, 29, 1, 25, 58), 'result': '0.05384384359324366', 'result_long': None, 'result_double': None}] Qualite : 0.05384384359324366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23430028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23430028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, 'pht': 3726}}" where mtr_portfolio_id = 23430028 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23430028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026863, 0.05384384359324366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, '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 (23397772,23398051,23398303,23399179,23399344,23399686,23400106,23400427,23400761,23401154,23401510,23401873,23402106,23402440,23402734,23403490,23403648,23403911,23404230,23404712,23405129,23405492,23405806,23406291,23406782,23407058,23407390,23407757,23408183,23408565,23408918,23409657,23410368,23411041,23411222,23411634,23411947,23412231,23412706,23413181,23413509,23413927,23415509,23415614,23416210,23416630,23417059,23417365,23417708,23417977,23418390,23418851,23419247,23419604,23420019,23420326,23420654,23421006,23421668,23421795,23421957,23422300,23422770,23422994,23423248,23423625,23423891,23424282,23424761,23425537,23425614,23425878,23426331,23426903,23427481,23427999,23428568,23428761,23429050,23429379,23429676,23430028) result : ((1361412970,), (1361412973,), (1361412976,), (1361412978,), (1361413011,), (1361413012,), (1361413014,), (1361413016,), (1361413018,), (1361413022,), (1361413044,), (1361413046,), (1361413048,), (1361413081,), (1361413083,), (1361413086,), (1361413089,), (1361413094,), (1361413097,), (1361413115,), (1361413117,), (1361413120,), (1361413121,), (1361413124,), (1361413128,), (1361413147,), (1361413149,), (1361413151,), (1361413152,), (1361413154,), (1361413187,), (1361413195,), (1361413197,), (1361413199,), (1361413201,), (1361413203,), (1361413219,), (1361413221,), (1361413223,), (1361413225,), (1361413255,), (1361413258,), (1361413261,), (1361413264,), (1361413266,), (1361413268,), (1361413287,), (1361413291,), (1361413292,), (1361413315,), (1361413316,), (1361413317,), (1361413318,), (1361413340,), (1361413512,), (1361413509,), (1361413511,), (1361413543,), (1361413545,), (1361413546,), (1361413547,), (1361413548,), (1361413550,), (1361413572,), (1361413573,), (1361413574,), (1361413575,), (1361413576,), (1361413578,), (1361413603,), (1361413604,), (1361413605,), (1361413606,), (1361413640,), (1361413641,), (1361413642,), (1361413643,), (1361413647,), (1361413654,), (1361413678,), (1361413680,), (1361413682,), (1361413684,), (1361413686,), (1361413710,), (1361413712,), (1361413714,), (1361413716,), (1361413722,), (1361413758,), (1361413759,), (1361413760,), (1361413761,), (1361413762,), (1361413763,), (1361413786,), (1361413787,), (1361413788,), (1361413789,), (1361413818,), (1361413819,), (1361413820,), (1361413821,), (1361413822,), (1361413823,), (1361413847,), (1361413850,), (1361413852,), (1361413854,), (1361413878,), (1361413879,), (1361413880,), (1361413881,), (1361413905,), (1361413908,), (1361413909,), (1361413911,), (1361413913,), (1361413916,), (1361413937,), (1361413935,), (1361413936,), (1361413961,), (1361413962,), (1361413963,), (1361413992,), (1361413993,), (1361413994,), (1361413995,), (1361413996,), (1361414019,), (1361414020,), (1361414021,), (1361414022,), (1361414023,), (1361414032,), (1361414035,), (1361414037,), (1361419067,), (1361420894,), (1361420897,), (1361420919,), (1361420945,), (1361420966,), (1361420978,), (1361420984,), (1361420986,), (1361420987,), (1361420988,), (1361421007,), (1361421009,), (1361421012,), (1361421015,), (1361421037,), (1361421041,), (1361421044,), (1361421047,), (1361421050,), (1361421054,), (1361421081,), (1361421083,), (1361421084,), (1361421101,), (1361421105,), (1361421107,), (1361421110,), (1361421113,), (1361421115,), (1361421132,), (1361421134,), (1361421136,), (1361421138,), (1361421139,), (1361421157,), (1361421159,), (1361421161,), (1361421164,), (1361421165,), (1361421167,), (1361421183,), (1361421186,), (1361421224,), (1361421215,), (1361421217,), (1361421219,), (1361421250,), (1361421258,), (1361421260,), (1361421261,), (1361421262,), (1361421276,), (1361421279,), (1361421282,), (1361421306,), (1361421308,), (1361421331,), (1361421332,), (1361421335,), (1361421337,), (1361421338,), (1361421359,), (1361421361,), (1361421363,), (1361421365,), (1361421393,), (1361421395,), (1361421397,), (1361421400,), (1361421401,), (1361421408,), (1361421429,), (1361421431,), (1361421447,), (1361421449,), (1361421454,), (1361421460,), (1361421482,), (1361421485,), (1361421488,), (1361421492,), (1361421720,), (1361421819,), (1361421848,), (1361421874,), (1361421897,), (1361421928,), (1361422150,), (1361422175,), (1361422202,), (1361422439,), (1361422441,), (1361422443,), (1361422445,), (1361422446,), (1361422576,), (1361422603,), (1361422627,), (1361422654,), (1361422681,), (1361422750,), (1361422752,), (1361422775,), (1361422801,), (1361422827,), (1361422915,), (1361422883,), (1361422885,), (1361422887,), (1361422892,), (1361423170,), (1361423172,), (1361423174,), (1361423176,), (1361423197,), (1361423200,), (1361423203,), (1361423206,), (1361423227,), (1361423229,), (1361423231,), (1361423244,), (1361423249,), (1361423253,), (1361423255,), (1361423276,), (1361423314,), (1361423319,), (1361423322,), (1361423325,), (1361423339,), (1361423360,), (1361423407,), (1361423409,), (1361423411,), (1361423444,), (1361423446,), (1361423448,), (1361423450,), (1361423476,), (1361423479,), (1361423481,), (1361423483,), (1361423485,), (1361423503,), (1361423509,), (1361423511,), (1361423513,), (1361423527,), (1361423529,), (1361423531,), (1361423559,), (1361423563,), (1361423566,), (1361423568,), (1361423595,), (1361423588,), (1361423590,), (1361423592,), (1361423594,), (1361423615,), (1361423618,), (1361423621,), (1361423624,), (1361423626,), (1361423648,), (1361423649,), (1361423655,), (1361423682,), (1361423685,), (1361423687,), (1361423709,), (1361423711,), (1361423713,), (1361423714,), (1361423716,), (1361423718,), (1361423742,), (1361423744,), (1361423746,), (1361423748,), (1361423750,), (1361423776,), (1361423778,), (1361423780,), (1361423812,), (1361423820,), (1361423822,), (1361423824,), (1361423825,), (1361423826,), (1361424021,), (1361424048,), (1361424073,), (1361424099,), (1361424126,), (1361424149,), (1361424406,), (1361424434,), (1361424464,), (1361424494,), (1361424811,), (1361424814,), (1361424816,), (1361424818,), (1361424820,), (1361424821,), (1361424844,), (1361424861,), (1361424887,), (1361424940,), (1361425202,), (1361425204,), (1361425205,), (1361425207,), (1361425480,), (1361425510,), (1361425533,), (1361425558,), (1361425585,), (1361425646,), (1361425647,), (1361425649,), (1361425650,), (1361425653,), (1361425654,), (1361425658,), (1361425659,), (1361425662,), (1361425664,), (1361425673,), (1361425671,), (1361425697,), (1361425699,), (1361425700,), (1361425720,), (1361425727,), (1361425729,), (1361425731,), (1361425732,), (1361425734,), (1361425750,), (1361425753,), (1361425760,), (1361425761,), (1361425763,), (1361425764,), (1361425784,), (1361425786,), (1361425788,), (1361425812,), (1361425815,), (1361425817,), (1361425819,), (1361425820,), (1361425857,), (1361425860,), (1361425862,), (1361425869,), (1361425875,), (1361425877,), (1361425896,), (1361425898,), (1361425902,), (1361425908,), (1361425909,), (1361425929,), (1361425932,), (1361425935,), (1361425957,), (1361425960,), (1361425964,), (1361425968,), (1361425969,), (1361425971,), (1361425989,), (1361425991,), (1361425998,), (1361426001,), (1361426003,), (1361426026,), (1361426029,), (1361426032,), (1361426054,), (1361426057,), (1361426058,), (1361426060,), (1361426062,), (1361426063,), (1361426082,), (1361426084,), (1361426086,), (1361426088,), (1361426089,), (1361426108,), (1361426111,), (1361426113,), (1361426148,), (1361426135,), (1361426139,), (1361426142,), (1361426146,), (1361426147,), (1361426179,), (1361426181,), (1361426182,), (1361426183,), (1361426184,), (1361426185,), (1361426199,), (1361426201,), (1361426203,), (1361426204,), (1361426219,), (1361426220,), (1361426226,), (1361426232,), (1361426248,), (1361426249,), (1361426255,), (1361426258,), (1361426259,), (1361426260,), (1361426278,), (1361426281,), (1361426284,), (1361426285,), (1361426301,), (1361426313,), (1361426340,), (1361426366,), (1361426381,), (1361426390,), (1361426479,), (1361426480,), (1361426484,), (1361426491,), (1361426507,), (1361426508,), (1361426554,), (1361426555,), (1361426556,), (1361426584,), (1361426590,), (1361426592,), (1361426594,), (1361426596,), (1361426598,), (1361426614,), (1361426615,), (1361426616,), (1361426617,), (1361426645,), (1361426646,), (1361426648,), (1361426652,), (1361426659,), (1361426664,), (1361426666,), (1361426668,), (1361426714,), (1361426709,), (1361426711,), (1361426712,), (1361426713,), (1361426730,), (1361426732,), (1361426734,), (1361426736,), (1361426738,), (1361426757,), (1361426760,), (1361426761,), (1361426776,), (1361426783,), (1361426786,), (1361426789,), (1361426793,), (1361426795,), (1361426808,), (1361426812,), (1361426815,), (1361426818,), (1361426821,), (1361426844,), (1361426846,), (1361426848,), (1361426850,), (1361426867,), (1361426869,), (1361426871,), (1361426873,), (1361426874,), (1361426875,), (1361426888,), (1361426889,), (1361426890,), (1361426891,), (1361426893,), (1361426903,), (1361426921,), (1361426923,), (1361426928,), (1361426930,), (1361426947,), (1361426948,), (1361426949,), (1361426950,), (1361426951,), (1361426952,), (1361426980,), (1361426982,), (1361426983,), (1361426984,), (1361427002,), (1361427004,), (1361427005,), (1361427029,), (1361427032,), (1361427036,), (1361427037,), (1361427038,), (1361427050,), (1361427052,), (1361427053,), (1361427055,), (1361427056,), (1361427074,), (1361427071,), (1361427072,), (1361427073,), (1361427098,), (1361427107,), (1361427110,), (1361427111,), (1361427127,), (1361427131,), (1361427133,), (1361427134,), (1361427135,), (1361427136,), (1361427147,), (1361427148,), (1361427149,), (1361427150,), (1361427167,), (1361427169,), (1361427190,), (1361427192,), (1361427193,), (1361427194,), (1361427201,), (1361427205,), (1361427222,), (1361427223,), (1361427226,), (1361427249,), (1361427250,), (1361427251,), (1361427252,), (1361427254,), (1361427272,), (1361427273,), (1361427274,), (1361427275,), (1361427276,), (1361427293,), (1361427297,), (1361427301,), (1361427317,), (1361427318,), (1361427319,), (1361427321,), (1361427329,), (1361427331,), (1361427351,), (1361427353,), (1361427355,), (1361427357,), (1361427373,), (1361427374,), (1361427375,), (1361427376,), (1361427377,), (1361427378,), (1361427411,), (1361427412,), (1361427413,), (1361427414,), (1361427415,), (1361427416,), (1361427434,), (1361427561,), (1361427562,), (1361427563,), (1361427564,), (1361427580,), (1361427583,), (1361427585,), (1361427586,), (1361427587,), (1361427598,), (1361427601,), (1361427603,), (1361427604,), (1361427605,), (1361427624,), (1361427625,), (1361427630,), (1361427650,), (1361427651,), (1361427652,), (1361427653,), (1361427654,), (1361427676,), (1361427677,), (1361427678,), (1361427679,), (1361427704,), (1361427706,), (1361427709,), (1361427715,), (1361427716,), (1361427768,), (1361427772,), (1361427778,), (1361427801,), (1361427804,), (1361427805,), (1361427806,), (1361427807,), (1361427808,), (1361427831,), (1361427827,), (1361427829,), (1361427830,), (1361427849,), (1361427850,), (1361427851,), (1361427898,), (1361427899,), (1361427900,), (1361427906,), (1361427907,), (1361427908,), (1361427926,), (1361427927,), (1361427928,), (1361427929,), (1361427930,), (1361427950,), (1361427952,), (1361427953,), (1361427974,), (1361427975,), (1361427979,), (1361427980,), (1361428004,), (1361428005,), (1361428006,), (1361428007,), (1361428009,), (1361428017,), (1361428034,), (1361428036,), (1361428038,), (1361428058,), (1361428060,), (1361428062,), (1361428078,), (1361428081,), (1361428085,), (1361428095,), (1361428098,), (1361428100,), (1361428115,), (1361428116,), (1361428118,), (1361428149,), (1361428150,), (1361428151,), (1361428152,), (1361428153,), (1361428154,), (1361428171,), (1361428172,), (1361428173,), (1361428174,), (1361428175,), (1361428176,), (1361428197,), (1361428199,), (1361428201,), (1361428202,), (1361428220,), (1361428221,), (1361428222,), (1361428223,), (1361428224,), (1361428261,), (1361428254,), (1361428256,), (1361428258,), (1361428259,), (1361428260,), (1361428278,), (1361428279,), (1361428280,), (1361428297,), (1361428298,), (1361428299,), (1361428329,), (1361428330,), (1361428331,), (1361428332,), (1361428333,), (1361428353,), (1361428355,), (1361428357,), (1361428359,), (1361428361,), (1361428363,), (1361428380,), (1361428384,), (1361428387,), (1361428389,), (1361428390,), (1361428413,), (1361428416,), (1361428419,), (1361428422,), (1361428451,), (1361428455,), (1361428458,), (1361428461,), (1361428463,), (1361428481,), (1361428483,), (1361428485,), (1361428487,), (1361428508,), (1361428510,), (1361428512,), (1361428513,), (1361428515,), (1361428517,), (1361428537,), (1361428539,), (1361428541,), (1361428543,), (1361428562,), (1361428564,), (1361428566,), (1361428573,), (1361428576,), (1361428598,), (1361428601,), (1361428603,), (1361428605,), (1361428607,), (1361428626,), (1361428629,), (1361428631,), (1361428633,), (1361428635,), (1361428637,), (1361428657,), (1361428659,), (1361428661,), (1361428695,), (1361428684,), (1361428687,), (1361428689,), (1361428691,), (1361428693,), (1361428708,), (1361428763,), (1361430035,), (1361430064,), (1361430066,), (1361430090,), (1361430093,), (1361430096,), (1361430098,), (1361430118,), (1361430121,), (1361430143,), (1361430145,), (1361430215,), (1361430220,), (1361430269,), (1361430297,), (1361430294,), (1361430322,), (1361430326,), (1361430383,), (1361430386,), (1361430389,), (1361430391,), (1361430408,), (1361430572,), (1361430575,), (1361430578,), (1361430580,), (1361430615,), (1361430617,), (1361430619,), (1361430621,), (1361430623,), (1361430643,), (1361430645,), (1361430647,), (1361430651,), (1361430654,), (1361430692,), (1361430694,), (1361430696,), (1361430700,), (1361430710,), (1361430715,), (1361430739,), (1361430733,), (1361430735,), (1361430737,), (1361430774,), (1361430776,), (1361430779,), (1361430781,), (1361430782,), (1361430800,), (1361430802,), (1361430804,), (1361430806,), (1361430808,), (1361430824,), (1361430826,), (1361430828,), (1361430830,), (1361430832,), (1361430866,), (1361430869,), (1361430893,), (1361430896,), (1361430899,), (1361430901,), (1361430924,), (1361430927,), (1361430948,), (1361430952,), (1361430954,), (1361430976,), (1361430979,), (1361430981,), (1361430983,), (1361431001,), (1361431003,), (1361431034,), (1361431037,), (1361431039,), (1361431042,), (1361431046,), (1361431063,), (1361431065,), (1361431067,), (1361431069,), (1361431094,), (1361431097,), (1361431100,), (1361431103,), (1361431124,), (1361431126,), (1361431156,), (1361431158,), (1361431185,), (1361431179,), (1361431181,), (1361431183,), (1361431218,), (1361431221,), (1361431224,), (1361431227,), (1361431229,), (1361431247,), (1361431249,), (1361431251,), (1361431252,), (1361431255,), (1361431295,), (1361431298,), (1361431301,), (1361431303,), (1361431325,), (1361431545,), (1361431568,), (1361431603,), (1361431614,), (1361431686,), (1361431718,), (1361431752,), (1361431755,), (1361431759,), (1361431783,), (1361431785,), (1361431787,), (1361431806,), (1361431810,), (1361431812,), (1361431814,), (1361431843,), (1361431845,), (1361431962,), (1361431986,), (1361431988,), (1361431990,), (1361432014,), (1361432016,), (1361432018,), (1361432021,), (1361432047,), (1361432048,), (1361432051,), (1361432057,), (1361432059,), (1361432061,), (1361432157,), (1361432186,), (1361432320,), (1361432322,), (1361432351,), (1361432343,), (1361432345,), (1361432347,), (1361432349,), (1361432369,), (1361432371,), (1361432376,), (1361432408,), (1361432410,), (1361432413,), (1361432416,), (1361432435,), (1361432436,), (1361432440,), (1361432452,), (1361432454,), (1361432456,), (1361432458,), (1361432647,), (1361432656,), (1361432675,), (1361432682,), (1361432703,), (1361432711,), (1361432745,), (1361432748,), (1361432750,), (1361432752,), (1361432754,), (1361432772,), (1361432775,), (1361432778,), (1361432780,), (1361432782,), (1361432784,), (1361432800,), (1361432802,), (1361432805,), (1361432833,), (1361432834,), (1361432836,), (1361432839,), (1361432841,), (1361432843,), (1361432867,), (1361432869,), (1361432870,), (1361432872,), (1361432874,), (1361432893,), (1361432899,), (1361432902,), (1361432904,), (1361432905,), (1361432926,), (1361432930,), (1361432933,), (1361432935,), (1361432938,), (1361432945,), (1361432964,), (1361432966,), (1361432968,), (1361432970,), (1361432984,), (1361432987,), (1361432989,), (1361432993,), (1361432997,), (1361433030,), (1361433017,), (1361433019,), (1361433021,), (1361433049,), (1361433051,), (1361433053,), (1361433055,), (1361433057,), (1361433062,), (1361433095,), (1361433100,), (1361433103,), (1361433107,), (1361433110,), (1361433112,), (1361433128,), (1361433130,), (1361433132,), (1361433152,), (1361433155,), (1361433158,), (1361433160,), (1361433162,), (1361433180,), (1361433187,), (1361433189,), (1361433191,), (1361433193,), (1361433196,), (1361433218,), (1361433226,), (1361433230,), (1361433232,), (1361433258,), (1361433260,), (1361433262,), (1361433264,), (1361433266,), (1361433289,), (1361433292,), (1361433294,), (1361433297,), (1361433301,), (1361433322,), (1361433325,), (1361433328,), (1361433331,), (1361433333,), (1361433365,), (1361433367,), (1361433370,), (1361433373,), (1361433374,), (1361433394,), (1361433396,), (1361433398,), (1361433400,), (1361433401,), (1361433404,), (1361433424,), (1361433426,), (1361433428,), (1361433429,), (1361433480,), (1361433483,), (1361433486,), (1361433487,), (1361433493,), (1361433494,), (1361433496,), (1361433497,), (1361433499,), (1361433501,), (1361433503,), (1361433506,), (1361433509,), (1361433512,), (1361433527,), (1361433520,), (1361433522,), (1361433524,), (1361433526,), (1361433547,), (1361433549,), (1361433551,), (1361433573,), (1361433576,), (1361433578,), (1361433600,), (1361433602,), (1361433604,), (1361433606,), (1361433609,), (1361433631,), (1361433634,), (1361433636,), (1361433639,), (1361433641,), (1361433662,), (1361433664,), (1361433666,), (1361433687,), (1361433690,), (1361433692,), (1361433694,), (1361433701,), (1361433702,), (1361433721,), (1361433723,), (1361433725,), (1361433731,), (1361433751,), (1361433753,), (1361433755,), (1361433757,), (1361433777,), (1361433779,), (1361433781,), (1361433782,), (1361433785,), (1361433786,), (1361433805,), (1361433807,), (1361433809,), (1361433811,), (1361433820,), (1361433852,), (1361433855,), (1361433856,), (1361433858,), (1361433860,), (1361433862,), (1361433897,), (1361433901,), (1361433903,), (1361433906,), (1361433908,), (1361433933,), (1361433937,), (1361433941,), (1361433943,), (1361433946,), (1361433965,), (1361433967,), (1361433970,), (1361433973,), (1361433976,), (1361434013,), (1361434001,), (1361434004,), (1361434006,), (1361434007,), (1361434011,), (1361434035,), (1361434037,), (1361434039,), (1361434044,), (1361434062,), (1361434064,), (1361434066,), (1361434068,), (1361434089,), (1361434092,), (1361434094,), (1361434096,), (1361434098,), (1361434125,), (1361434127,), (1361434129,), (1361434131,), (1361434342,), (1361434366,), (1361434393,), (1361434419,), (1361434433,), (1361434533,), (1361434535,), (1361434537,), (1361434779,), (1361434789,), (1361434820,), (1361434832,), (1361434912,), (1361434915,), (1361434917,), (1361434919,), (1361434953,), (1361434957,), (1361435118,), (1361435146,), (1361435264,), (1361435267,), (1361435270,), (1361435297,), (1361435303,), (1361435305,), (1361435307,), (1361435309,), (1361435311,), (1361435330,), (1361435335,), (1361435358,), (1361435360,), (1361435362,), (1361435367,), (1361435371,), (1361435679,), (1361435623,), (1361435653,), (1361435811,), (1361435813,), (1361435815,), (1361435845,), (1361435871,), (1361435983,), (1361436000,), (1361436030,), (1361436059,), (1361436081,), (1361436083,), (1361436180,), (1361436208,), (1361436236,), (1361436255,), (1361436258,), (1361436261,), (1361436270,), (1361436277,), (1361436281,), (1361436306,), (1361436312,), (1361436316,), (1361436321,), (1361436324,), (1361436326,), (1361436350,), (1361436353,), (1361436355,), (1361436385,), (1361436388,), (1361436390,), (1361436392,), (1361436394,), (1361436429,), (1361436431,), (1361436433,), (1361436476,), (1361436479,), (1361436482,), (1361436532,), (1361436538,), (1361436541,), (1361436549,), (1361436571,), (1361436573,), (1361436575,), (1361436604,), (1361436606,), (1361436608,), (1361436610,), (1361436612,), (1361436637,), (1361436640,), (1361436643,), (1361436645,), (1361436647,), (1361436674,), (1361436676,), (1361436678,), (1361436680,), (1361436682,), (1361436684,), (1361436730,), (1361436725,), (1361436727,), (1361436761,), (1361436765,), (1361436767,), (1361436795,), (1361436798,), (1361436801,), (1361436946,), (1361436950,), (1361436953,), (1361436988,), (1361436990,), (1361436992,), (1361436994,), (1361437019,), (1361437022,), (1361437023,), (1361437049,), (1361437051,), (1361437114,), (1361437117,), (1361437149,), (1361437151,), (1361437153,), (1361437155,), (1361437157,), (1361437159,), (1361437222,), (1361437226,), (1361437232,), (1361437235,), (1361437236,), (1361437244,), (1361437274,), (1361437263,), (1361437265,), (1361437267,), (1361437269,), (1361437272,), (1361437300,), (1361437311,), (1361437339,), (1361437341,), (1361437345,), (1361437347,), (1361437395,), (1361437398,), (1361437401,), (1361437404,), (1361437437,), (1361437440,), (1361437443,), (1361437481,), (1361437483,), (1361437485,), (1361437487,), (1361437489,), (1361437524,), (1361437529,), (1361437533,), (1361437535,), (1361437564,), (1361437566,), (1361437568,), (1361437570,), (1361437572,), (1361437574,), (1361437604,), (1361437610,), (1361437615,), (1361437652,), (1361437656,), (1361437658,), (1361437660,), (1361437663,), (1361437667,), (1361437695,), (1361437698,), (1361437700,), (1361437747,), (1361437750,), (1361437753,), (1361437755,), (1361437757,), (1361437759,), (1361437789,), (1361437792,), (1361437795,), (1361437798,), (1361437800,), (1361437828,), (1361437831,), (1361437833,), (1361437866,), (1361437870,), (1361437874,), (1361437877,), (1361437879,), (1361437882,), (1361437943,), (1361437923,), (1361437933,), (1361437935,), (1361437938,), (1361437940,), (1361437971,), (1361437974,), (1361437977,), (1361437980,), (1361438015,), (1361438019,), (1361438022,), (1361438025,), (1361438027,), (1361438029,), (1361438060,), (1361438063,), (1361438065,), (1361438105,), (1361438107,), (1361438109,), (1361438151,), (1361438153,), (1361438194,), (1361438205,), (1361438211,), (1361438271,), (1361438274,), (1361438280,), (1361438334,), (1361438376,), (1361438379,), (1361438382,), (1361438385,), (1361438388,), (1361438432,), (1361438437,), (1361438475,), (1361438479,), (1361438481,), (1361438483,), (1361438485,), (1361438487,), (1361438512,), (1361438515,), (1361438517,), (1361438519,), (1361438522,), (1361438557,), (1361438559,), (1361438562,), (1361438586,), (1361438768,), (1361438771,), (1361438775,), (1361438804,), (1361438834,), (1361438858,), (1361439049,), (1361439024,), (1361439033,), (1361439035,), (1361439038,), (1361439042,), (1361439079,), (1361439083,), (1361439086,), (1361439088,), (1361439090,), (1361439119,), (1361439123,), (1361439127,), (1361439130,), (1361439168,), (1361439173,), (1361439175,), (1361439177,), (1361439179,), (1361439196,), (1361439200,), (1361439203,), (1361439207,), (1361439214,), (1361439221,), (1361439264,), (1361439272,), (1361439278,), (1361439324,), (1361439329,), (1361439331,), (1361439334,), (1361439337,), (1361439341,), (1361439372,), (1361439377,), (1361439380,), (1361439384,), (1361439387,), (1361439656,), (1361439686,), (1361439711,), (1361439738,), (1361439766,), (1361439793,), (1361440076,), (1361440109,), (1361440138,), (1361440403,), (1361440408,), (1361440411,), (1361440413,), (1361440420,), (1361440547,), (1361440552,), (1361440554,), (1361440557,), (1361440602,), (1361440605,), (1361440609,), (1361440611,), (1361440612,), (1361440892,), (1361440919,), (1361441461,), (1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,), (1361442446,), (1361442449,), (1361442451,), (1361442488,), (1361442491,), (1361442492,), (1361442495,), (1361442499,), (1361442503,), (1361442524,), (1361442527,), (1361442531,), (1361442533,), (1361442573,), (1361442577,), (1361442580,), (1361442583,), (1361442586,), (1361442589,), (1361442615,), (1361442619,), (1361442622,), (1361442625,), (1361442628,), (1361442675,), (1361442679,), (1361442682,), (1361442684,), (1361442685,), (1361442715,), (1361442718,), (1361442721,), (1361442724,), (1361442726,), (1361442760,), (1361442763,), (1361442766,), (1361442769,), (1361442772,), (1361442807,), (1361442810,), (1361442813,), (1361442816,), (1361442877,), (1361442881,), (1361442884,), (1361442887,), (1361442890,), (1361442923,), (1361442927,), (1361442929,), (1361442932,), (1361442935,), (1361442975,), (1361442980,), (1361442982,), (1361442984,), (1361442986,), (1361442989,), (1361443022,), (1361443026,), (1361443028,), (1361443030,), (1361443033,), (1361443070,), (1361443073,), (1361443075,), (1361443077,), (1361443079,), (1361443108,), (1361443111,), (1361443114,), (1361443117,), (1361443156,), (1361443151,), (1361443154,), (1361443250,), (1361443391,), (1361443436,), (1361443438,), (1361443440,), (1361443448,), (1361443453,), (1361443569,), (1361443573,), (1361443576,), (1361443578,), (1361443587,), (1361443677,), (1361443681,), (1361443684,), (1361443738,), (1361443742,), (1361443781,), (1361443789,), (1361443792,), (1361443857,), (1361443902,), (1361443907,), (1361443910,), (1361444073,), (1361444099,), (1361444128,), (1361444365,), (1361444411,), (1361444449,), (1361444583,), (1361444900,), (1361444995,), (1361445024,), (1361445043,), (1361445156,), (1361445162,), (1361445165,), (1361445296,), (1361445324,), (1361445349,), (1361445362,), (1361445364,), (1361445592,), (1361445586,), (1361445589,), (1361445636,), (1361445640,), (1361445673,), (1361445676,), (1361445678,), (1361445680,), (1361445683,), (1361445711,), (1361445714,), (1361445717,), (1361445723,), (1361445724,), (1361445737,), (1361445741,), (1361445745,), (1361445747,), (1361445791,), (1361447382,), (1361450528,), (1361449920,), (1361450517,), (1361450521,), (1361450523,), (1361450525,), (1361450562,), (1361450566,), (1361450569,), (1361450607,), (1361450612,), (1361450616,), (1361450618,), (1361450648,), (1361450652,), (1361450655,), (1361450658,), (1361450660,), (1361450706,), (1361450708,), (1361450710,), (1361450751,), (1361450754,), (1361450757,), (1361450762,), (1361450768,), (1361450790,), (1361450792,), (1361450794,), (1361450801,), (1361450804,), (1361450813,), (1361450837,), (1361450841,), (1361450844,), (1361450847,), (1361450908,), (1361450911,), (1361450913,), (1361450952,), (1361451614,), (1361451657,), (1361451661,), (1361451666,), (1361451672,), (1361451720,), (1361451724,), (1361451770,), (1361451779,), (1361451782,), (1361451787,), (1361451791,), (1361451821,), (1361451823,), (1361451828,), (1361451830,), (1361451832,), (1361451859,), (1361451864,), (1361451867,), (1361451909,), (1361451913,), (1361451915,), (1361451917,), (1361451920,), (1361451954,), (1361451957,), (1361451960,), (1361451964,), (1361452002,), (1361452006,), (1361452009,), (1361452042,), (1361452048,), (1361452050,), (1361452056,), (1361452060,), (1361452091,), (1361452099,), (1361452103,), (1361452107,), (1361452177,), (1361452135,), (1361452138,), (1361452151,), (1361452174,), (1361452204,), (1361452209,), (1361452213,), (1361452216,), (1361452246,), (1361452250,), (1361452255,), (1361452301,), (1361452311,), (1361452315,), (1361452328,), (1361452340,), (1361452390,), (1361452394,), (1361452427,), (1361452524,), (1361452527,), (1361452570,), (1361452586,), (1361452597,), (1361452600,), (1361452632,), (1361452636,), (1361452640,), (1361452643,), (1361452680,), (1361452683,), (1361452684,), (1361452688,), (1361452691,), (1361452744,), (1361452747,), (1361452749,), (1361452752,), (1361452816,), (1361452820,), (1361452822,), (1361453013,), (1361453037,), (1361453041,), (1361453050,), (1361453057,), (1361453145,), (1361453153,), (1361453161,), (1361453177,), (1361453518,), (1361453530,), (1361453733,), (1361454772,), (1361454821,), (1361455596,), (1361455755,), (1361455772,), (1361455775,), (1361455789,), (1361455943,), (1361455954,), (1361455969,), (1361456114,), (1361456290,), (1361456311,), (1361456327,), (1361456343,), (1361456468,), (1361456483,), (1361456498,), (1361456675,), (1361456657,), (1361456870,), (1361456887,), (1361456903,), (1361456919,), (1361456929,), (1361457021,), (1361457043,), (1361457201,), (1361457211,), (1361457219,), (1361457339,), (1361457362,), (1361457388,), (1361457400,), (1361457414,), (1361457618,), (1361457642,), (1361457657,), (1361457873,), (1361457901,), (1361457928,), (1361457957,), (1361457981,), (1361457991,), (1361458188,), (1361458215,), (1361458249,), (1361458271,), (1361458562,), (1361458578,), (1361458586,), (1361458600,), (1361458876,), (1361458899,), (1361458934,), (1361460010,), (1361460029,), (1361460058,), (1361460368,), (1361460418,), (1361460440,), (1361460482,), (1361460791,), (1361460821,), (1361461194,), (1361461112,), (1361461127,), (1361461142,), (1361461157,), (1361461479,), (1361461519,), (1361461775,), (1361461791,), (1361461795,), (1361461945,), (1361461986,), (1361462009,), (1361462155,), (1361462170,), (1361462200,), (1361462216,), (1361462244,), (1361462261,), (1361462485,), (1361462521,), (1361462563,), (1361462613,), (1361462653,), (1361462880,), (1361462890,), (1361462906,), (1361462909,), (1361462931,), (1361463062,), (1361463068,), (1361463087,), (1361463103,), (1361463115,), (1361463230,), (1361463236,), (1361463257,), (1361463266,), (1361463440,), (1361463478,), (1361463660,), (1361463676,), (1361463685,), (1361463700,), (1361463808,), (1361463854,), (1361463858,), (1361463874,), (1361463927,), (1361463929,), (1361463932,), (1361463953,), (1361464007,), (1361464011,), (1361464015,), (1361464020,), (1361464064,), (1361464263,), (1361464265,), (1361464273,), (1361464278,), (1361464292,), (1361464596,), (1361464630,), (1361464664,), (1361464692,), (1361464719,), (1361464964,), (1361464967,), (1361464971,), (1361464973,), (1361464975,), (1361464978,), (1361465001,), (1361465005,), (1361465009,), (1361465068,), (1361465078,), (1361465081,), (1361465083,), (1361465124,), (1361465126,), (1361465128,), (1361465134,), (1361465137,), (1361465185,), (1361465189,), (1361465192,), (1361465384,), (1361465393,), (1361465564,), (1361465599,), (1361465615,), (1361465620,), (1361465634,), (1361465638,), (1361465803,), (1361465806,), (1361465808,), (1361465823,), (1361465850,), (1361465914,), (1361465917,), (1361465920,), (1361465923,), (1361465958,), (1361465965,), (1361465968,), (1361465972,), (1361466080,), (1361466085,), (1361466089,), (1361466095,), (1361466098,), (1361466102,), (1361466106,), (1361466148,), (1361466141,), (1361466202,), (1361466205,), (1361466207,), (1361466209,), (1361466212,), (1361466217,), (1361466244,), (1361466247,), (1361466254,), (1361466258,), (1361466261,), (1361466265,), (1361466332,), (1361466339,), (1361466344,), (1361466349,), (1361466356,), (1361466387,), (1361466394,), (1361466401,), (1361466414,), (1361466529,), (1361466532,), (1361466534,), (1361466536,), (1361466580,), (1361466585,), (1361466589,), (1361466626,), (1361466632,), (1361466638,), (1361466642,), (1361466644,), (1361466670,), (1361466675,), (1361466681,), (1361466717,), (1361466720,), (1361466722,), (1361466724,), (1361466727,), (1361466764,), (1361466770,), (1361466778,), (1361466806,), (1361466815,), (1361466823,), (1361466833,), (1361466867,), (1361466872,), (1361466913,), (1361466917,), (1361466955,), (1361467023,), (1361467011,), (1361467014,), (1361467017,), (1361467020,), (1361467064,), (1361467070,), (1361467073,), (1361467074,), (1361467076,), (1361467079,), (1361467107,), (1361467111,), (1361467113,), (1361467115,), (1361467148,), (1361467152,), (1361467154,), (1361467160,), (1361467162,), (1361467166,), (1361467196,), (1361467204,), (1361467209,), (1361467214,), (1361467219,), (1361467222,), (1361467315,), (1361467321,), (1361467324,), (1361467328,), (1361467332,), (1361467335,), (1361467478,), (1361467482,), (1361467488,), (1361467650,), (1361467655,), (1361467658,), (1361467661,), (1361467768,), (1361467772,), (1361467775,), (1361467791,), (1361467821,), (1361467822,), (1361467824,), (1361467962,), (1361467977,), (1361467988,), (1361468183,), (1361468200,), (1361468204,), (1361468226,), (1361468242,), (1361468358,), (1361468374,), (1361468387,), (1361468405,), (1361468421,), (1361468432,), (1361468561,), (1361468582,), (1361468599,), (1361468615,), (1361468630,), (1361468789,), (1361468805,), (1361468807,), (1361468819,), (1361469061,), (1361468990,), (1361469007,), (1361469020,), (1361469024,), (1361469040,), (1361469218,), (1361469234,), (1361469248,), (1361469302,), (1361469317,), (1361469450,), (1361469467,), (1361469482,), (1361469671,), (1361469686,), (1361469700,), (1361469718,), (1361469732,), (1361469892,), (1361469900,), (1361469917,), (1361469946,), (1361470117,), (1361470135,), (1361470157,), (1361470346,), (1361470361,), (1361470375,), (1361470383,), (1361470529,), (1361470539,), (1361470554,), (1361470569,), (1361470736,), (1361470937,), (1361470952,), (1361470968,), (1361471199,), (1361471297,), (1361471318,), (1361471349,), (1361471593,), (1361471610,), (1361471635,), (1361471650,), (1361471831,), (1361471848,), (1361471865,), (1361471882,), (1361472076,), (1361472094,), (1361472109,), (1361472125,), (1361472140,), (1361472155,), (1361472314,), (1361472332,), (1361472348,), (1361472522,), (1361492569,), (1361492572,), (1361492575,), (1361492619,), (1361492659,), (1361492663,), (1361492710,), (1361492751,), (1361492791,), (1361492796,), (1361492800,), (1361492804,), (1361492808,), (1361492834,), (1361492831,), (1361492869,), (1361492872,), (1361493010,), (1361493052,), (1361493056,), (1361493059,), (1361493062,), (1361493065,), (1361493098,), (1361493101,), (1361493104,), (1361493108,), (1361493134,), (1361493138,), (1361493142,), (1361493146,), (1361493150,), (1361493179,), (1361493184,), (1361493187,), (1361493189,), (1361493191,), (1361493224,), (1361493228,), (1361493267,), (1361493271,), (1361493275,), (1361493278,), (1361493283,), (1361493319,), (1361493323,), (1361493326,), (1361493328,), (1361493330,), (1361493334,), (1361493363,), (1361493366,), (1361493368,), (1361493371,), (1361493377,), (1361493406,), (1361493409,), (1361493411,), (1361493447,), (1361493466,), (1361493471,), (1361494248,), (1361494401,), (1361494403,), (1361494432,), (1361494499,), (1361494503,), (1361494506,), (1361494517,), (1361494545,), (1361494577,), (1361494841,), (1361494921,), (1361494951,), (1361494979,), (1361495008,), (1361495303,), (1361495307,), (1361495309,), (1361495331,), (1361495336,), (1361495346,), (1361495352,), (1361495363,), (1361495369,), (1361495396,), (1361495400,), (1361495402,), (1361495404,), (1361495408,), (1361495412,), (1361495437,), (1361495442,), (1361495445,), (1361495449,), (1361495543,), (1361495552,), (1361495568,), (1361495582,), (1361495587,), (1361495665,), (1361495698,), (1361495726,), (1361495751,), (1361495758,), (1361495858,), (1361495864,), (1361495929,), (1361496124,), (1361496127,), (1361496134,), (1361496146,), (1361496189,), (1361496198,), (1361496201,), (1361496203,), (1361496209,), (1361496212,), (1361496234,), (1361496238,), (1361496243,), (1361496246,), (1361496307,), (1361496309,), (1361496311,), (1361496313,), (1361496315,), (1361496318,), (1361496327,), (1361496328,), (1361496333,), (1361496375,), (1361496361,), (1361496367,), (1361496371,), (1361496929,), (1361496933,), (1361496937,), (1361496948,), (1361496985,), (1361496991,), (1361496994,), (1361496998,), (1361497003,), (1361497034,), (1361497035,), (1361497036,), (1361497037,), (1361497038,), (1361497039,), (1361497056,), (1361497061,), (1361497148,), (1361497185,), (1361497189,), (1361497193,), (1361497237,), (1361497242,), (1361497247,), (1361497283,), (1361497332,), (1361497337,), (1361497340,), (1361497345,), (1361497387,), (1361497396,), (1361497399,), (1361497402,), (1361497438,), (1361497444,), (1361497448,), (1361497451,), (1361497481,), (1361497489,), (1361497494,), (1361497496,), (1361497498,), (1361497504,), (1361497507,), (1361497511,), (1361497515,), (1361497520,), (1361497525,), (1361497532,), (1361497535,), (1361497538,), (1361497539,), (1361497542,), (1361497589,), (1361497595,), (1361497599,), (1361497602,), (1361497631,), (1361497635,), (1361497637,), (1361497641,), (1361497645,), (1361497721,), (1361497737,), (1361497749,), (1361497946,), (1361497962,), (1361497978,), (1361497996,), (1361498014,), (1361498220,), (1361498248,), (1361498273,), (1361498282,), (1361498298,), (1361498316,), (1361498692,), (1361498565,), (1361498661,), (1361498670,), (1361498926,), (1361498945,), (1361498965,), (1361499180,), (1361499191,), (1361499201,), (1361499217,), (1361499239,), (1361499392,), (1361499413,), (1361499433,), (1361499448,), (1361499465,), (1361499604,), (1361499618,), (1361499632,), (1361499646,), (1361499654,), (1361500019,), (1361500068,), (1361500099,), (1361500126,), (1361500417,), (1361500447,), (1361500475,), (1361500793,), (1361500829,), (1361500860,), (1361500892,), (1361500923,), (1361501191,), (1361501227,), (1361501251,), (1361501547,), (1361501570,), (1361501606,), (1361501937,), (1361501966,), (1361501988,), (1361502015,), (1361502041,), (1361502305,), (1361502327,), (1361502353,), (1361502391,), (1361502419,), (1361502693,), (1361502716,), (1361502733,), (1361502764,), (1361503032,), (1361503057,), (1361503091,), (1361503122,), (1361503147,), (1361503407,), (1361503434,), (1361503463,), (1361503491,), (1361503518,), (1361503918,), (1361503809,), (1361503857,), (1361503897,), (1361504196,), (1361504229,), (1361504250,), (1361504280,), (1361504310,), (1361504581,), (1361504603,), (1361504636,), (1361504651,), (1361504673,), (1361504698,), (1361504971,), (1361504997,), (1361505025,), (1361505350,), (1361505385,), (1361505412,), (1361505432,), (1361505451,), (1361505479,), (1361505731,), (1361505758,), (1361505787,), (1361505826,), (1361505853,), (1361506112,), (1361506209,), (1361506235,), (1361506256,), (1361506469,), (1361506486,), (1361506507,), (1361506533,), (1361506567,), (1361506865,), (1361506902,), (1361506931,), (1361506952,), (1361506987,), (1361507251,), (1361507278,), (1361507310,), (1361507649,), (1361507683,), (1361507715,), (1361507723,), (1361507749,), (1361507769,), (1361507988,), (1361508012,), (1361508040,), (1361508064,), (1361508081,), (1361508121,), (1361508346,), (1361508385,), (1361508425,), (1361509074,), (1361509097,), (1361509126,), (1361509154,), (1361509183,), (1361509210,), (1361509291,), (1361509325,), (1361509354,), (1361509379,), (1361509511,), (1361509486,), (1361509851,), (1361510207,), (1361510241,), (1361510268,), (1361510295,), (1361510577,), (1361510610,), (1361510651,), (1361510675,), (1361510972,), (1361510996,), (1361511018,), (1361511046,), (1361511079,), (1361511339,), (1361511358,), (1361511386,), (1361511724,), (1361511758,), (1361511784,), (1361511818,), (1361511845,), (1361511890,), (1361512129,), (1361512162,), (1361512190,), (1361512213,), (1361512262,), (1361512638,), (1361512679,), (1361512728,), (1361513084,), (1361513122,), (1361513162,), (1361513176,), (1361513185,), (1361513194,), (1361513416,), (1361513431,), (1361513444,), (1361513466,), (1361513492,), (1361513730,), (1361513769,), (1361513787,), (1361514319,), (1361514367,), (1361514398,), (1361514423,), (1361514452,), (1361514742,), (1361514771,), (1361514792,), (1361514816,), (1361514846,), (1361514872,), (1361515124,), (1361515149,), (1361515182,), (1361515596,), (1361515499,), (1361515544,), (1361515570,), (1361515908,), (1361515948,), (1361515953,), (1361516290,), (1361516318,), (1361516347,), (1361516398,), (1361516456,), (1361516825,), (1361516919,), (1361516945,), (1361516970,), (1361517504,), (1361517527,), (1361517552,), (1361517582,), (1361517653,), (1361517983,), (1361518018,), (1361518039,), (1361518065,), (1361518098,), (1361518418,), (1361518452,), (1361518516,), (1361518826,), (1361518855,), (1361518891,), (1361518918,), (1361518945,), (1361519202,), (1361519218,), (1361519249,), (1361519275,), (1361519313,), (1361519581,), (1361519609,), (1361519625,), (1361519657,), (1361519686,), (1361519714,), (1361519941,), (1361519991,), (1361520029,), (1361520356,), (1361520725,), (1361520749,), (1361520790,), (1361520839,), (1361521408,), (1361521443,), (1361521459,), (1361521487,), (1361521525,), (1361521886,), (1361521914,), (1361521946,), (1361522419,), (1361522371,), (1361522387,), (1361522404,), (1361522582,), (1361522610,), (1361522634,), (1361522643,), (1361522873,), (1361522890,), (1361522906,), (1361522916,), (1361523084,), (1361523100,), (1361523115,), (1361523129,), (1361523144,), (1361523154,), (1361523284,), (1361523298,), (1361523312,), (1361523325,), (1361523479,), (1361523497,), (1361523514,), (1361523526,), (1361523540,), (1361523719,), (1361523730,), (1361523739,), (1361523752,), (1361523761,), (1361523781,), (1361524002,), (1361524019,), (1361524030,), (1361524320,), (1361524325,), (1361524327,), (1361524329,), (1361524331,), (1361524334,), (1361524393,), (1361524398,), (1361524402,), (1361524406,), (1361524410,), (1361524414,), (1361524444,), (1361524450,), (1361524453,), (1361524494,), (1361524498,), (1361524502,), (1361524506,), (1361524511,), (1361524551,), (1361524557,), (1361524562,), (1361524570,), (1361524581,), (1361524590,), (1361524626,), (1361524628,), (1361524635,), (1361524644,), (1361524684,), (1361524692,), (1361524696,), (1361524699,), (1361524702,), (1361524704,), (1361524843,), (1361524837,), (1361524841,), (1361524874,), (1361524878,), (1361524928,), (1361524932,), (1361524935,), (1361524937,), (1361524980,), (1361524984,), (1361524989,), (1361524993,), (1361524996,), (1361525023,), (1361525028,), (1361525030,), (1361525033,), (1361525037,), (1361525077,), (1361525080,), (1361525082,), (1361525085,), (1361525117,), (1361525122,), (1361525125,), (1361525187,), (1361525205,), (1361525216,), (1361525226,), (1361525255,), (1361525296,), (1361525327,), (1361525381,), (1361525434,), (1361525549,), (1361525816,), (1361525823,), (1361525825,), (1361525839,), (1361525869,), (1361525989,), (1361525993,), (1361525996,), (1361525999,), (1361526002,), (1361526005,), (1361526043,), (1361526048,), (1361526051,), (1361526096,), (1361526101,), (1361526105,), (1361526114,), (1361526122,), (1361526196,), (1361526203,), (1361526204,), (1361526216,), (1361526224,), (1361526230,), (1361526268,), (1361526257,), (1361526262,), (1361526265,), (1361526300,), (1361526308,), (1361526311,), (1361526314,), (1361526318,), (1361526321,), (1361526347,), (1361526353,), (1361526361,), (1361526408,), (1361526412,), (1361526414,), (1361526501,), (1361526505,), (1361526966,), (1361526981,), (1361526989,), (1361526991,), (1361526994,), (1361527082,), (1361527087,), (1361527090,), (1361527221,), (1361527239,), (1361527258,), (1361527276,), (1361527285,), (1361527421,), (1361527437,), (1361527453,), (1361527470,), (1361527491,), (1361527508,), (1361527672,), (1361527683,), (1361527700,), (1361527716,), (1361527849,), (1361527858,), (1361527873,), (1361527883,), (1361527893,), (1361527909,), (1361528038,), (1361528053,), (1361528067,), (1361528085,), (1361528103,), (1361528119,), (1361528280,), (1361528270,), (1361528497,), (1361528522,), (1361528538,), (1361528553,), (1361528570,), (1361528580,), (1361528708,), (1361528725,), (1361528735,), (1361528750,), (1361528771,), (1361528787,), (1361528920,), (1361528932,), (1361528949,), (1361529133,), (1361529155,), (1361529170,), (1361529191,), (1361529201,), (1361529210,), (1361529337,), (1361529357,), (1361529375,), (1361529386,), (1361529406,), (1361529428,), (1361529564,), (1361529580,), (1361529599,), (1361529614,), (1361529772,), (1361529791,), (1361529810,), (1361529827,), (1361529849,), (1361529862,), (1361529982,), (1361529991,), (1361530001,), (1361530016,), (1361530031,), (1361530054,), (1361530189,), (1361530195,), (1361530198,), (1361530365,), (1361530396,), (1361530426,), (1361530436,), (1361530466,), (1361530614,), (1361530629,), (1361530639,), (1361530659,), (1361530930,), (1361530947,), (1361530982,), (1361531004,), (1361531031,), (1361531185,), (1361531201,), (1361531210,), (1361531228,), (1361531243,), (1361531264,), (1361531407,), (1361531680,), (1361531632,), (1361531647,), (1361531663,), (1361532072,), (1361532088,), (1361532097,), (1361532112,), (1361532256,), (1361532270,), (1361532285,), (1361532301,), (1361532460,), (1361532476,), (1361532491,), (1361532506,), (1361532527,), (1361532659,), (1361532676,), (1361532687,), (1361532701,), (1361532715,), (1361532730,), (1361532856,), (1361532883,), (1361532912,), (1361532927,), (1361533071,), (1361533086,), (1361533101,), (1361533116,), (1361533132,), (1361533284,), (1361533300,), (1361533310,), (1361533327,), (1361533344,), (1361533355,), (1361533470,), (1361533492,), (1361533509,), (1361533525,), (1361533682,), (1361533691,), (1361533719,), (1361533734,), (1361533886,), (1361533902,), (1361533923,), (1361533938,), (1361533950,), (1361533966,), (1361534057,), (1361534061,), (1361534075,), (1361534089,), (1361534254,), (1361534272,), (1361534290,), (1361534312,), (1361534333,), (1361534348,), (1361534491,), (1361534510,), (1361534531,), (1361534545,), (1361534707,), (1361534723,), (1361534739,), (1361534755,), (1361534776,), (1361534792,), (1361535029,), (1361534944,), (1361534986,), (1361535004,), (1361535290,), (1361535307,), (1361535322,), (1361535342,), (1361535419,), (1361535690,), (1361535707,), (1361535716,), (1361535732,), (1361535767,), (1361535784,), (1361535968,), (1361536040,), (1361536903,), (1361536917,), (1361536939,), (1361536948,), (1361537131,), (1361537144,), (1361537165,), (1361537203,), (1361537255,), (1361537296,), (1361537534,), (1361537550,), (1361537572,), (1361537790,), (1361537805,), (1361537831,), (1361537857,), (1361537872,), (1361537896,), (1361538065,), (1361538103,), (1361538143,), (1361538175,), (1361538193,), (1361538433,), (1361538477,), (1361538500,), (1361538508,), (1361538792,), (1361538802,), (1361538818,), (1361538857,), (1361539025,), (1361539047,), (1361539061,), (1361539070,), (1361539091,), (1361539235,), (1361539263,), (1361539276,), (1361539972,), (1361539996,), (1361540018,), (1361540033,), (1361540052,), (1361540100,), (1361540101,), (1361540120,), (1361540121,), (1361540133,), (1361540142,), (1361540151,), (1361540160,), (1361540195,), (1361540205,), (1361540298,), (1361540269,), (1361540280,), (1361540489,), (1361540516,), (1361540534,), (1361540555,), (1361540580,), (1361540599,), (1361540773,), (1361540787,), (1361540818,), (1361540862,), (1361540908,), (1361541170,), (1361541188,), (1361541202,), (1361541216,), (1361541236,), (1361541271,), (1361541483,), (1361541554,), (1361541589,), (1361541616,), (1361542336,), (1361544305,), (1361544396,), (1361544400,), (1361544447,), (1361544452,), (1361544456,), (1361544460,), (1361544463,), (1361544468,), (1361544493,), (1361544499,), (1361544504,), (1361544510,), (1361544543,), (1361544548,), (1361544784,), (1361544779,), (1361544834,), (1361544840,), (1361544842,), (1361544846,), (1361544850,), (1361544878,), (1361544883,), (1361544885,), (1361544888,), (1361544919,), (1361544923,), (1361544927,), (1361544931,), (1361544966,), (1361544975,), (1361544985,), (1361544988,), (1361544992,), (1361544996,), (1361545023,), (1361545028,), (1361545031,), (1361545034,), (1361545069,), (1361545073,), (1361545077,), (1361545080,), (1361545111,), (1361545115,), (1361545118,), (1361545120,), (1361545123,), (1361545126,), (1361545159,), (1361545165,), (1361545169,), (1361545173,), (1361545176,), (1361545181,), (1361545239,), (1361545244,), (1361545251,), (1361545306,), (1361545295,), (1361545298,), (1361545301,), (1361545303,), (1361545338,), (1361545342,), (1361545381,), (1361545386,), (1361545391,), (1361545396,), (1361545398,), (1361545433,), (1361545435,), (1361545440,), (1361545447,), (1361545451,), (1361545455,), (1361545479,), (1361545485,), (1361545490,), (1361545494,), (1361545675,), (1361545682,), (1361545685,), (1361545698,), (1361545764,), (1361545770,), (1361545775,), (1361545778,), (1361545783,), (1361545788,), (1361545882,), (1361545972,), (1361546168,), (1361546173,), (1361546176,), (1361546178,), (1361546180,), (1361546182,), (1361546208,), (1361546211,), (1361546217,), (1361546226,), (1361546234,), (1361546237,), (1361546259,), (1361546263,), (1361546265,), (1361546272,), (1361546276,), (1361546280,), (1361546304,), (1361546311,), (1361546317,), (1361546321,), (1361546353,), (1361546357,), (1361546361,), (1361546370,), (1361546381,), (1361546386,), (1361546412,), (1361546417,), (1361546421,), (1361546425,), (1361546437,), (1361546445,), (1361546473,), (1361546476,), (1361546480,), (1361546534,), (1361546519,), (1361546525,), (1361546528,), (1361546531,), (1361546582,), (1361546588,), (1361546599,), (1361546606,), (1361546612,), (1361546617,), (1361546634,), (1361546639,), (1361546647,), (1361546676,), (1361546681,), (1361546687,), (1361546751,), (1361546779,), (1361546807,), (1361546826,), (1361546832,), (1361546835,), (1361546956,), (1361546960,), (1361546963,), (1361546967,), (1361546985,), (1361547133,), (1361547162,), (1361547415,), (1361547420,), (1361547424,), (1361547428,), (1361547431,), (1361547458,), (1361547461,), (1361547463,), (1361547465,), (1361547468,), (1361547472,), (1361547498,), (1361547506,), (1361547516,), (1361547525,), (1361547530,), (1361547563,), (1361547568,), (1361547572,), (1361547577,), (1361547624,), (1361547655,), (1361547679,), (1361547682,), (1361547685,), (1361547719,), (1361547725,), (1361547728,), (1361547732,), (1361547735,), (1361547760,), (1361547763,), (1361547770,), (1361547777,), (1361547804,), (1361547811,), (1361547815,), (1361547818,), (1361548702,), (1361548920,), (1361548950,), (1361548982,), (1361549014,), (1361549022,), (1361549051,), (1361549054,), (1361549057,), (1361549066,), (1361549098,), (1361549102,), (1361549338,), (1361549393,), (1361549439,), (1361549466,), (1361549495,), (1361549524,), (1361550336,), (1361550362,), (1361550469,), (1361550474,), (1361550482,), (1361550490,), (1361550625,), (1361550587,), (1361550592,), (1361550594,), (1361550618,), (1361550673,), (1361550678,), (1361550682,), (1361550687,), (1361550712,), (1361550715,), (1361550718,), (1361550721,), (1361550786,), (1361550817,), (1361550847,), (1361550877,), (1361550906,), (1361550937,), (1361551155,), (1361551162,), (1361551167,), (1361551170,), (1361551172,), (1361551175,), (1361551205,), (1361551209,), (1361551213,), (1361551505,), (1361551540,), (1361551571,), (1361551577,), (1361551582,), (1361551600,), (1361551633,), (1361551638,), (1361551643,), (1361551647,), (1361551652,), (1361551657,), (1361551748,), (1361551756,), (1361551912,), (1361551915,), (1361551921,), (1361551927,), (1361551931,), (1361552065,), (1361552086,), (1361552093,), (1361552096,), (1361552102,), (1361552106,), (1361552209,), (1361552222,), (1361552227,), (1361552231,), (1361552235,), (1361552237,), (1361552260,), (1361552265,), (1361552268,), (1361552347,), (1361552351,), (1361552362,), (1361552367,), (1361552372,), (1361552573,), (1361552524,), (1361552540,), (1361552545,), (1361552548,), (1361552676,), (1361552685,), (1361552696,), (1361552699,), (1361552712,), (1361552744,), (1361552799,), (1361552878,), (1361552925,), (1361552938,), (1361552953,), (1361552970,), (1361552973,), (1361552976,), (1361553002,), (1361553008,), (1361553012,), (1361553016,), (1361553052,), (1361553057,), (1361553091,), (1361553097,), (1361553102,), (1361553148,), (1361553151,), (1361553187,), (1361553190,), (1361553193,), (1361553196,), (1361553199,), (1361553228,), (1361553234,), (1361553238,), (1361553244,), (1361553248,), (1361553251,), (1361553277,), (1361553283,), (1361553286,), (1361553289,), (1361553319,), (1361553324,), (1361553326,), (1361553329,), (1361553332,), (1361553334,), (1361553363,), (1361553366,), (1361553369,), (1361553404,), (1361553410,), (1361553507,), (1361553536,), (1361553567,), (1361553595,), (1361553598,), (1361553604,), (1361553839,), (1361553843,), (1361553887,), (1361553891,), (1361553894,), (1361553896,), (1361553924,), (1361553926,), (1361553928,), (1361553931,), (1361553960,), (1361553966,), (1361553970,), (1361554005,), (1361554011,), (1361554014,), (1361554056,), (1361554059,), (1361554062,), (1361554066,), (1361554070,), (1361554074,), (1361554100,), (1361554092,), (1361554096,), (1361554150,), (1361554155,), (1361554188,), (1361554192,), (1361554194,), (1361554333,), (1361554338,), (1361554345,), (1361554459,), (1361554467,), (1361554470,), (1361554475,), (1361554527,), (1361554533,), (1361554586,), (1361554587,), (1361554588,), (1361554589,), (1361554590,), (1361554665,), (1361554696,), (1361554725,), (1361554758,), (1361554863,), (1361554866,), (1361554878,), (1361554882,), (1361554932,), (1361554937,), (1361554939,), (1361554942,), (1361554946,), (1361554951,), (1361554977,), (1361554981,), (1361554984,), (1361554987,), (1361554992,), (1361554994,), (1361555026,), (1361555029,), (1361555032,), (1361555035,), (1361555038,), (1361555093,), (1361555096,), (1361555105,), (1361555109,), (1361555112,), (1361555256,), (1361555260,), (1361555263,), (1361555266,), (1361555341,), (1361555343,), (1361555350,), (1361555353,), (1361555359,), (1361555374,), (1361555507,), (1361555512,), (1361555516,), (1361555648,), (1361555652,), (1361555654,), (1361555690,), (1361555973,), (1361555825,), (1361555885,), (1361555917,), (1361555946,), (1361556085,), (1361556088,), (1361556090,), (1361556093,), (1361556096,), (1361556128,), (1361556132,), (1361556134,), (1361556169,), (1361556178,), (1361556182,), (1361556239,), (1361556244,), (1361556250,), (1361556261,), (1361556717,), (1361556737,), (1361556741,), (1361556746,), (1361556749,), (1361556979,), (1361557048,), (1361557053,), (1361557057,), (1361557078,), (1361557084,), (1361557287,), (1361557329,), (1361557356,), (1361557361,), (1361557502,), (1361557524,), (1361557528,), (1361557532,), (1361557536,), (1361557540,), (1361557573,), (1361557579,), (1361557583,), (1361557587,), (1361557622,), (1361557628,), (1361557634,), (1361557690,), (1361557696,), (1361557700,), (1361557704,), (1361557764,), (1361557769,), (1361557772,), (1361557775,), (1361557778,), (1361557965,), (1361557970,), (1361557974,), (1361557979,), (1361557996,), (1361558025,), (1361558055,), (1361558084,), (1361558147,), (1361558136,), (1361558141,), (1361558185,), (1361558192,), (1361558202,), (1361558208,), (1361558211,), (1361558248,), (1361558254,), (1361558257,), (1361558260,), (1361558264,), (1361558298,), (1361558302,), (1361558305,), (1361558309,), (1361558313,), (1361558348,), (1361558353,), (1361558471,), (1361558477,), (1361558481,), (1361558498,), (1361558544,), (1361558548,), (1361558551,), (1361558591,), (1361558597,), (1361558601,), (1361558604,), (1361558606,), (1361558632,), (1361558638,), (1361558641,), (1361558676,), (1361558681,), (1361558685,), (1361558688,), (1361558767,), (1361558772,), (1361558775,), (1361558778,), (1361558811,), (1361558891,), (1361558895,), (1361558899,), (1361558903,), (1361559009,), (1361559019,), (1361559025,), (1361559029,), (1361559104,), (1361559111,), (1361559115,), (1361559120,), (1361559156,), (1361559161,), (1361559165,), (1361559169,), (1361559173,), (1361560560,), (1361560692,), (1361560702,), (1361560792,), (1361560798,), (1361560803,), (1361560851,), (1361560854,), (1361560856,), (1361560858,), (1361560861,), (1361560905,), (1361560910,), (1361560915,), (1361560957,), (1361560963,), (1361560974,), (1361561024,), (1361561032,), (1361561036,), (1361561040,), (1361561044,), (1361561048,), (1361561090,), (1361561083,), (1361561087,), (1361561135,), (1361561140,), (1361561144,), (1361561147,), (1361561151,), (1361561155,), (1361561187,), (1361561190,), (1361561192,), (1361561194,), (1361561197,), (1361561198,), (1361561237,), (1361561239,), (1361561241,), (1361561243,), (1361561288,), (1361561292,), (1361561300,), (1361561307,), (1361561311,), (1361561314,), (1361561355,), (1361561358,), (1361561361,), (1361561407,), (1361561414,), (1361561416,), (1361561420,), (1361561424,), (1361561427,), (1361561465,), (1361561468,), (1361561470,), (1361561472,), (1361561474,), (1361561511,), (1361561519,), (1361561523,), (1361561527,), (1361561531,), (1361561535,), (1361561563,), (1361561565,), (1361561568,), (1361561569,), (1361561572,), (1361561576,), (1361561605,), (1361561609,), (1361561616,), (1361561626,), (1361561664,), (1361561667,), (1361561670,), (1361561673,), (1361561677,), (1361561707,), (1361561710,), (1361561714,), (1361561723,), (1361561726,), (1361561730,), (1361561787,), (1361561793,), (1361561797,), (1361561800,), (1361561808,), (1361561811,), (1361561814,), (1361561818,), (1361561820,), (1361561856,), (1361561839,), (1361561844,), (1361561847,), (1361561850,), (1361561853,), (1361561881,), (1361561885,), (1361561888,), (1361561891,), (1361561931,), (1361561935,), (1361561938,), (1361561941,), (1361561944,), (1361561973,), (1361561976,), (1361561979,), (1361561983,), (1361562020,), (1361562024,), (1361562029,), (1361562035,), (1361562038,), (1361562045,), (1361562067,), (1361562070,), (1361562072,), (1361562075,), (1361562078,), (1361562081,), (1361562105,), (1361562111,), (1361562115,), (1361562140,), (1361562143,), (1361562145,), (1361562147,), (1361562149,), (1361562152,), (1361562284,), (1361562293,), (1361562301,), (1361562307,), (1361562334,), (1361562342,), (1361562373,), (1361562376,), (1361562378,), (1361562387,), (1361562421,), (1361562425,), (1361562428,), (1361562444,), (1361562455,), (1361562456,), (1361562481,), (1361562484,), (1361562486,), (1361562543,), (1361562549,), (1361562555,), (1361562565,), (1361562569,), (1361562573,), (1361562637,), (1361562639,), (1361562645,), (1361562649,), (1361562652,), (1361562655,), (1361562677,), (1361562683,), (1361562689,), (1361562694,), (1361562740,), (1361562731,), (1361562733,), (1361562735,), (1361562737,), (1361562776,), (1361562780,), (1361562785,), (1361562811,), (1361562817,), (1361562849,), (1361562852,), (1361562854,), (1361562862,), (1361562894,), (1361562899,), (1361562906,), (1361562911,), (1361562913,), (1361562914,), (1361562936,), (1361562941,), (1361562944,), (1361562952,), (1361563003,), (1361563006,), (1361563010,), (1361563015,), (1361563017,), (1361563045,), (1361563049,), (1361563052,), (1361563055,), (1361563058,), (1361563060,), (1361563086,), (1361563088,), (1361563090,), (1361563095,), (1361563098,), (1361563125,), (1361563129,), (1361563132,), (1361563194,), (1361563203,), (1361563211,), (1361563217,), (1361563293,), (1361563298,), (1361563332,), (1361563335,), (1361563337,), (1361563339,), (1361563342,), (1361563370,), (1361563373,), (1361563480,), (1361563505,), (1361563537,), (1361563562,), (1361563792,), (1361563794,), (1361563932,), (1361563928,), (1361563965,), (1361563969,), (1361563972,), (1361564108,), (1361564111,), (1361564139,), (1361564141,), (1361564143,), (1361564187,), (1361564192,), (1361564197,), (1361564202,), (1361564207,), (1361564214,), (1361564299,), (1361564316,), (1361564324,), (1361564921,), (1361565044,), (1361565122,), (1361565187,), (1361565217,), (1361565505,), (1361565535,), (1361565563,), (1361565590,), (1361565621,), (1361565646,), (1361565685,), (1361565689,), (1361565692,), (1361565772,), (1361565778,), (1361565802,), (1361565898,), (1361565991,), (1361566268,), (1361566314,), (1361566417,), (1361566429,), (1361566447,), (1361566564,), (1361566575,), (1361566578,), (1361566583,), (1361566587,), (1361566833,), (1361566846,), (1361566856,), (1361566860,), (1361566882,), (1361566915,), (1361567017,), (1361567023,), (1361567054,), (1361567084,), (1361567112,), (1361567334,), (1361567322,), (1361567327,), (1361567331,), (1361567366,), (1361567370,), (1361567372,), (1361567374,), (1361567377,), (1361567451,), (1361567454,), (1361567457,), (1361567459,), (1361567461,), (1361567596,), (1361567628,), (1361567655,), (1361567657,), (1361567660,), (1361567689,), (1361567692,), (1361567697,), (1361567706,), (1361567712,), (1361567715,), (1361567752,), (1361567756,), (1361567758,), (1361567815,), (1361567821,), (1361567825,), (1361567829,), (1361567833,), (1361567836,), (1361567972,), (1361567999,), (1361568024,), (1361568057,), (1361568089,), (1361568116,), (1361568281,), (1361568307,), (1361568334,), (1361568372,), (1361568374,), (1361568376,), (1361568378,), (1361568381,), (1361568419,), (1361568424,), (1361568428,), (1361568435,), (1361568485,), (1361568492,), (1361568500,), (1361568526,), (1361568553,), (1361568581,), (1361568687,), (1361568691,), (1361568705,), (1361568709,), (1361568722,), (1361568794,), (1361568798,), (1361568800,), (1361568803,), (1361568806,), (1361568963,), (1361568849,), (1361568874,), (1361568906,), (1361568933,), (1361569017,), (1361569020,), (1361569023,), (1361569030,), (1361569037,), (1361569064,), (1361569067,), (1361569069,), (1361569071,), (1361569075,), (1361569081,), (1361569111,), (1361569114,), (1361569119,), (1361569122,), (1361569163,), (1361569168,), (1361569170,), (1361569173,), (1361569176,), (1361569312,), (1361569316,), (1361569319,), (1361569322,), (1361569346,), (1361569373,), (1361569375,), (1361569376,), (1361569395,), (1361569400,), (1361569403,), (1361569406,), (1361569409,), (1361569432,), (1361569484,), (1361570446,), (1361570467,), (1361570470,), (1361570474,), (1361570479,), (1361570483,), (1361570505,), (1361570508,), (1361570511,), (1361570513,), (1361570516,), (1361570519,), (1361570541,), (1361570549,), (1361570557,), (1361570575,), (1361570577,), (1361570579,), (1361570583,), (1361570588,), (1361570592,), (1361570616,), (1361570621,), (1361570627,), (1361570632,), (1361570661,), (1361570664,), (1361570667,), (1361570671,), (1361570691,), (1361570700,), (1361570703,), (1361570706,), (1361570707,), (1361570709,), (1361570724,), (1361570727,), (1361570729,), (1361570753,), (1361570755,), (1361570757,), (1361570759,), (1361570774,), (1361570806,), (1361570809,), (1361570812,), (1361570909,), (1361570919,), (1361570920,), (1361570947,), (1361570951,), (1361570955,), (1361570994,), (1361570981,), (1361570983,), (1361570985,), (1361570989,), (1361570991,), (1361571014,), (1361571017,), (1361571019,), (1361571022,), (1361571056,), (1361571058,), (1361571064,), (1361571077,), (1361571097,), (1361571100,), (1361571102,), (1361571105,), (1361571108,), (1361571109,), (1361571125,), (1361571130,), (1361571135,), (1361571138,), (1361571141,), (1361571165,), (1361571167,), (1361571169,), (1361571172,), (1361571197,), (1361571203,), (1361571211,), (1361571214,), (1361571216,), (1361571237,), (1361571239,), (1361571242,), (1361571245,), (1361571248,), (1361571250,), (1361571269,), (1361571272,), (1361571281,), (1361571313,), (1361571315,), (1361571317,), (1361571319,), (1361571322,), (1361571325,), (1361571348,), (1361571350,), (1361571353,), (1361571356,), (1361571359,), (1361571362,), (1361571385,), (1361571389,), (1361571391,), (1361571392,), (1361571422,), (1361571424,), (1361571428,), (1361571436,), (1361571443,), (1361571449,), (1361571498,), (1361571502,), (1361571505,), (1361571508,), (1361571511,), (1361571546,), (1361571535,), (1361571537,), (1361571540,), (1361571543,), (1361571567,), (1361571570,), (1361571573,), (1361571576,), (1361571579,), (1361571593,), (1361571595,), (1361571602,), (1361571605,), (1361571607,), (1361571634,), (1361571636,), (1361571638,), (1361571642,), (1361571644,), (1361571684,), (1361571687,), (1361571690,), (1361571691,), (1361571715,), (1361571719,), (1361571722,), (1361571725,), (1361571746,), (1361571785,), (1361571787,), (1361571789,), (1361571792,), (1361571796,), (1361571825,), (1361571827,), (1361571829,), (1361571831,), (1361571833,), (1361571835,), (1361571849,), (1361571852,), (1361571855,), (1361571858,), (1361571883,), (1361571889,), (1361571893,), (1361571895,), (1361571898,), (1361571900,), (1361571920,), (1361571925,), (1361571929,), (1361571932,), (1361571958,), (1361571960,), (1361571962,), (1361571964,), (1361571967,), (1361571970,), (1361571991,), (1361571994,), (1361572001,), (1361572008,), (1361572032,), (1361572038,), (1361572040,), (1361572042,), (1361572046,), (1361572048,), (1361572081,), (1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,), (1361572586,), (1361572588,), (1361572590,), (1361572592,), (1361572618,), (1361572621,), (1361572624,), (1361572671,), (1361572672,), (1361572675,), (1361572678,), (1361572681,), (1361572683,), (1361572704,), (1361572707,), (1361572710,), (1361572714,), (1361572727,), (1361572728,), (1361572783,), (1361572786,), (1361572788,), (1361572789,), (1361572791,), (1361573193,), (1361573227,), (1361573232,), (1361573235,), (1361573239,), (1361573242,), (1361573261,), (1361573268,), (1361573271,), (1361573273,), (1361573275,), (1361573277,), (1361573296,), (1361573300,), (1361573305,), (1361573330,), (1361573333,), (1361573335,), (1361573337,), (1361573340,), (1361573343,), (1361573370,), (1361573362,), (1361573365,), (1361573367,), (1361573403,), (1361573405,), (1361573407,), (1361573410,), (1361573434,), (1361573439,), (1361573445,), (1361573448,), (1361573451,), (1361573455,), (1361573474,), (1361573476,), (1361573499,), (1361573502,), (1361573505,), (1361573508,), (1361573511,), (1361573519,), (1361573543,), (1361573545,), (1361573546,), (1361573549,), (1361573552,), (1361573574,), (1361573577,), (1361573580,), (1361573583,), (1361573586,), (1361573609,), (1361573611,), (1361573615,), (1361573618,), (1361573621,), (1361573624,), (1361573640,), (1361573644,), (1361573647,), (1361573650,), (1361573736,), (1361573737,), (1361573740,), (1361573745,), (1361573748,), (1361573751,), (1361573881,), (1361573884,), (1361573887,), (1361573890,), (1361573899,), (1361574041,), (1361574045,), (1361574048,), (1361574130,), (1361574134,), (1361574137,), (1361574140,), (1361574144,), (1361574194,), (1361574197,), (1361574200,), (1361574203,), (1361574206,), (1361574209,), (1361574211,), (1361574214,), (1361574244,), (1361574246,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28052025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23408183]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] map_info['map_portfolio_photo'] : {23408183: [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445]} final : True mtd_id 4302 list_pids : [1361442453, 1361442423, 1361442420, 1361442417, 1361442414, 1361442411, 1361442408, 1361442331, 1361442326, 1361442323, 1361442187, 1361442183, 1361442146, 1361442141, 1361442103, 1361442101, 1361442099, 1361442097, 1361442093, 1361442057, 1361442054, 1361442051, 1361442049, 1361442045, 1361442001, 1361441998, 1361441994, 1361441957, 1361441953, 1361441950, 1361441943, 1361441914, 1361441909, 1361441901, 1361441848, 1361441844, 1361441840, 1361441836, 1361441638, 1361441605, 1361441562, 1361441536, 1361441508, 1361441494, 1361441458, 1361441454, 1361441450, 1361441445] Looping around the photos to save general results len do output : 1 /23408183Didn'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, '2982174') ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174') ('4302', None, None, None, None, None, None, None, '2982174') ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 49 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, '23408183', 'None', None, None, None, None, '2982174'), ('4302', '23408183', '1361442453', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442423', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442420', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442417', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442414', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442411', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442408', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442331', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442326', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442323', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442187', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442183', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442146', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442141', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442103', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442101', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442099', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442097', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442093', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442057', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442054', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442051', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442049', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442045', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361442001', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441998', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441994', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441957', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441953', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441950', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441943', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441914', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441909', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441901', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441848', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441844', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441840', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441836', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441638', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441605', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441562', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441536', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441508', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441494', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441458', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441454', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441450', None, None, None, None, None, '2982174'), ('4302', '23408183', '1361441445', None, None, None, None, None, '2982174')] time used for this insertion : 0.250899076461792 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.757195711135864 time spend to save output : 0.2513427734375 total time spend for step 5 : 16.008538484573364 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 (2982174) 3.74user 2.77system 0:29.76elapsed 21%CPU (0avgtext+0avgdata 159664maxresident)k 45552inputs+31104outputs (229major+87288minor)pagefaults 0swaps