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 : 4086891 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 (2760788) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2760788) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384585 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2760788'] with mtr_portfolio_ids : ['22384585'] and first list_photo_ids : [] new path : /proc/4086891/ Name: python3 Umask: 0002 State: R (running) Tgid: 4086891 Ngid: 0 Pid: 4086891 PPid: 4086890 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4086891 NSpid: 4086891 NSpgid: 4084916 NSsid: 4084916 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98368 kB VmRSS: 98368 kB RssAnon: 59804 kB RssFile: 38564 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 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: 52 nonvoluntary_ctxt_switches: 96 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4086891', 'Ngid': '0', 'Pid': '4086891', 'PPid': '4086890', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4086891', 'NSpid': '4086891', 'NSpgid': '4084916', 'NSsid': '4084916', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98368 kB', 'VmRSS': '98368 kB', 'RssAnon': '59804 kB', 'RssFile': '38564 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 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': '52', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '4086891', '1106936', '0', '1106936', '865684', '98368', b'', 'marlene', '2760788') 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 (22384585) 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 (2760788 ) ) 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 (22384585) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353384334, 'portfolio_id': 22384585}, {'photo_id': 1353384267, 'portfolio_id': 22384585}, {'photo_id': 1353384261, 'portfolio_id': 22384585}, {'photo_id': 1353384255, 'portfolio_id': 22384585}, {'photo_id': 1353384225, 'portfolio_id': 22384585}, {'photo_id': 1353384221, 'portfolio_id': 22384585}, {'photo_id': 1353384214, 'portfolio_id': 22384585}, {'photo_id': 1353384176, 'portfolio_id': 22384585}, {'photo_id': 1353383679, 'portfolio_id': 22384585}, {'photo_id': 1353383600, 'portfolio_id': 22384585}, {'photo_id': 1353383541, 'portfolio_id': 22384585}, {'photo_id': 1353383488, 'portfolio_id': 22384585}, {'photo_id': 1353383062, 'portfolio_id': 22384585}, {'photo_id': 1353383026, 'portfolio_id': 22384585}, {'photo_id': 1353383020, 'portfolio_id': 22384585}, {'photo_id': 1353383000, 'portfolio_id': 22384585}, {'photo_id': 1353382845, 'portfolio_id': 22384585}, {'photo_id': 1353382826, 'portfolio_id': 22384585}, {'photo_id': 1353382822, 'portfolio_id': 22384585}, {'photo_id': 1353382661, 'portfolio_id': 22384585}, {'photo_id': 1353382631, 'portfolio_id': 22384585}, {'photo_id': 1353382603, 'portfolio_id': 22384585}, {'photo_id': 1353382592, 'portfolio_id': 22384585}, {'photo_id': 1353382580, 'portfolio_id': 22384585}, {'photo_id': 1353382327, 'portfolio_id': 22384585}, {'photo_id': 1353382323, 'portfolio_id': 22384585}, {'photo_id': 1353382239, 'portfolio_id': 22384585}, {'photo_id': 1353382235, 'portfolio_id': 22384585}, {'photo_id': 1353381860, 'portfolio_id': 22384585}, {'photo_id': 1353381856, 'portfolio_id': 22384585}, {'photo_id': 1353381802, 'portfolio_id': 22384585}, {'photo_id': 1353381797, 'portfolio_id': 22384585}, {'photo_id': 1353381771, 'portfolio_id': 22384585}, {'photo_id': 1353381753, 'portfolio_id': 22384585}, {'photo_id': 1353381747, 'portfolio_id': 22384585}, {'photo_id': 1353381476, 'portfolio_id': 22384585}, {'photo_id': 1353381473, 'portfolio_id': 22384585}, {'photo_id': 1353381467, 'portfolio_id': 22384585}, {'photo_id': 1353381371, 'portfolio_id': 22384585}, {'photo_id': 1353381007, 'portfolio_id': 22384585}, {'photo_id': 1353381003, 'portfolio_id': 22384585}, {'photo_id': 1353380999, 'portfolio_id': 22384585}, {'photo_id': 1353380993, 'portfolio_id': 22384585}] map_portfolio_id_photo_id: {22384585: [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993]} ##### 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.01998114585876465 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Apr 25 05:47:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22384585) 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 : 22384585 get user id for portfolio 22384585 get sub ptf for main ptf 22384585, type 3726 and hashtags ['mal_croppe', 'flou', 'kraft', 'Carton_brun', 'plastique', 'environnement', 'metal', 'papier', 'Carton_gris', 'Teint_Dans_La_Masse', 'cartonnette', '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`=22384585 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','kraft','Carton_brun','plastique','environnement','metal','papier','Carton_gris','Teint_Dans_La_Masse','cartonnette','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`=22384585 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','kraft','Carton_brun','plastique','environnement','metal','papier','Carton_gris','Teint_Dans_La_Masse','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22384585, 'sub_port_id': 22384590, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835523, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'mal_croppe': {'main_port_id': 22384585, 'sub_port_id': 22384591, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835524, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'Carton_gris': {'main_port_id': 22384585, 'sub_port_id': 22384592, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835525, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'metal': {'main_port_id': 22384585, 'sub_port_id': 22384593, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835526, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'papier': {'main_port_id': 22384585, 'sub_port_id': 22384594, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835527, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'environnement': {'main_port_id': 22384585, 'sub_port_id': 22384595, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835528, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'kraft': {'main_port_id': 22384585, 'sub_port_id': 22384596, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835529, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'plastique': {'main_port_id': 22384585, 'sub_port_id': 22384597, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835530, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'flou': {'main_port_id': 22384585, 'sub_port_id': 22384598, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835531, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'Carton_brun': {'main_port_id': 22384585, 'sub_port_id': 22384599, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835532, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'autre_refus': {'main_port_id': 22384585, 'sub_port_id': 22384600, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835533, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}, 'cartonnette': {'main_port_id': 22384585, 'sub_port_id': 22384601, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835534, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384590 , 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=22384585 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 (22384590) result : ((1353381835,), (1353381836,), (1353382160,), (1353382474,), (1353382977,), (1353383097,), (1353383098,), (1353383099,), (1353383100,), (1353383174,), (1353383175,), (1353384733,), (1353384963,), (1353384964,), (1353390315,), (1353390316,), (1353390353,), (1353390354,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384591 , 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=22384585 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 (22384591) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384592 , 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=22384585 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 (22384592) result : ((1353382163,), (1353382480,), (1353382983,), (1353383177,), (1353384978,), (1353390318,), (1353390359,), (1353390360,), (1353390361,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384593 , 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=22384585 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 (22384593) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384594 , 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=22384585 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 (22384594) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384595 , 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=22384585 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 (22384595) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384596 , 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=22384585 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 (22384596) result : ((1353381852,), (1353382516,), (1353382990,), (1353382991,), (1353382992,), (1353383179,), (1353390321,), (1353390372,), (1353390373,), (1353390374,), (1353390375,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384597 , 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=22384585 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 (22384597) result : ((1353381849,), (1353382165,), (1353382166,), (1353382167,), (1353382168,), (1353382170,), (1353382171,), (1353382510,), (1353382511,), (1353384706,), (1353384707,), (1353384982,), (1353390371,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384598 , 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=22384585 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 (22384598) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384599 , 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=22384585 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 (22384599) result : ((1353381847,), (1353381848,), (1353382498,), (1353382499,), (1353382500,), (1353382998,), (1353384704,), (1353384705,), (1353384981,), (1353390319,), (1353390365,), (1353390366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384600 , 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=22384585 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 (22384600) result : ((1353381838,), (1353381839,), (1353381840,), (1353381841,), (1353382161,), (1353382981,), (1353382982,), (1353384735,), (1353384971,), (1353384972,), (1353390355,), (1353390357,), (1353390358,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22384601 , 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=22384585 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 (22384601) result : ((1353381843,), (1353381844,), (1353381845,), (1353381846,), (1353382485,), (1353382985,), (1353382986,), (1353382987,), (1353390362,), (1353390367,), (1353390369,), (1353390370,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22384585) result : ((1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,)) 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 (1353383600,1353383000) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22384585 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','kraft','Carton_brun','plastique','environnement','metal','papier','Carton_gris','Teint_Dans_La_Masse','cartonnette','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`=22384585 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','kraft','Carton_brun','plastique','environnement','metal','papier','Carton_gris','Teint_Dans_La_Masse','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22384585, 'sub_port_id': 22384603, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835535, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'mal_croppe': {'main_port_id': 22384585, 'sub_port_id': 22384604, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835536, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'Carton_gris': {'main_port_id': 22384585, 'sub_port_id': 22384605, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835537, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'metal': {'main_port_id': 22384585, 'sub_port_id': 22384606, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835538, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'papier': {'main_port_id': 22384585, 'sub_port_id': 22384607, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835539, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'environnement': {'main_port_id': 22384585, 'sub_port_id': 22384608, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835540, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'kraft': {'main_port_id': 22384585, 'sub_port_id': 22384609, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835541, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'plastique': {'main_port_id': 22384585, 'sub_port_id': 22384610, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835542, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'flou': {'main_port_id': 22384585, 'sub_port_id': 22384611, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835543, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'Carton_brun': {'main_port_id': 22384585, 'sub_port_id': 22384612, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835544, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'autre_refus': {'main_port_id': 22384585, 'sub_port_id': 22384613, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835545, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}, 'cartonnette': {'main_port_id': 22384585, 'sub_port_id': 22384614, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14835546, 'last_updated_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 14, 48, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 14, 35, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384603,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384590 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384604,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384591 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384605,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384592 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384606,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384593 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384607,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384594 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384608,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384595 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384609,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384596 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384610,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384597 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384611,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384598 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384612,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384599 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384613,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384600 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22384614,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22384601 lien utilise dans velours : https://www.fotonower.com/velours/22384603,22384604,22384605,22384606,22384607,22384608,22384609,22384610,22384611,22384612,22384613,22384614?tags=Teint_Dans_La_Masse,mal_croppe,Carton_gris,metal,papier,environnement,kraft,plastique,flou,Carton_brun,autre_refus,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22384585]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] map_info['map_portfolio_photo'] : {22384585: [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993]} final : False mtd_id 4302 list_pids : [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] Looping around the photos to save general results len do output : 1 /22384585. 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, '2760788') ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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, '22384585', "{'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601}", None, None, None, None, '2760788'), ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788')] time used for this insertion : 0.01857900619506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.47252655029296875 time spend to save output : 0.019100666046142578 total time spend for step 1 : 0.49162721633911133 step2:final Fri Apr 25 05:47:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22384585) 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 22384585 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353381007,1353381003,1353380999,1353380993,1353381476,1353381473,1353381467,1353381371,1353381802,1353381797,1353381771,1353381753,1353381747,1353381860,1353381856,1353382239,1353382235,1353382327,1353382323,1353382661,1353382631,1353382603,1353382592,1353382580,1353382845,1353382826,1353382822,1353383026,1353383020,1353383000,1353383062,1353383679,1353383600,1353383541,1353383488,1353384225,1353384221,1353384214,1353384176,1353384267,1353384261,1353384255,1353384334); 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([22384585]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} new output for save of step final : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] map_info['map_portfolio_photo'] : {22384585: [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993]} final : False mtd_id 4302 list_pids : [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] Looping around the photos to save general results len do output : 43 /1353384334.Didn't retrieve data . /1353384267.Didn't retrieve data . /1353384261.Didn't retrieve data . /1353384255.Didn't retrieve data . /1353384225.Didn't retrieve data . /1353384221.Didn't retrieve data . /1353384214.Didn't retrieve data . /1353384176.Didn't retrieve data . /1353383679.Didn't retrieve data . /1353383600.Didn't retrieve data . /1353383541.Didn't retrieve data . /1353383488.Didn't retrieve data . /1353383062.Didn't retrieve data . /1353383026.Didn't retrieve data . /1353383020.Didn't retrieve data . /1353383000.Didn't retrieve data . /1353382845.Didn't retrieve data . /1353382826.Didn't retrieve data . /1353382822.Didn't retrieve data . /1353382661.Didn't retrieve data . /1353382631.Didn't retrieve data . /1353382603.Didn't retrieve data . /1353382592.Didn't retrieve data . /1353382580.Didn't retrieve data . /1353382327.Didn't retrieve data . /1353382323.Didn't retrieve data . /1353382239.Didn't retrieve data . /1353382235.Didn't retrieve data . /1353381860.Didn't retrieve data . /1353381856.Didn't retrieve data . /1353381802.Didn't retrieve data . /1353381797.Didn't retrieve data . /1353381771.Didn't retrieve data . /1353381753.Didn't retrieve data . /1353381747.Didn't retrieve data . /1353381476.Didn't retrieve data . /1353381473.Didn't retrieve data . /1353381467.Didn't retrieve data . /1353381371.Didn't retrieve data . /1353381007.Didn't retrieve data . /1353381003.Didn't retrieve data . /1353380999.Didn't retrieve data . /1353380993.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, '2760788') ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 129 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', '22384585', '1353384334', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384267', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384261', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384255', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384225', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384221', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384214', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353384176', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383679', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383600', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383541', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383488', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383062', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383026', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383020', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353383000', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382845', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382826', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382822', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382661', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382631', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382603', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382592', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382580', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382327', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382323', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382239', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353382235', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381860', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381856', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381802', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381797', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381771', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381753', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381747', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381476', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381473', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381467', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381371', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381007', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353381003', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353380999', '0.062287587662996885', None, None, None, None, '2760788'), ('4302', '22384585', '1353380993', '0.062287587662996885', None, None, None, None, '2760788')] time used for this insertion : 0.019214391708374023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07005453109741211 time spend to save output : 0.020928382873535156 total time spend for step 2 : 0.09098291397094727 step3:velours_tree Fri Apr 25 05:47:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22384585: [{'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601}]} input_args_next_step : {22384585: ()} output_args : {22384585: [{'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601}]} args : 22384585 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 : ({'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22384585) 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([22384585]) 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.28994035720825195 time spend to save output : 4.839897155761719e-05 total time spend for step 3 : 0.28998875617980957 step4:send_mail_cod Fri Apr 25 05:47:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} input_args_next_step : {1353384334: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384334 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384267 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384261 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384255 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384225 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384221 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384214 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353384176 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383679 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383600 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383541 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383488 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383062 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383026 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383020 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353383000 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382845 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382826 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382822 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382661 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382631 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382603 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382592 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382580 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382327 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382323 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382239 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353382235 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381860 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381856 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381802 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381797 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381771 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381753 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381747 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381476 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381473 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381467 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381371 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381007 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353381003 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353380999 depend.output_id : 0 input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ()} output_args : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',)} args : 1353380993 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 : {22384585: [{'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601}]} input_args_next_step : {1353384334: ('0.062287587662996885',), 1353384267: ('0.062287587662996885',), 1353384261: ('0.062287587662996885',), 1353384255: ('0.062287587662996885',), 1353384225: ('0.062287587662996885',), 1353384221: ('0.062287587662996885',), 1353384214: ('0.062287587662996885',), 1353384176: ('0.062287587662996885',), 1353383679: ('0.062287587662996885',), 1353383600: ('0.062287587662996885',), 1353383541: ('0.062287587662996885',), 1353383488: ('0.062287587662996885',), 1353383062: ('0.062287587662996885',), 1353383026: ('0.062287587662996885',), 1353383020: ('0.062287587662996885',), 1353383000: ('0.062287587662996885',), 1353382845: ('0.062287587662996885',), 1353382826: ('0.062287587662996885',), 1353382822: ('0.062287587662996885',), 1353382661: ('0.062287587662996885',), 1353382631: ('0.062287587662996885',), 1353382603: ('0.062287587662996885',), 1353382592: ('0.062287587662996885',), 1353382580: ('0.062287587662996885',), 1353382327: ('0.062287587662996885',), 1353382323: ('0.062287587662996885',), 1353382239: ('0.062287587662996885',), 1353382235: ('0.062287587662996885',), 1353381860: ('0.062287587662996885',), 1353381856: ('0.062287587662996885',), 1353381802: ('0.062287587662996885',), 1353381797: ('0.062287587662996885',), 1353381771: ('0.062287587662996885',), 1353381753: ('0.062287587662996885',), 1353381747: ('0.062287587662996885',), 1353381476: ('0.062287587662996885',), 1353381473: ('0.062287587662996885',), 1353381467: ('0.062287587662996885',), 1353381371: ('0.062287587662996885',), 1353381007: ('0.062287587662996885',), 1353381003: ('0.062287587662996885',), 1353380999: ('0.062287587662996885',), 1353380993: ('0.062287587662996885',), 22384585: ()} output_args : {22384585: [{'Teint_Dans_La_Masse': 22384590, 'mal_croppe': 22384591, 'Carton_gris': 22384592, 'metal': 22384593, 'papier': 22384594, 'environnement': 22384595, 'kraft': 22384596, 'plastique': 22384597, 'flou': 22384598, 'Carton_brun': 22384599, 'autre_refus': 22384600, 'cartonnette': 22384601}]} args : 22384585 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 :44, first value : ('0.062287587662996885',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22384585) 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 (1353384334,1353384267,1353384261,1353384255,1353384225,1353384221,1353384214,1353384176,1353383679,1353383600,1353383541,1353383488,1353383062,1353383026,1353383020,1353383000,1353382845,1353382826,1353382822,1353382661,1353382631,1353382603,1353382592,1353382580,1353382327,1353382323,1353382239,1353382235,1353381860,1353381856,1353381802,1353381797,1353381771,1353381753,1353381747,1353381476,1353381473,1353381467,1353381371,1353381007,1353381003,1353380999,1353380993) Found this number of photos: 43 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353380993 begin to download photo : 1353381753 begin to download photo : 1353382327 begin to download photo : 1353383000 begin to download photo : 1353384214 download finish for photo 1353380993 begin to download photo : 1353380999 download finish for photo 1353382327 begin to download photo : 1353382580 download finish for photo 1353381753 begin to download photo : 1353381771 download finish for photo 1353383000 begin to download photo : 1353383020 download finish for photo 1353384214 begin to download photo : 1353384221 download finish for photo 1353381771 begin to download photo : 1353381797 download finish for photo 1353380999 begin to download photo : 1353381003 download finish for photo 1353382580 begin to download photo : 1353382592 download finish for photo 1353384221 begin to download photo : 1353384225 download finish for photo 1353383020 begin to download photo : 1353383026 download finish for photo 1353381797 begin to download photo : 1353381802 download finish for photo 1353381003 begin to download photo : 1353381007 download finish for photo 1353384225 begin to download photo : 1353384255 download finish for photo 1353382592 begin to download photo : 1353382603 download finish for photo 1353383026 begin to download photo : 1353383062 download finish for photo 1353381802 begin to download photo : 1353381856 download finish for photo 1353381007 begin to download photo : 1353381371 download finish for photo 1353382603 begin to download photo : 1353382631 download finish for photo 1353384255 begin to download photo : 1353384261 download finish for photo 1353383062 begin to download photo : 1353383488 download finish for photo 1353384261 begin to download photo : 1353384267 download finish for photo 1353381371 begin to download photo : 1353381467 download finish for photo 1353382631 begin to download photo : 1353382661 download finish for photo 1353381856 begin to download photo : 1353381860 download finish for photo 1353383488 begin to download photo : 1353383541 download finish for photo 1353381467 begin to download photo : 1353381473 download finish for photo 1353381860 begin to download photo : 1353382235 download finish for photo 1353384267 begin to download photo : 1353384334 download finish for photo 1353383541 begin to download photo : 1353383600 download finish for photo 1353382661 begin to download photo : 1353382822 download finish for photo 1353381473 begin to download photo : 1353381476 download finish for photo 1353382235 begin to download photo : 1353382239 download finish for photo 1353383600 begin to download photo : 1353383679 download finish for photo 1353382822 begin to download photo : 1353382826 download finish for photo 1353381476 begin to download photo : 1353381747 download finish for photo 1353382239 begin to download photo : 1353382323 download finish for photo 1353383679 begin to download photo : 1353384176 download finish for photo 1353381747 download finish for photo 1353382826 begin to download photo : 1353382845 download finish for photo 1353382323 download finish for photo 1353384176 download finish for photo 1353382845 download finish for photo 1353384334 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette223845911745552881/ imagette223845931745552881/ length of list_filenames : 43 ; length of list_pids : 43 ; length of list_args : 43 results_Auto_P22384585_25-04-2025_05_48_01.pdf 22384591 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=22384591 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223845911745552881 22384593 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=22384593 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223845931745552881 22384596 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=22384596 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353381852: '1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518645_0.png', 1353382516: '1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526273_0.png', 1353382990: '1745498353_960399_1353382631_370499263bcfe9c5d88279bce5a83cfe_rle_crop_3767527424_0.png', 1353382991: '1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527440_0.png', 1353382992: '1745498353_960399_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527457_0.png', 1353383179: '1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529283_0.png', 1353390321: '1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529283_0.png', 1353390372: '1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563373_0.png', 1353390373: '1745500620_978964_1353382631_370499263bcfe9c5d88279bce5a83cfe_rle_crop_3767527424_0.png', 1353390374: '1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527440_0.png', 1353390375: '1745500620_978964_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527457_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a2ef03573f87cac849b689d4ce17887f_55274635.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1bc23ef4c7331d3ff3d6bb6b685c13d2_15196746.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/69b6222919f0f719b8d7c3d150655a1f_65701520.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9b05ab6dd6dcd4190aa9008b3fe75c34_24056582.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4e070caeffb0b6c1510eb6dab137405e_70627160.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/579f6ab153e6bf52e81d568a35c82410_89561369.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/579f6ab153e6bf52e81d568a35c82410_51355358.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a98fecf00a2352f2c395d1d80f1b0021_17704009.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/69b6222919f0f719b8d7c3d150655a1f_57140061.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9b05ab6dd6dcd4190aa9008b3fe75c34_50296639.png change filename to text .imagette223845961745552881/ imagette223845961745552881/1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527440_0.png.png imagette223845961745552881/1745500620_978964_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527457_0.png.png imagette223845961745552881/1745498353_960399_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527457_0.png.png imagette223845961745552881/1745498353_960399_1353382631_370499263bcfe9c5d88279bce5a83cfe_rle_crop_3767527424_0.png.png imagette223845961745552881/1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527440_0.png.png imagette223845961745552881/1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526273_0.png.png imagette223845961745552881/1745500620_978964_1353382631_370499263bcfe9c5d88279bce5a83cfe_rle_crop_3767527424_0.png.png imagette223845961745552881/1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529283_0.png.png imagette223845961745552881/1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563373_0.png.png imagette223845961745552881/1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518645_0.png.png imagette223845961745552881/1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529283_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4e070caeffb0b6c1510eb6dab137405e_98721892.png imagette223845961745552881 22384597 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=22384597 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353381849: '1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518642_0.png', 1353382165: '1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519884_0.png', 1353382166: '1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519880_0.png', 1353382167: '1745498112_958217_1353381753_5b7ef7a8ab413b3b274d2e94c873768d_rle_crop_3767519896_0.png', 1353382168: '1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519910_0.png', 1353382170: '1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519906_0.png', 1353382171: '1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519911_0.png', 1353382510: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526255_0.png', 1353382511: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526264_0.png', 1353384706: '1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_bib_crop_3767533004_0.jpg', 1353384707: '1745498952_966425_1353384255_15e54503ac12e91b4de8a0f4ce2b92b5_rle_crop_3767533082_0.png', 1353384982: '1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533468_0.png', 1353390371: '1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563348_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5e902c431832cdaafc9a999da0ea3b67_21257876.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3f6ebd11416780cfeaeec966d347085f_32248551.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8325baead25e24536160b4e13fc936a0_69094262.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5a53aa89403fbac9d615c8a24cd05ec5_15879934.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0f3f9807fb9082df419a401bc6994650_61030913.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4fb4d25edc61140ff48133693150da83_25504772.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/498839bec99f411183ab220a608fbd4f_57417541.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c7fd75293daa80f9c288e0d80f7661b5_48394383.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/614fed93ca25eab9c163fd571a3dc4e2_84191753.png change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8be18b6aa2407bfd167ef70ce6af5a36_80377831.jpg change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fc9bf99f5f4e45c8d32bd9a5a983aba6_71787703.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/165b9dfd29f76a29ac442c7ccd434064_13248017.png change filename to text .imagette223845971745552882/ imagette223845971745552882/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526255_0.png.png imagette223845971745552882/1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519911_0.png.png imagette223845971745552882/1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533468_0.png.png imagette223845971745552882/1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519880_0.png.png imagette223845971745552882/1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563348_0.png.png imagette223845971745552882/1745498112_958217_1353381753_5b7ef7a8ab413b3b274d2e94c873768d_rle_crop_3767519896_0.png.png imagette223845971745552882/1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519884_0.png.png imagette223845971745552882/1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518642_0.png.png imagette223845971745552882/1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519910_0.png.png imagette223845971745552882/1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519906_0.png.png imagette223845971745552882/1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_bib_crop_3767533004_0.jpg.jpg imagette223845971745552882/1745498952_966425_1353384255_15e54503ac12e91b4de8a0f4ce2b92b5_rle_crop_3767533082_0.png.png imagette223845971745552882/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526264_0.png.png imagette223845981745552883/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c8b1a07960766f26d191b9862ea80946_84272133.png imagette223845971745552882 22384598 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=22384598 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223845981745552883 22384600 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=22384600 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353381838: '1745497992_957131_1353381476_68eb23b16a239d22350f76a885b9e552_rle_crop_3767518631_0.png', 1353381839: '1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518676_0.png', 1353381840: '1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518693_0.png', 1353381841: '1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518698_0.png', 1353382161: '1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519908_0.png', 1353382981: '1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527437_0.png', 1353382982: '1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527509_0.png', 1353384735: '1745498983_55351_1353384214_333c6a76e7680ec22146401842769c25_rle_crop_3767533172_0.png', 1353384971: '1745499072_967839_1353383541_7ed642936dc045be9df1e463da021344_rle_crop_3767533463_0.png', 1353384972: '1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533477_0.png', 1353390355: '1745500632_979107_1353381473_40efa50aa32b0ccd43e242de2a7d978c_rle_crop_3767563306_0.png', 1353390357: '1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527437_0.png', 1353390358: '1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527509_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eb4ee4b3e49535b41081393914af669a_12283508.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c287a0285c95852779fe089230ad35e9_77605128.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/82f6534003f1a0362a3b4820dc9d4b3e_99284702.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/39aedfd2bed51af38f2c40a7df0a3f11_84736096.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e761c7091a4822d0df13b269ed0e9190_25642139.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/329df07a9c9e6b6edec3753eac666b23_78807474.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6055fc901e29e5dd551a448ec18fb9da_10788433.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fec0bfee00e1375b707416b865857753_47388845.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/880f361930d1c8adfedb826a74f12fa5_89087672.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/59ceee5029ab1a2baf382aba6e37ee2d_9472217.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b35a9e8bd428632fa4e9ef418ef6a5f7_49209075.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/20d93a1dfa970340c7f42e7cfbb0d425_89125628.png change filename to text .imagette223846001745552883/ imagette223846001745552883/1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518698_0.png.png imagette223846001745552883/1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519908_0.png.png imagette223846001745552883/1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527509_0.png.png imagette223846001745552883/1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527437_0.png.png imagette223846001745552883/1745498983_55351_1353384214_333c6a76e7680ec22146401842769c25_rle_crop_3767533172_0.png.png imagette223846001745552883/1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527509_0.png.png imagette223846001745552883/1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533477_0.png.png imagette223846001745552883/1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518676_0.png.png imagette223846001745552883/1745499072_967839_1353383541_7ed642936dc045be9df1e463da021344_rle_crop_3767533463_0.png.png imagette223846001745552883/1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527437_0.png.png imagette223846001745552883/1745500632_979107_1353381473_40efa50aa32b0ccd43e242de2a7d978c_rle_crop_3767563306_0.png.png imagette223846001745552883/1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518693_0.png.png imagette223846001745552883/1745497992_957131_1353381476_68eb23b16a239d22350f76a885b9e552_rle_crop_3767518631_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6055fc901e29e5dd551a448ec18fb9da_18819063.png imagette223846001745552883 22384601 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=22384601 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353381843: '1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518643_0.png', 1353381844: '1745497992_957131_1353381003_5206fa7e47644924e675c6dd8072492d_rle_crop_3767518659_0.png', 1353381845: '1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518675_0.png', 1353381846: '1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518680_0.png', 1353382485: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526253_0.png', 1353382985: '1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527444_0.png', 1353382986: '1745498353_960399_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527459_0.png', 1353382987: '1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527506_0.png', 1353390362: '1745500632_979107_1353381473_40efa50aa32b0ccd43e242de2a7d978c_rle_crop_3767563302_0.png', 1353390367: '1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527444_0.png', 1353390369: '1745500620_978964_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527459_0.png', 1353390370: '1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527506_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7f9f5c9c322cf9580774fafe0b5ae971_67831417.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/33faa6e913348d2a571f2372fb1209b8_76459659.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9bf6638704c210916fdcb0a36cfe7c68_8448340.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/84e9aae87bef1c599451b295f8676b42_94735205.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4bfce533842f0699616333ad86fe328d_20432469.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/98170992528c4bb4f9c1bd77431b7dba_78474571.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/17963bfe4f7f60561eb8d23836cfdd46_26045684.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a1df3b644c19298590667a66fb645654_66593733.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ea659e605285df6c91dfd442178d4788_30271777.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/98170992528c4bb4f9c1bd77431b7dba_53770377.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/17963bfe4f7f60561eb8d23836cfdd46_59063092.png change filename to text .imagette223846011745552884/ imagette223846011745552884/1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518675_0.png.png imagette223846011745552884/1745497992_957131_1353381003_5206fa7e47644924e675c6dd8072492d_rle_crop_3767518659_0.png.png imagette223846011745552884/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526253_0.png.png imagette223846011745552884/1745500620_978964_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527444_0.png.png imagette223846011745552884/1745498353_960399_1353382603_e7fc70cacc23215ab6a2a47505732fc7_rle_crop_3767527444_0.png.png imagette223846011745552884/1745500620_978964_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527459_0.png.png imagette223846011745552884/1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527506_0.png.png imagette223846011745552884/1745500632_979107_1353381473_40efa50aa32b0ccd43e242de2a7d978c_rle_crop_3767563302_0.png.png imagette223846011745552884/1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527506_0.png.png imagette223846011745552884/1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518680_0.png.png imagette223846011745552884/1745498353_960399_1353382592_04a6dd18357070e9f049af3be57a4846_rle_crop_3767527459_0.png.png imagette223846011745552884/1745497992_957131_1353381007_12a4e275ba9d23cd38b42c5003159450_rle_crop_3767518643_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1df6cdd2fa038bdc6a7b0e964b6eb5d5_73833121.png imagette223846011745552884 22384590 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=22384590 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353383174: '1745498510_46028_1353383020_508ca82a55b10e1b33da12f2b574241d_rle_crop_3767529266_0.png', 1353390354: '1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527510_0.png', 1353390353: '1745500620_978964_1353382845_2a0bc452e45d81cdf20b1c7ca442be2b_rle_crop_3767563262_0.png', 1353390316: '1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529286_0.png', 1353390315: '1745500574_978503_1353383020_508ca82a55b10e1b33da12f2b574241d_rle_crop_3767529266_0.png', 1353384964: '1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533474_0.png', 1353384963: '1745499072_967839_1353383541_7ed642936dc045be9df1e463da021344_rle_crop_3767533717_0.png', 1353384733: '1745498983_55351_1353384214_333c6a76e7680ec22146401842769c25_rle_crop_3767533175_0.png', 1353383175: '1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529286_0.png', 1353381835: '1745497992_957131_1353381476_68eb23b16a239d22350f76a885b9e552_rle_crop_3767518637_0.png', 1353383100: '1745498471_961993_1353382822_6e265852dec5b02617918d476922f20f_rle_crop_3767529177_0.png', 1353383099: '1745498471_961993_1353382826_8bc116c43fa11cd065c05f3bdf600648_rle_crop_3767529152_0.png', 1353383098: '1745498471_961993_1353382826_8bc116c43fa11cd065c05f3bdf600648_rle_crop_3767529150_0.png', 1353383097: '1745498471_961993_1353383026_f0765df10b0b4b6a0c0702bd1472685c_rle_crop_3767529144_0.png', 1353382977: '1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527510_0.png', 1353382474: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526260_0.png', 1353382160: '1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519885_0.png', 1353381836: '1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518696_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e627d0772dd76c035bcfbac1bc5b4fbe_48904766.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4cf540f79fb7610b9a378f988b6d3a73_60675245.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1762b1552eb569003feeef2095f248ff_84660894.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6429f254a5d24521d31dae8c442db67c_42581410.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e627d0772dd76c035bcfbac1bc5b4fbe_33899791.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/acb38f47213b20d73e4afa0dbff5bd43_4566013.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/677930223b64434bad4baf54d42fa87b_88762441.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4213587869b46bfb9fbe46c00deec3de_55259055.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6429f254a5d24521d31dae8c442db67c_27327508.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0c47c89590657c31bea972b0e6e70d49_74545129.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8a5f7a286ca5b2bf3c0b9f3f0c23f537_88380917.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b062fb33a58d4d3f1390b4242487605c_88806332.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/70b81ef88b14d1ee7a00ceb7104374a1_55463548.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eadb9aaab83db785e957957a976581d8_73044975.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4cf540f79fb7610b9a378f988b6d3a73_96833260.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fb22c2883aa6b0529d15316f6f1b192f_33498973.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8a3d861aa04ea7b42c772dca79343d71_93089463.png change filename to text .imagette223845901745552885/ imagette223845901745552885/1745498471_961993_1353383026_f0765df10b0b4b6a0c0702bd1472685c_rle_crop_3767529144_0.png.png imagette223845901745552885/1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533474_0.png.png imagette223845901745552885/1745497992_957131_1353381476_68eb23b16a239d22350f76a885b9e552_rle_crop_3767518637_0.png.png imagette223845901745552885/1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527510_0.png.png imagette223845901745552885/1745498983_55351_1353384214_333c6a76e7680ec22146401842769c25_rle_crop_3767533175_0.png.png imagette223845901745552885/1745498471_961993_1353382822_6e265852dec5b02617918d476922f20f_rle_crop_3767529177_0.png.png imagette223845901745552885/1745500574_978503_1353383020_508ca82a55b10e1b33da12f2b574241d_rle_crop_3767529266_0.png.png imagette223845901745552885/1745498112_958217_1353381860_e230381a52d4059ff9478c54706a9da9_rle_crop_3767519885_0.png.png imagette223845901745552885/1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527510_0.png.png imagette223845901745552885/1745500620_978964_1353382845_2a0bc452e45d81cdf20b1c7ca442be2b_rle_crop_3767563262_0.png.png imagette223845901745552885/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526260_0.png.png imagette223845901745552885/1745499072_967839_1353383541_7ed642936dc045be9df1e463da021344_rle_crop_3767533717_0.png.png imagette223845901745552885/1745498471_961993_1353382826_8bc116c43fa11cd065c05f3bdf600648_rle_crop_3767529152_0.png.png imagette223845901745552885/1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529286_0.png.png imagette223845901745552885/1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529286_0.png.png imagette223845901745552885/1745498510_46028_1353383020_508ca82a55b10e1b33da12f2b574241d_rle_crop_3767529266_0.png.png imagette223845901745552885/1745497992_957131_1353380993_9b60dd9b7a0a0ac207940e23eff0867f_rle_crop_3767518696_0.png.png imagette223845901745552885/1745498471_961993_1353382826_8bc116c43fa11cd065c05f3bdf600648_rle_crop_3767529150_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/69ff2f09bd6352e381bb1d6267a87238_24051568.png imagette223845901745552885 22384592 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=22384592 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353382163: '1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519905_0.png', 1353382480: '1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526267_0.png', 1353382983: '1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527503_0.png', 1353383177: '1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529285_0.png', 1353384978: '1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533471_0.png', 1353390318: '1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529285_0.png', 1353390359: '1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563343_0.png', 1353390360: '1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563374_0.png', 1353390361: '1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527503_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/25549e25c378ee7bea055ed8102cc6e5_9963530.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/228dabee6ce1d25400f7191154db7f8a_28404615.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/15c3cd5ed5153430ecfd0f3f13c65a24_61487653.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b24307c44743886e06c2e7c6eb4dc6f1_28941352.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/923bcb06859d2061ade238447d16f479_55773467.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b24307c44743886e06c2e7c6eb4dc6f1_58576295.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ffe296263370ecbbf20dc7427907fb8a_90970398.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f967788dab1c85bc56f71ebcffead441_15860724.png change filename to text .imagette223845921745552887/ imagette223845921745552887/1745498510_46028_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529285_0.png.png imagette223845921745552887/1745498112_958217_1353381747_cf6befbaa367f8ab8775ab7d125c09a1_rle_crop_3767519905_0.png.png imagette223845921745552887/1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563374_0.png.png imagette223845921745552887/1745500574_978503_1353383000_23dafc04913bd10096806a91756a67fd_rle_crop_3767529285_0.png.png imagette223845921745552887/1745498353_960399_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527503_0.png.png imagette223845921745552887/1745499072_967839_1353383488_e3fbe8264b7a311e115c78906891d56d_rle_crop_3767533471_0.png.png imagette223845921745552887/1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526267_0.png.png imagette223845921745552887/1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563343_0.png.png imagette223845921745552887/1745500620_978964_1353382580_4cbcdb29959654dc25b07c435b540fd2_rle_crop_3767527503_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/15c3cd5ed5153430ecfd0f3f13c65a24_97230190.png imagette223845921745552887 22384599 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=22384599 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353381847: '1745497992_957131_1353381003_5206fa7e47644924e675c6dd8072492d_rle_crop_3767518663_0.png', 1353381848: '1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518679_0.png', 1353382498: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526263_0.png', 1353382499: '1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526257_0.png', 1353382500: '1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526271_0.png', 1353382998: '1745498383_43149_1353382661_066edfb25b97e2bf10b33b072e211b3a_rle_crop_3767527552_0.png', 1353384704: '1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_rle_crop_3767533084_0.png', 1353384705: '1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_bib_crop_3767533001_0.jpg', 1353384981: '1745499072_967839_1353383600_329afdfd034c7042801eec32ca7ba606_rle_crop_3767533451_0.png', 1353390319: '1745500574_978503_1353383062_3cdab86b838524608a6fbab72e485e5f_rle_crop_3767562884_0.png', 1353390365: '1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563341_0.png', 1353390366: '1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563380_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7ac2d5ccf397dcaf53fff3dcda2fee9d_37721026.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b754fc5f112369eb753bf2e830153566_42669095.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/71cfb19a2aca9dc709fc5d465021b212_57864500.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/63b0f6f3d39ede9e949fc1c8fc80b65c_32381904.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/84ebcad9fbb2deee76bb064e0e42580a_68955744.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/87e050d3f82ac253bdcb19f789053d96_19444306.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3f7495f3114f101f04e0f3295b253239_39537149.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eb94d1a0b7f46e50f24faac5d97ceba8_92062822.jpg change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b149475db837cbcc3fcade6b4c4ade7d_70928225.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e71519d8a63763748e9bc56fad45301e_60820594.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/4c1ff3c687d223bae3822b1938806049_58149511.png change filename to text .imagette223845991745552888/ imagette223845991745552888/1745499072_967839_1353383600_329afdfd034c7042801eec32ca7ba606_rle_crop_3767533451_0.png.png imagette223845991745552888/1745498383_43149_1353382661_066edfb25b97e2bf10b33b072e211b3a_rle_crop_3767527552_0.png.png imagette223845991745552888/1745497992_957131_1353381003_5206fa7e47644924e675c6dd8072492d_rle_crop_3767518663_0.png.png imagette223845991745552888/1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_rle_crop_3767533084_0.png.png imagette223845991745552888/1745500632_979107_1353381467_777a4e8197fc4906051ac4830d3cf91b_rle_crop_3767563341_0.png.png imagette223845991745552888/1745497992_957131_1353380999_69852abdf10dab7d7ee5968c29af1a07_rle_crop_3767518679_0.png.png imagette223845991745552888/1745500574_978503_1353383062_3cdab86b838524608a6fbab72e485e5f_rle_crop_3767562884_0.png.png imagette223845991745552888/1745498231_959373_1353381856_0211ac55d1a9223b01ad73209e3e3250_rle_crop_3767526271_0.png.png imagette223845991745552888/1745498952_966425_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028_bib_crop_3767533001_0.jpg.jpg imagette223845991745552888/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526257_0.png.png imagette223845991745552888/1745500632_979107_1353381371_9571fceaa4034973f1b0c50bd80436bd_rle_crop_3767563380_0.png.png imagette223845991745552888/1745498231_959373_1353382239_5b9ea872d05a90fa0785520a8a249566_rle_crop_3767526263_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3567fd9ee5c424ad0348b23700cd25d9_80773919.png imagette223845991745552888 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22384585 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22384603,22384604,22384605,22384606,22384607,22384608,22384609,22384610,22384611,22384612,22384613,22384614?tags=Teint_Dans_La_Masse,mal_croppe,Carton_gris,metal,papier,environnement,kraft,plastique,flou,Carton_brun,autre_refus,cartonnette your option no_mail is active, we will not send the real mail to your client args[1353384334] : ('0.062287587662996885',) no score found for photo 1353384334 We are sending mail with results at report@fotonower.com args[1353384267] : ('0.062287587662996885',) no score found for photo 1353384267 We are sending mail with results at report@fotonower.com args[1353384261] : ('0.062287587662996885',) no score found for photo 1353384261 We are sending mail with results at report@fotonower.com args[1353384255] : ('0.062287587662996885',) no score found for photo 1353384255 We are sending mail with results at report@fotonower.com args[1353384225] : ('0.062287587662996885',) no score found for photo 1353384225 We are sending mail with results at report@fotonower.com args[1353384221] : ('0.062287587662996885',) no score found for photo 1353384221 We are sending mail with results at report@fotonower.com args[1353384214] : ('0.062287587662996885',) no score found for photo 1353384214 We are sending mail with results at report@fotonower.com args[1353384176] : ('0.062287587662996885',) no score found for photo 1353384176 We are sending mail with results at report@fotonower.com args[1353383679] : ('0.062287587662996885',) no score found for photo 1353383679 We are sending mail with results at report@fotonower.com args[1353383600] : ('0.062287587662996885',) no score found for photo 1353383600 We are sending mail with results at report@fotonower.com args[1353383541] : ('0.062287587662996885',) no score found for photo 1353383541 We are sending mail with results at report@fotonower.com args[1353383488] : ('0.062287587662996885',) no score found for photo 1353383488 We are sending mail with results at report@fotonower.com args[1353383062] : ('0.062287587662996885',) no score found for photo 1353383062 We are sending mail with results at report@fotonower.com args[1353383026] : ('0.062287587662996885',) no score found for photo 1353383026 We are sending mail with results at report@fotonower.com args[1353383020] : ('0.062287587662996885',) no score found for photo 1353383020 We are sending mail with results at report@fotonower.com args[1353383000] : ('0.062287587662996885',) no score found for photo 1353383000 We are sending mail with results at report@fotonower.com args[1353382845] : ('0.062287587662996885',) no score found for photo 1353382845 We are sending mail with results at report@fotonower.com args[1353382826] : ('0.062287587662996885',) no score found for photo 1353382826 We are sending mail with results at report@fotonower.com args[1353382822] : ('0.062287587662996885',) no score found for photo 1353382822 We are sending mail with results at report@fotonower.com args[1353382661] : ('0.062287587662996885',) no score found for photo 1353382661 We are sending mail with results at report@fotonower.com args[1353382631] : ('0.062287587662996885',) no score found for photo 1353382631 We are sending mail with results at report@fotonower.com args[1353382603] : ('0.062287587662996885',) no score found for photo 1353382603 We are sending mail with results at report@fotonower.com args[1353382592] : ('0.062287587662996885',) no score found for photo 1353382592 We are sending mail with results at report@fotonower.com args[1353382580] : ('0.062287587662996885',) no score found for photo 1353382580 We are sending mail with results at report@fotonower.com args[1353382327] : ('0.062287587662996885',) no score found for photo 1353382327 We are sending mail with results at report@fotonower.com args[1353382323] : ('0.062287587662996885',) no score found for photo 1353382323 We are sending mail with results at report@fotonower.com args[1353382239] : ('0.062287587662996885',) no score found for photo 1353382239 We are sending mail with results at report@fotonower.com args[1353382235] : ('0.062287587662996885',) no score found for photo 1353382235 We are sending mail with results at report@fotonower.com args[1353381860] : ('0.062287587662996885',) no score found for photo 1353381860 We are sending mail with results at report@fotonower.com args[1353381856] : ('0.062287587662996885',) no score found for photo 1353381856 We are sending mail with results at report@fotonower.com args[1353381802] : ('0.062287587662996885',) no score found for photo 1353381802 We are sending mail with results at report@fotonower.com args[1353381797] : ('0.062287587662996885',) no score found for photo 1353381797 We are sending mail with results at report@fotonower.com args[1353381771] : ('0.062287587662996885',) no score found for photo 1353381771 We are sending mail with results at report@fotonower.com args[1353381753] : ('0.062287587662996885',) no score found for photo 1353381753 We are sending mail with results at report@fotonower.com args[1353381747] : ('0.062287587662996885',) no score found for photo 1353381747 We are sending mail with results at report@fotonower.com args[1353381476] : ('0.062287587662996885',) no score found for photo 1353381476 We are sending mail with results at report@fotonower.com args[1353381473] : ('0.062287587662996885',) no score found for photo 1353381473 We are sending mail with results at report@fotonower.com args[1353381467] : ('0.062287587662996885',) no score found for photo 1353381467 We are sending mail with results at report@fotonower.com args[1353381371] : ('0.062287587662996885',) no score found for photo 1353381371 We are sending mail with results at report@fotonower.com args[1353381007] : ('0.062287587662996885',) no score found for photo 1353381007 We are sending mail with results at report@fotonower.com args[1353381003] : ('0.062287587662996885',) no score found for photo 1353381003 We are sending mail with results at report@fotonower.com args[1353380999] : ('0.062287587662996885',) no score found for photo 1353380999 We are sending mail with results at report@fotonower.com args[1353380993] : ('0.062287587662996885',) no score found for photo 1353380993 We are sending mail with results at report@fotonower.com refus_total : 0.062287587662996885 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=22384585 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_P22384585_25-04-2025_05_48_01.pdf results_Auto_P22384585_25-04-2025_05_48_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_25-04-2025_05_48_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22384585','results_Auto_P22384585_25-04-2025_05_48_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_25-04-2025_05_48_01.pdf','pdf','','0.48','0.062287587662996885') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22384585]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] map_info['map_portfolio_photo'] : {22384585: [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993]} final : False mtd_id 4302 list_pids : [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] 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, '2760788') ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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', '22384585', '1353384334', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788')] time used for this insertion : 0.018491268157958984 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.366028785705566 time spend to save output : 0.01902318000793457 total time spend for step 4 : 12.385051965713501 step5:split_time_score Fri Apr 25 05:48:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22384585'] 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 : [('22384585',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22384585) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353380993: {'path': 'temp/1745552879_4086891_1353380993_9b60dd9b7a0a0ac207940e23eff0867f.jpg', 'extension': 'jpg'}, 1353380999: {'path': 'temp/1745552879_4086891_1353380999_69852abdf10dab7d7ee5968c29af1a07.jpg', 'extension': 'jpg'}, 1353381003: {'path': 'temp/1745552879_4086891_1353381003_5206fa7e47644924e675c6dd8072492d.jpg', 'extension': 'jpg'}, 1353381007: {'path': 'temp/1745552879_4086891_1353381007_12a4e275ba9d23cd38b42c5003159450.jpg', 'extension': 'jpg'}, 1353381371: {'path': 'temp/1745552879_4086891_1353381371_9571fceaa4034973f1b0c50bd80436bd.jpg', 'extension': 'jpg'}, 1353381467: {'path': 'temp/1745552879_4086891_1353381467_777a4e8197fc4906051ac4830d3cf91b.jpg', 'extension': 'jpg'}, 1353381473: {'path': 'temp/1745552879_4086891_1353381473_40efa50aa32b0ccd43e242de2a7d978c.jpg', 'extension': 'jpg'}, 1353381476: {'path': 'temp/1745552879_4086891_1353381476_68eb23b16a239d22350f76a885b9e552.jpg', 'extension': 'jpg'}, 1353381747: {'path': 'temp/1745552879_4086891_1353381747_cf6befbaa367f8ab8775ab7d125c09a1.jpg', 'extension': 'jpg'}, 1353381753: {'path': 'temp/1745552879_4086891_1353381753_5b7ef7a8ab413b3b274d2e94c873768d.jpg', 'extension': 'jpg'}, 1353381771: {'path': 'temp/1745552879_4086891_1353381771_6d81a004a4a0401708407d76a8c52425.jpg', 'extension': 'jpg'}, 1353381797: {'path': 'temp/1745552879_4086891_1353381797_6904e661335ca3ffcf003be364f4a534.jpg', 'extension': 'jpg'}, 1353381802: {'path': 'temp/1745552879_4086891_1353381802_0c3d9f9765abcd1964163531f681b5f2.jpg', 'extension': 'jpg'}, 1353381856: {'path': 'temp/1745552879_4086891_1353381856_0211ac55d1a9223b01ad73209e3e3250.jpg', 'extension': 'jpg'}, 1353381860: {'path': 'temp/1745552879_4086891_1353381860_e230381a52d4059ff9478c54706a9da9.jpg', 'extension': 'jpg'}, 1353382235: {'path': 'temp/1745552879_4086891_1353382235_4e0c408a8940548650c1dc951ed9a258.jpg', 'extension': 'jpg'}, 1353382239: {'path': 'temp/1745552879_4086891_1353382239_5b9ea872d05a90fa0785520a8a249566.jpg', 'extension': 'jpg'}, 1353382323: {'path': 'temp/1745552879_4086891_1353382323_aad24581ce17370fddff0307cb361d59.jpg', 'extension': 'jpg'}, 1353383000: {'path': 'temp/1745552879_4086891_1353383000_23dafc04913bd10096806a91756a67fd.jpg', 'extension': 'jpg'}, 1353383020: {'path': 'temp/1745552879_4086891_1353383020_508ca82a55b10e1b33da12f2b574241d.jpg', 'extension': 'jpg'}, 1353383026: {'path': 'temp/1745552879_4086891_1353383026_f0765df10b0b4b6a0c0702bd1472685c.jpg', 'extension': 'jpg'}, 1353383062: {'path': 'temp/1745552879_4086891_1353383062_3cdab86b838524608a6fbab72e485e5f.jpg', 'extension': 'jpg'}, 1353383488: {'path': 'temp/1745552879_4086891_1353383488_e3fbe8264b7a311e115c78906891d56d.jpg', 'extension': 'jpg'}, 1353383541: {'path': 'temp/1745552879_4086891_1353383541_7ed642936dc045be9df1e463da021344.jpg', 'extension': 'jpg'}, 1353383600: {'path': 'temp/1745552879_4086891_1353383600_329afdfd034c7042801eec32ca7ba606.jpg', 'extension': 'jpg'}, 1353383679: {'path': 'temp/1745552879_4086891_1353383679_5b35b5eaddd8c850e3b0f348f52e06a4.jpg', 'extension': 'jpg'}, 1353384176: {'path': 'temp/1745552879_4086891_1353384176_4ef12692efcd45688bc451f0d5f77970.jpg', 'extension': 'jpg'}, 1353382327: {'path': 'temp/1745552879_4086891_1353382327_e4e2e3a309ff2113604adaf2b3d7c4f0.jpg', 'extension': 'jpg'}, 1353382580: {'path': 'temp/1745552879_4086891_1353382580_4cbcdb29959654dc25b07c435b540fd2.jpg', 'extension': 'jpg'}, 1353382592: {'path': 'temp/1745552879_4086891_1353382592_04a6dd18357070e9f049af3be57a4846.jpg', 'extension': 'jpg'}, 1353382603: {'path': 'temp/1745552879_4086891_1353382603_e7fc70cacc23215ab6a2a47505732fc7.jpg', 'extension': 'jpg'}, 1353382631: {'path': 'temp/1745552879_4086891_1353382631_370499263bcfe9c5d88279bce5a83cfe.jpg', 'extension': 'jpg'}, 1353382661: {'path': 'temp/1745552879_4086891_1353382661_066edfb25b97e2bf10b33b072e211b3a.jpg', 'extension': 'jpg'}, 1353382822: {'path': 'temp/1745552879_4086891_1353382822_6e265852dec5b02617918d476922f20f.jpg', 'extension': 'jpg'}, 1353382826: {'path': 'temp/1745552879_4086891_1353382826_8bc116c43fa11cd065c05f3bdf600648.jpg', 'extension': 'jpg'}, 1353382845: {'path': 'temp/1745552879_4086891_1353382845_2a0bc452e45d81cdf20b1c7ca442be2b.jpg', 'extension': 'jpg'}, 1353384214: {'path': 'temp/1745552879_4086891_1353384214_333c6a76e7680ec22146401842769c25.jpg', 'extension': 'jpg'}, 1353384221: {'path': 'temp/1745552879_4086891_1353384221_5dfc3b7d07ae0736d71fca5826c61fb1.jpg', 'extension': 'jpg'}, 1353384225: {'path': 'temp/1745552879_4086891_1353384225_84dcc38a9bb2cdc02e05fe9ec4ac49fb.jpg', 'extension': 'jpg'}, 1353384255: {'path': 'temp/1745552879_4086891_1353384255_15e54503ac12e91b4de8a0f4ce2b92b5.jpg', 'extension': 'jpg'}, 1353384261: {'path': 'temp/1745552879_4086891_1353384261_a76a1b98948f50d0669539f8c147e7b9.jpg', 'extension': 'jpg'}, 1353384267: {'path': 'temp/1745552879_4086891_1353384267_221a6f7ddb0c9b5f26abe0a30f8ff1da.jpg', 'extension': 'jpg'}, 1353384334: {'path': 'temp/1745552879_4086891_1353384334_a89e1e43fc0ecb9b1b9b44e2a7903028.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 = 22384585; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22384585 group by h (('14', 43),) 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=22384585 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 (22384585) 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 (22384585) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24042025 22384585 Nombre de photos uploadées : 43 / 23040 (0%) 24042025 22384585 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 24042025 22384585 Nombre de photos taguées (volume) : 0 / 43 (0%) [{'photo_id': 1353381007, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/12a4e275ba9d23cd38b42c5003159450.jpg', 'username': None, 'uploaded_at': 1745497867, 'text': 'image_24042025_14_30_15_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353381003, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5206fa7e47644924e675c6dd8072492d.jpg', 'username': None, 'uploaded_at': 1745497867, 'text': 'image_24042025_14_30_25_010136m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1353380999, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/69852abdf10dab7d7ee5968c29af1a07.jpg', 'username': None, 'uploaded_at': 1745497867, 'text': 'image_24042025_14_30_35_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1353380993, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9b60dd9b7a0a0ac207940e23eff0867f.jpg', 'username': None, 'uploaded_at': 1745497867, 'text': 'image_24042025_14_30_45_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020380020141601562 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22384585, '2025-04-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1743777,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021983861923217773 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= 1743777 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22364845, 'dashboard_result_id': 10091804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22364940, 'dashboard_result_id': 10091805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365435, 'dashboard_result_id': 10091806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365436, 'dashboard_result_id': 10091807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365571, 'dashboard_result_id': 10091808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365928, 'dashboard_result_id': 10091809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22366604, 'dashboard_result_id': 10091810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22367709, 'dashboard_result_id': 10091811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22367997, 'dashboard_result_id': 10091812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22368394, 'dashboard_result_id': 10091813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22368844, 'dashboard_result_id': 10091814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22369326, 'dashboard_result_id': 10091815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22369768, 'dashboard_result_id': 10091816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_25-04-2025_05_42_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370237, 'dashboard_result_id': 10091817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370495, 'dashboard_result_id': 10091818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370825, 'dashboard_result_id': 10091819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_25-04-2025_05_42_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22371527, 'dashboard_result_id': 10091820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_25-04-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22372069, 'dashboard_result_id': 10091821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_25-04-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22372881, 'dashboard_result_id': 10091822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_25-04-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22373509, 'dashboard_result_id': 10091823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_25-04-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22374509, 'dashboard_result_id': 10091824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_25-04-2025_05_45_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22375127, 'dashboard_result_id': 10091825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_25-04-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22376038, 'dashboard_result_id': 10091826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_05_45_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22381488, 'dashboard_result_id': 10091827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_25-04-2025_05_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22381997, 'dashboard_result_id': 10091828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_25-04-2025_05_46_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22382953, 'dashboard_result_id': 10091829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_25-04-2025_05_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22383692, 'dashboard_result_id': 10091830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_25-04-2025_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22384585, 'dashboard_result_id': 10091831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_24-04-2025_14_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22385919, 'dashboard_result_id': 10091832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22386105, 'dashboard_result_id': 10091833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22386532, 'dashboard_result_id': 10091834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387089, 'dashboard_result_id': 10091835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387635, 'dashboard_result_id': 10091836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387956, 'dashboard_result_id': 10091837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22388968, 'dashboard_result_id': 10091838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22389487, 'dashboard_result_id': 10091839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22390166, 'dashboard_result_id': 10091840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22391365, 'dashboard_result_id': 10091841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22391982, 'dashboard_result_id': 10091842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22392453, 'dashboard_result_id': 10091843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22392883, 'dashboard_result_id': 10091844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22393323, 'dashboard_result_id': 10091845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22394050, 'dashboard_result_id': 10091846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22394741, 'dashboard_result_id': 10091847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22395373, 'dashboard_result_id': 10091848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22395952, 'dashboard_result_id': 10091849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22396625, 'dashboard_result_id': 10091850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22397613, 'dashboard_result_id': 10091851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398306, 'dashboard_result_id': 10091852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398412, 'dashboard_result_id': 10091853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398957, 'dashboard_result_id': 10091854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22399545, 'dashboard_result_id': 10091855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22400562, 'dashboard_result_id': 10091856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22401543, 'dashboard_result_id': 10091857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22402470, 'dashboard_result_id': 10091858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22403475, 'dashboard_result_id': 10091859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22404342, 'dashboard_result_id': 10091860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22405149, 'dashboard_result_id': 10091861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22405977, 'dashboard_result_id': 10091862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22413934, 'dashboard_result_id': 10091863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, '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 = 22364845 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760761, 'mtr_portfolio_id': 22364845, 'created_at': datetime.datetime(2025, 4, 25, 5, 34, 29), 'result': '0.0917488642218522', 'result_long': None, 'result_double': None}] Qualite : 0.0917488642218522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22364845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22364845 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, 'pht': 3726}}" where mtr_portfolio_id = 22364845 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22364845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091804, 0.0917488642218522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22364940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760762, 'mtr_portfolio_id': 22364940, 'created_at': datetime.datetime(2025, 4, 25, 5, 34, 58), 'result': '0.0419656379462685', 'result_long': None, 'result_double': None}] Qualite : 0.0419656379462685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22364940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22364940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, 'pht': 3726}}" where mtr_portfolio_id = 22364940 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22364940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091805, 0.0419656379462685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22365435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760763, 'mtr_portfolio_id': 22365435, 'created_at': datetime.datetime(2025, 4, 25, 5, 35, 31), 'result': '0.0010840822754716792', 'result_long': None, 'result_double': None}] Qualite : 0.0010840822754716792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, 'pht': 3726}}" where mtr_portfolio_id = 22365435 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22365435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091806, 0.0010840822754716792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22365436 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760764, 'mtr_portfolio_id': 22365436, 'created_at': datetime.datetime(2025, 4, 25, 5, 36), 'result': '0.03747300275967765', 'result_long': None, 'result_double': None}] Qualite : 0.03747300275967765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365436 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, 'pht': 3726}}" where mtr_portfolio_id = 22365436 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22365436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091807, 0.03747300275967765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22365571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760765, 'mtr_portfolio_id': 22365571, 'created_at': datetime.datetime(2025, 4, 25, 5, 36, 29), 'result': '0.082238356799411', 'result_long': None, 'result_double': None}] Qualite : 0.082238356799411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, 'pht': 3726}}" where mtr_portfolio_id = 22365571 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22365571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091808, 0.082238356799411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22365928 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760766, 'mtr_portfolio_id': 22365928, 'created_at': datetime.datetime(2025, 4, 25, 5, 36, 59), 'result': '0.02933044096210178', 'result_long': None, 'result_double': None}] Qualite : 0.02933044096210178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365928 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, 'pht': 3726}}" where mtr_portfolio_id = 22365928 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22365928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091809, 0.02933044096210178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22366604 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760767, 'mtr_portfolio_id': 22366604, 'created_at': datetime.datetime(2025, 4, 25, 5, 37, 27), 'result': '0.11564601982178765', 'result_long': None, 'result_double': None}] Qualite : 0.11564601982178765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22366604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22366604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, 'pht': 3726}}" where mtr_portfolio_id = 22366604 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22366604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091810, 0.11564601982178765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22367709 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760768, 'mtr_portfolio_id': 22367709, 'created_at': datetime.datetime(2025, 4, 25, 5, 37, 59), 'result': '0.04997587747792928', 'result_long': None, 'result_double': None}] Qualite : 0.04997587747792928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22367709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22367709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, 'pht': 3726}}" where mtr_portfolio_id = 22367709 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22367709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091811, 0.04997587747792928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22367997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760769, 'mtr_portfolio_id': 22367997, 'created_at': datetime.datetime(2025, 4, 25, 5, 38, 28), 'result': '0.05971901742655535', 'result_long': None, 'result_double': None}] Qualite : 0.05971901742655535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22367997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22367997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, 'pht': 3726}}" where mtr_portfolio_id = 22367997 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22367997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091812, 0.05971901742655535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22368394 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760770, 'mtr_portfolio_id': 22368394, 'created_at': datetime.datetime(2025, 4, 25, 5, 39, 58), 'result': '0.04948645899603621', 'result_long': None, 'result_double': None}] Qualite : 0.04948645899603621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22368394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22368394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, 'pht': 3726}}" where mtr_portfolio_id = 22368394 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22368394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091813, 0.04948645899603621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22368844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760771, 'mtr_portfolio_id': 22368844, 'created_at': datetime.datetime(2025, 4, 25, 5, 40, 29), 'result': '0.04896268542682995', 'result_long': None, 'result_double': None}] Qualite : 0.04896268542682995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22368844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22368844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, 'pht': 3726}}" where mtr_portfolio_id = 22368844 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22368844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091814, 0.04896268542682995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22369326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760772, 'mtr_portfolio_id': 22369326, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 1), 'result': '0.04968487950685798', 'result_long': None, 'result_double': None}] Qualite : 0.04968487950685798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22369326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22369326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, 'pht': 3726}}" where mtr_portfolio_id = 22369326 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22369326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091815, 0.04968487950685798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22369768 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760773, 'mtr_portfolio_id': 22369768, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 54), 'result': '0.05583006250254626', 'result_long': None, 'result_double': None}] Qualite : 0.05583006250254626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22369768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_25-04-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22369768 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_25-04-2025_05_42_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, 'pht': 3726}}" where mtr_portfolio_id = 22369768 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22369768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091816, 0.05583006250254626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_25-04-2025_05_42_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22370237 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760774, 'mtr_portfolio_id': 22370237, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 29), 'result': '0.06399015019889298', 'result_long': None, 'result_double': None}] Qualite : 0.06399015019889298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, 'pht': 3726}}" where mtr_portfolio_id = 22370237 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22370237 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091817, 0.06399015019889298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22370495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760775, 'mtr_portfolio_id': 22370495, 'created_at': datetime.datetime(2025, 4, 25, 5, 42), 'result': '0.049127491448999173', 'result_long': None, 'result_double': None}] Qualite : 0.049127491448999173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, 'pht': 3726}}" where mtr_portfolio_id = 22370495 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22370495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091818, 0.049127491448999173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22370825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760776, 'mtr_portfolio_id': 22370825, 'created_at': datetime.datetime(2025, 4, 25, 5, 42, 28), 'result': '0.06626768049206871', 'result_long': None, 'result_double': None}] Qualite : 0.06626768049206871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_25-04-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_25-04-2025_05_42_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, 'pht': 3726}}" where mtr_portfolio_id = 22370825 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22370825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091819, 0.06626768049206871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_25-04-2025_05_42_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22371527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760777, 'mtr_portfolio_id': 22371527, 'created_at': datetime.datetime(2025, 4, 25, 5, 42, 56), 'result': '0.05310372642170261', 'result_long': None, 'result_double': None}] Qualite : 0.05310372642170261 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22371527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_25-04-2025_05_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22371527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_25-04-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, 'pht': 3726}}" where mtr_portfolio_id = 22371527 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22371527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091820, 0.05310372642170261, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_25-04-2025_05_43_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22372069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760778, 'mtr_portfolio_id': 22372069, 'created_at': datetime.datetime(2025, 4, 25, 5, 43, 28), 'result': '0.05434883487889271', 'result_long': None, 'result_double': None}] Qualite : 0.05434883487889271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22372069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_25-04-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22372069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_25-04-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, 'pht': 3726}}" where mtr_portfolio_id = 22372069 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22372069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091821, 0.05434883487889271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_25-04-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22372881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760779, 'mtr_portfolio_id': 22372881, 'created_at': datetime.datetime(2025, 4, 25, 5, 43, 58), 'result': '0.0552527428390075', 'result_long': None, 'result_double': None}] Qualite : 0.0552527428390075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22372881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_25-04-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22372881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_25-04-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, 'pht': 3726}}" where mtr_portfolio_id = 22372881 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22372881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091822, 0.0552527428390075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_25-04-2025_05_44_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22373509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760780, 'mtr_portfolio_id': 22373509, 'created_at': datetime.datetime(2025, 4, 25, 5, 44, 28), 'result': '0.04152469728410976', 'result_long': None, 'result_double': None}] Qualite : 0.04152469728410976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22373509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_25-04-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22373509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_25-04-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, 'pht': 3726}}" where mtr_portfolio_id = 22373509 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22373509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091823, 0.04152469728410976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_25-04-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22374509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760781, 'mtr_portfolio_id': 22374509, 'created_at': datetime.datetime(2025, 4, 25, 5, 44, 59), 'result': '0.044541210468589894', 'result_long': None, 'result_double': None}] Qualite : 0.044541210468589894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22374509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_25-04-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22374509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_25-04-2025_05_45_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, 'pht': 3726}}" where mtr_portfolio_id = 22374509 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22374509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091824, 0.044541210468589894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_25-04-2025_05_45_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22375127 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760782, 'mtr_portfolio_id': 22375127, 'created_at': datetime.datetime(2025, 4, 25, 5, 45, 30), 'result': '0.059046609911476006', 'result_long': None, 'result_double': None}] Qualite : 0.059046609911476006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22375127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_25-04-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22375127 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_25-04-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, 'pht': 3726}}" where mtr_portfolio_id = 22375127 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22375127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091825, 0.059046609911476006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_25-04-2025_05_45_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22376038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760783, 'mtr_portfolio_id': 22376038, 'created_at': datetime.datetime(2025, 4, 25, 5, 45, 41), 'result': '0.04218582708402632', 'result_long': None, 'result_double': None}] Qualite : 0.04218582708402632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22376038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_05_45_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22376038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_05_45_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, 'pht': 3726}}" where mtr_portfolio_id = 22376038 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22376038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091826, 0.04218582708402632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_05_45_45.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22381488 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760784, 'mtr_portfolio_id': 22381488, 'created_at': datetime.datetime(2025, 4, 25, 5, 45, 59), 'result': '0.08052417570495979', 'result_long': None, 'result_double': None}] Qualite : 0.08052417570495979 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22381488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_25-04-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22381488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_25-04-2025_05_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, 'pht': 3726}}" where mtr_portfolio_id = 22381488 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22381488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091827, 0.08052417570495979, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_25-04-2025_05_46_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22381997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760785, 'mtr_portfolio_id': 22381997, 'created_at': datetime.datetime(2025, 4, 25, 5, 46, 28), 'result': '0.05413343529809315', 'result_long': None, 'result_double': None}] Qualite : 0.05413343529809315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22381997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_25-04-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22381997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_25-04-2025_05_46_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, 'pht': 3726}}" where mtr_portfolio_id = 22381997 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22381997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091828, 0.05413343529809315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_25-04-2025_05_46_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22382953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760786, 'mtr_portfolio_id': 22382953, 'created_at': datetime.datetime(2025, 4, 25, 5, 46, 58), 'result': '0.04174086255024642', 'result_long': None, 'result_double': None}] Qualite : 0.04174086255024642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22382953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_25-04-2025_05_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22382953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_25-04-2025_05_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, 'pht': 3726}}" where mtr_portfolio_id = 22382953 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22382953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091829, 0.04174086255024642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_25-04-2025_05_47_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22383692 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760787, 'mtr_portfolio_id': 22383692, 'created_at': datetime.datetime(2025, 4, 25, 5, 47, 28), 'result': '0.04524950678377007', 'result_long': None, 'result_double': None}] Qualite : 0.04524950678377007 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22383692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_25-04-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22383692 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_25-04-2025_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, 'pht': 3726}}" where mtr_portfolio_id = 22383692 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22383692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091830, 0.04524950678377007, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_25-04-2025_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22384585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760788, 'mtr_portfolio_id': 22384585, 'created_at': datetime.datetime(2025, 4, 25, 5, 47, 58), 'result': '0.062287587662996885', 'result_long': None, 'result_double': None}] Qualite : 0.062287587662996885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22384585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_25-04-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22384585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_25-04-2025_05_48_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, 'pht': 3726}}" where mtr_portfolio_id = 22384585 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22384585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091831, 0.062287587662996885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_25-04-2025_05_48_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22385919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757732, 'mtr_portfolio_id': 22385919, 'created_at': datetime.datetime(2025, 4, 24, 15, 34, 59), 'result': '0.09178398317884932', 'result_long': None, 'result_double': None}] Qualite : 0.09178398317884932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22385919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22385919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, 'pht': 3726}}" where mtr_portfolio_id = 22385919 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22385919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091832, 0.09178398317884932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22386105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757750, 'mtr_portfolio_id': 22386105, 'created_at': datetime.datetime(2025, 4, 24, 15, 47), 'result': '0.06124602521363633', 'result_long': None, 'result_double': None}] Qualite : 0.06124602521363633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22386105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22386105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, 'pht': 3726}}" where mtr_portfolio_id = 22386105 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22386105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091833, 0.06124602521363633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22386532 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757807, 'mtr_portfolio_id': 22386532, 'created_at': datetime.datetime(2025, 4, 24, 16, 2, 30), 'result': '0.05765260509667263', 'result_long': None, 'result_double': None}] Qualite : 0.05765260509667263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22386532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22386532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, 'pht': 3726}}" where mtr_portfolio_id = 22386532 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22386532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091834, 0.05765260509667263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22387089 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757900, 'mtr_portfolio_id': 22387089, 'created_at': datetime.datetime(2025, 4, 24, 16, 17, 1), 'result': '0.05648683752681784', 'result_long': None, 'result_double': None}] Qualite : 0.05648683752681784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, 'pht': 3726}}" where mtr_portfolio_id = 22387089 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22387089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091835, 0.05648683752681784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22387635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757938, 'mtr_portfolio_id': 22387635, 'created_at': datetime.datetime(2025, 4, 24, 16, 32, 59), 'result': '0.0720265064539904', 'result_long': None, 'result_double': None}] Qualite : 0.0720265064539904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, 'pht': 3726}}" where mtr_portfolio_id = 22387635 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22387635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091836, 0.0720265064539904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22387956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2757992, 'mtr_portfolio_id': 22387956, 'created_at': datetime.datetime(2025, 4, 24, 16, 50, 59), 'result': '0.05543258693448774', 'result_long': None, 'result_double': None}] Qualite : 0.05543258693448774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, 'pht': 3726}}" where mtr_portfolio_id = 22387956 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22387956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091837, 0.05543258693448774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22388968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758072, 'mtr_portfolio_id': 22388968, 'created_at': datetime.datetime(2025, 4, 24, 17, 4, 58), 'result': '0.06352964092713036', 'result_long': None, 'result_double': None}] Qualite : 0.06352964092713036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22388968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22388968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, 'pht': 3726}}" where mtr_portfolio_id = 22388968 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22388968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091838, 0.06352964092713036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22389487 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758126, 'mtr_portfolio_id': 22389487, 'created_at': datetime.datetime(2025, 4, 24, 17, 18, 59), 'result': '0.05770817470709239', 'result_long': None, 'result_double': None}] Qualite : 0.05770817470709239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22389487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22389487 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, 'pht': 3726}}" where mtr_portfolio_id = 22389487 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22389487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091839, 0.05770817470709239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22390166 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758173, 'mtr_portfolio_id': 22390166, 'created_at': datetime.datetime(2025, 4, 24, 17, 32, 30), 'result': '0.06113605016141997', 'result_long': None, 'result_double': None}] Qualite : 0.06113605016141997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22390166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22390166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, 'pht': 3726}}" where mtr_portfolio_id = 22390166 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22390166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091840, 0.06113605016141997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22391365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758389, 'mtr_portfolio_id': 22391365, 'created_at': datetime.datetime(2025, 4, 24, 18, 20, 58), 'result': '0.051908386847678525', 'result_long': None, 'result_double': None}] Qualite : 0.051908386847678525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22391365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22391365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, 'pht': 3726}}" where mtr_portfolio_id = 22391365 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22391365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091841, 0.051908386847678525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22391982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758440, 'mtr_portfolio_id': 22391982, 'created_at': datetime.datetime(2025, 4, 24, 18, 33), 'result': '0.05254239459125022', 'result_long': None, 'result_double': None}] Qualite : 0.05254239459125022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22391982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22391982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, 'pht': 3726}}" where mtr_portfolio_id = 22391982 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22391982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091842, 0.05254239459125022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22392453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758496, 'mtr_portfolio_id': 22392453, 'created_at': datetime.datetime(2025, 4, 24, 18, 48, 57), 'result': '0.07075174923897375', 'result_long': None, 'result_double': None}] Qualite : 0.07075174923897375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, 'pht': 3726}}" where mtr_portfolio_id = 22392453 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22392453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091843, 0.07075174923897375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22392883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758545, 'mtr_portfolio_id': 22392883, 'created_at': datetime.datetime(2025, 4, 24, 19, 2, 32), 'result': '0.07720033540700966', 'result_long': None, 'result_double': None}] Qualite : 0.07720033540700966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}" where mtr_portfolio_id = 22392883 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22392883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091844, 0.07720033540700966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22393323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758607, 'mtr_portfolio_id': 22393323, 'created_at': datetime.datetime(2025, 4, 24, 19, 17), 'result': '0.07177438740590858', 'result_long': None, 'result_double': None}] Qualite : 0.07177438740590858 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22393323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22393323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}" where mtr_portfolio_id = 22393323 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22393323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091845, 0.07177438740590858, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22394050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758650, 'mtr_portfolio_id': 22394050, 'created_at': datetime.datetime(2025, 4, 24, 19, 34, 59), 'result': '0.05536436296369449', 'result_long': None, 'result_double': None}] Qualite : 0.05536436296369449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}" where mtr_portfolio_id = 22394050 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22394050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091846, 0.05536436296369449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22394741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758727, 'mtr_portfolio_id': 22394741, 'created_at': datetime.datetime(2025, 4, 24, 19, 46, 59), 'result': '0.06821332546530194', 'result_long': None, 'result_double': None}] Qualite : 0.06821332546530194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}" where mtr_portfolio_id = 22394741 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22394741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091847, 0.06821332546530194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22395373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758767, 'mtr_portfolio_id': 22395373, 'created_at': datetime.datetime(2025, 4, 24, 20, 3), 'result': '0.06351724721165095', 'result_long': None, 'result_double': None}] Qualite : 0.06351724721165095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22395373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22395373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, 'pht': 3726}}" where mtr_portfolio_id = 22395373 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22395373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091848, 0.06351724721165095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22395952 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758833, 'mtr_portfolio_id': 22395952, 'created_at': datetime.datetime(2025, 4, 24, 20, 18, 58), 'result': '0.04074928029968472', 'result_long': None, 'result_double': None}] Qualite : 0.04074928029968472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22395952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22395952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, 'pht': 3726}}" where mtr_portfolio_id = 22395952 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22395952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091849, 0.04074928029968472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22396625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758883, 'mtr_portfolio_id': 22396625, 'created_at': datetime.datetime(2025, 4, 24, 20, 37), 'result': '0.055513351958558534', 'result_long': None, 'result_double': None}] Qualite : 0.055513351958558534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22396625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22396625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, 'pht': 3726}}" where mtr_portfolio_id = 22396625 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22396625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091850, 0.055513351958558534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22397613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2758978, 'mtr_portfolio_id': 22397613, 'created_at': datetime.datetime(2025, 4, 24, 21, 7), 'result': '0.06618295471791456', 'result_long': None, 'result_double': None}] Qualite : 0.06618295471791456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22397613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22397613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, 'pht': 3726}}" where mtr_portfolio_id = 22397613 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22397613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091851, 0.06618295471791456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22398306 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759077, 'mtr_portfolio_id': 22398306, 'created_at': datetime.datetime(2025, 4, 24, 21, 18, 58), 'result': '0.050588397314892807', 'result_long': None, 'result_double': None}] Qualite : 0.050588397314892807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, 'pht': 3726}}" where mtr_portfolio_id = 22398306 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22398306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091852, 0.050588397314892807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22398412 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759094, 'mtr_portfolio_id': 22398412, 'created_at': datetime.datetime(2025, 4, 24, 21, 32, 31), 'result': '0.07546698692383626', 'result_long': None, 'result_double': None}] Qualite : 0.07546698692383626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398412 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398412 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, 'pht': 3726}}" where mtr_portfolio_id = 22398412 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22398412 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091853, 0.07546698692383626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22398957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759179, 'mtr_portfolio_id': 22398957, 'created_at': datetime.datetime(2025, 4, 24, 21, 49), 'result': '0.06235237324045487', 'result_long': None, 'result_double': None}] Qualite : 0.06235237324045487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, 'pht': 3726}}" where mtr_portfolio_id = 22398957 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22398957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091854, 0.06235237324045487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22399545 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759238, 'mtr_portfolio_id': 22399545, 'created_at': datetime.datetime(2025, 4, 24, 22, 5), 'result': '0.053417697106020255', 'result_long': None, 'result_double': None}] Qualite : 0.053417697106020255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22399545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22399545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, 'pht': 3726}}" where mtr_portfolio_id = 22399545 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22399545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091855, 0.053417697106020255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22400562 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759339, 'mtr_portfolio_id': 22400562, 'created_at': datetime.datetime(2025, 4, 24, 22, 16, 58), 'result': '0.050408771815013194', 'result_long': None, 'result_double': None}] Qualite : 0.050408771815013194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22400562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22400562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, 'pht': 3726}}" where mtr_portfolio_id = 22400562 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22400562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091856, 0.050408771815013194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22401543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759397, 'mtr_portfolio_id': 22401543, 'created_at': datetime.datetime(2025, 4, 24, 22, 32, 58), 'result': '0.04146142728776247', 'result_long': None, 'result_double': None}] Qualite : 0.04146142728776247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22401543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22401543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, 'pht': 3726}}" where mtr_portfolio_id = 22401543 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22401543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091857, 0.04146142728776247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22402470 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759452, 'mtr_portfolio_id': 22402470, 'created_at': datetime.datetime(2025, 4, 24, 22, 50, 59), 'result': '0.049624119949482605', 'result_long': None, 'result_double': None}] Qualite : 0.049624119949482605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22402470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22402470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, 'pht': 3726}}" where mtr_portfolio_id = 22402470 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22402470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091858, 0.049624119949482605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22403475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759507, 'mtr_portfolio_id': 22403475, 'created_at': datetime.datetime(2025, 4, 24, 23, 7, 59), 'result': '0.036305943530978185', 'result_long': None, 'result_double': None}] Qualite : 0.036305943530978185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22403475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22403475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, 'pht': 3726}}" where mtr_portfolio_id = 22403475 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22403475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091859, 0.036305943530978185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22404342 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759574, 'mtr_portfolio_id': 22404342, 'created_at': datetime.datetime(2025, 4, 24, 23, 18, 58), 'result': '0.04691658373223406', 'result_long': None, 'result_double': None}] Qualite : 0.04691658373223406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22404342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22404342 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, 'pht': 3726}}" where mtr_portfolio_id = 22404342 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22404342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091860, 0.04691658373223406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22405149 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759607, 'mtr_portfolio_id': 22405149, 'created_at': datetime.datetime(2025, 4, 24, 23, 34, 57), 'result': '0.0527398467982905', 'result_long': None, 'result_double': None}] Qualite : 0.0527398467982905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22405149 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22405149 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, 'pht': 3726}}" where mtr_portfolio_id = 22405149 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22405149 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091861, 0.0527398467982905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22405977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2759650, 'mtr_portfolio_id': 22405977, 'created_at': datetime.datetime(2025, 4, 24, 23, 50, 59), 'result': '0.06051274635681899', 'result_long': None, 'result_double': None}] Qualite : 0.06051274635681899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22405977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22405977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, 'pht': 3726}}" where mtr_portfolio_id = 22405977 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22405977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091862, 0.06051274635681899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22413934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2760374, 'mtr_portfolio_id': 22413934, 'created_at': datetime.datetime(2025, 4, 25, 3, 15, 57), 'result': '0.053490905115106284', 'result_long': None, 'result_double': None}] Qualite : 0.053490905115106284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22413934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22413934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, 'pht': 3726}}" where mtr_portfolio_id = 22413934 and dashboard_run_id = 1755681 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22413934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091863, 0.053490905115106284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, '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 (22364845,22364940,22365435,22365436,22365571,22365928,22366604,22367709,22367997,22368394,22368844,22369326,22369768,22370237,22370495,22370825,22371527,22372069,22372881,22373509,22374509,22375127,22376038,22381488,22381997,22382953,22383692,22384585,22385919,22386105,22386532,22387089,22387635,22387956,22388968,22389487,22390166,22391365,22391982,22392453,22392883,22393323,22394050,22394741,22395373,22395952,22396625,22397613,22398306,22398412,22398957,22399545,22400562,22401543,22402470,22403475,22404342,22405149,22405977,22413934) result : ((1353237435,), (1353237563,), (1353237567,), (1353237587,), (1353237960,), (1353238014,), (1353238347,), (1353239057,), (1353239117,), (1353239139,), (1353239230,), (1353239234,), (1353239266,), (1353239358,), (1353239361,), (1353239391,), (1353239450,), (1353239452,), (1353239495,), (1353239500,), (1353239998,), (1353242932,), (1353242964,), (1353242965,), (1353242966,), (1353242993,), (1353243057,), (1353243116,), (1353243280,), (1353243195,), (1353243274,), (1353243344,), (1353243381,), (1353243513,), (1353243523,), (1353243525,), (1353243552,), (1353243553,), (1353243641,), (1353243675,), (1353243677,), (1353243714,), (1353243733,), (1353243765,), (1353243768,), (1353243827,), (1353243886,), (1353244242,), (1353245563,), (1353245542,), (1353246225,), (1353246255,), (1353246719,), (1353246741,), (1353246746,), (1353247228,), (1353247320,), (1353253839,), (1353253998,), (1353254456,), (1353254812,), (1353254890,), (1353254952,), (1353255157,), (1353255195,), (1353255262,), (1353255294,), (1353255641,), (1353270977,), (1353270969,), (1353271457,), (1353271935,), (1353271970,), (1353272005,), (1353272032,), (1353272346,), (1353272378,), (1353272406,), (1353272748,), (1353273130,), (1353273132,), (1353273133,), (1353273135,), (1353273158,), (1353273159,), (1353273202,), (1353273203,), (1353273205,), (1353273299,), (1353273301,), (1353273303,), (1353273304,), (1353273336,), (1353273338,), (1353273340,), (1353273363,), (1353273366,), (1353273367,), (1353273398,), (1353273402,), (1353273403,), (1353273404,), (1353273431,), (1353273444,), (1353273473,), (1353273502,), (1353273775,), (1353273777,), (1353273779,), (1353273783,), (1353274197,), (1353274379,), (1353274467,), (1353274469,), (1353274472,), (1353274480,), (1353274566,), (1353274533,), (1353274555,), (1353274559,), (1353274562,), (1353274575,), (1353274578,), (1353274580,), (1353274582,), (1353274584,), (1353274849,), (1353274875,), (1353274901,), (1353274937,), (1353274970,), (1353275258,), (1353275283,), (1353275323,), (1353275336,), (1353275350,), (1353275403,), (1353275410,), (1353275411,), (1353275415,), (1353275438,), (1353275440,), (1353275442,), (1353275444,), (1353275447,), (1353275451,), (1353275475,), (1353275478,), (1353275479,), (1353275505,), (1353275512,), (1353275515,), (1353275518,), (1353275523,), (1353275528,), (1353275581,), (1353275587,), (1353275591,), (1353275593,), (1353275594,), (1353275625,), (1353275627,), (1353275629,), (1353275632,), (1353275635,), (1353275696,), (1353275697,), (1353275718,), (1353275722,), (1353275735,), (1353275777,), (1353275780,), (1353275784,), (1353275786,), (1353275790,), (1353275894,), (1353275997,), (1353276007,), (1353276011,), (1353276014,), (1353276021,), (1353276046,), (1353276048,), (1353276050,), (1353276056,), (1353276088,), (1353276094,), (1353276102,), (1353276106,), (1353276111,), (1353276172,), (1353276153,), (1353276156,), (1353276159,), (1353276163,), (1353276167,), (1353276251,), (1353276286,), (1353276312,), (1353276327,), (1353276703,), (1353276754,), (1353276806,), (1353276857,), (1353276907,), (1353277425,), (1353277454,), (1353277487,), (1353277532,), (1353277563,), (1353277686,), (1353277688,), (1353277693,), (1353277696,), (1353277700,), (1353277724,), (1353277811,), (1353277836,), (1353277864,), (1353277909,), (1353277937,), (1353278136,), (1353278162,), (1353278199,), (1353278201,), (1353278297,), (1353278303,), (1353278313,), (1353278316,), (1353278318,), (1353278320,), (1353278351,), (1353278353,), (1353278355,), (1353278356,), (1353278393,), (1353278394,), (1353278396,), (1353278398,), (1353278400,), (1353278403,), (1353278447,), (1353278452,), (1353278455,), (1353278458,), (1353278516,), (1353278522,), (1353278526,), (1353278528,), (1353278533,), (1353278536,), (1353278559,), (1353278560,), (1353278561,), (1353278562,), (1353278565,), (1353278568,), (1353278599,), (1353278602,), (1353278607,), (1353278614,), (1353278624,), (1353278659,), (1353278660,), (1353278662,), (1353278663,), (1353278666,), (1353278718,), (1353278710,), (1353278714,), (1353278717,), (1353278750,), (1353278753,), (1353278756,), (1353278759,), (1353278763,), (1353278790,), (1353278792,), (1353278798,), (1353278801,), (1353278803,), (1353278833,), (1353278836,), (1353278840,), (1353278843,), (1353278846,), (1353278869,), (1353278871,), (1353278872,), (1353278874,), (1353278886,), (1353278890,), (1353278903,), (1353278906,), (1353278907,), (1353278908,), (1353278939,), (1353278940,), (1353278944,), (1353278951,), (1353278953,), (1353278955,), (1353278992,), (1353278993,), (1353278994,), (1353278995,), (1353279039,), (1353279048,), (1353279053,), (1353279054,), (1353279055,), (1353279058,), (1353279084,), (1353279087,), (1353279090,), (1353279094,), (1353279123,), (1353279126,), (1353279128,), (1353279130,), (1353279132,), (1353279133,), (1353279164,), (1353279166,), (1353279167,), (1353279168,), (1353279171,), (1353279396,), (1353279420,), (1353279427,), (1353279436,), (1353279441,), (1353279444,), (1353280057,), (1353280087,), (1353280144,), (1353280149,), (1353280288,), (1353280277,), (1353280282,), (1353280285,), (1353280287,), (1353280322,), (1353280325,), (1353280330,), (1353280335,), (1353280337,), (1353280376,), (1353280377,), (1353280380,), (1353280383,), (1353280386,), (1353280413,), (1353280416,), (1353280419,), (1353280420,), (1353280423,), (1353280427,), (1353280459,), (1353280461,), (1353280462,), (1353280464,), (1353280466,), (1353280505,), (1353280515,), (1353280516,), (1353280517,), (1353280520,), (1353280538,), (1353280541,), (1353280544,), (1353280547,), (1353280552,), (1353280556,), (1353280590,), (1353280597,), (1353280599,), (1353280601,), (1353280633,), (1353280636,), (1353280638,), (1353280640,), (1353280643,), (1353280647,), (1353280680,), (1353280684,), (1353280692,), (1353280698,), (1353280724,), (1353280727,), (1353280730,), (1353280733,), (1353280736,), (1353280739,), (1353280763,), (1353280766,), (1353280767,), (1353280768,), (1353280802,), (1353280806,), (1353280814,), (1353280817,), (1353280820,), (1353280823,), (1353280861,), (1353280864,), (1353280865,), (1353280866,), (1353280907,), (1353280909,), (1353280911,), (1353280913,), (1353280917,), (1353280921,), (1353280971,), (1353280959,), (1353280964,), (1353280970,), (1353281008,), (1353281012,), (1353281014,), (1353281015,), (1353281018,), (1353281020,), (1353281057,), (1353281063,), (1353281066,), (1353281071,), (1353281077,), (1353281096,), (1353281099,), (1353281101,), (1353281103,), (1353281105,), (1353281134,), (1353281137,), (1353281139,), (1353281141,), (1353281145,), (1353281148,), (1353281177,), (1353281180,), (1353281182,), (1353281214,), (1353281216,), (1353281222,), (1353281223,), (1353281228,), (1353281231,), (1353281304,), (1353281308,), (1353281314,), (1353281323,), (1353281326,), (1353281331,), (1353281342,), (1353281345,), (1353281349,), (1353281353,), (1353281370,), (1353281373,), (1353281375,), (1353281424,), (1353281427,), (1353281428,), (1353281429,), (1353281432,), (1353281435,), (1353281452,), (1353281455,), (1353281457,), (1353281459,), (1353281486,), (1353281490,), (1353281498,), (1353281503,), (1353281507,), (1353281511,), (1353281546,), (1353281549,), (1353281552,), (1353281554,), (1353281557,), (1353281601,), (1353281605,), (1353281607,), (1353281619,), (1353281622,), (1353281626,), (1353281664,), (1353281655,), (1353281659,), (1353281662,), (1353281698,), (1353281701,), (1353281703,), (1353281709,), (1353281717,), (1353281727,), (1353281755,), (1353281758,), (1353281768,), (1353281774,), (1353281781,), (1353281813,), (1353281819,), (1353281823,), (1353281826,), (1353281854,), (1353281858,), (1353281860,), (1353281862,), (1353281865,), (1353281869,), (1353281895,), (1353281903,), (1353281906,), (1353281909,), (1353281951,), (1353281953,), (1353281955,), (1353281956,), (1353282014,), (1353282017,), (1353282018,), (1353282022,), (1353282029,), (1353282033,), (1353282052,), (1353282054,), (1353282537,), (1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,), (1353283712,), (1353283745,), (1353283805,), (1353283852,), (1353283889,), (1353284166,), (1353284197,), (1353284233,), (1353284258,), (1353284311,), (1353284603,), (1353284628,), (1353284658,), (1353284673,), (1353284680,), (1353284724,), (1353284727,), (1353284730,), (1353284733,), (1353284757,), (1353285020,), (1353285022,), (1353285034,), (1353285065,), (1353285089,), (1353285205,), (1353285208,), (1353285212,), (1353285216,), (1353285221,), (1353285256,), (1353285259,), (1353285262,), (1353285266,), (1353285271,), (1353285275,), (1353285317,), (1353285327,), (1353285330,), (1353285334,), (1353285339,), (1353285345,), (1353285385,), (1353285389,), (1353285395,), (1353285403,), (1353285416,), (1353285434,), (1353285509,), (1353285515,), (1353286675,), (1353286698,), (1353286723,), (1353286728,), (1353287030,), (1353286942,), (1353286973,), (1353287000,), (1353287015,), (1353287129,), (1353287162,), (1353287190,), (1353287199,), (1353287201,), (1353287429,), (1353287432,), (1353287435,), (1353287437,), (1353287438,), (1353287441,), (1353287563,), (1353287576,), (1353287595,), (1353287614,), (1353287643,), (1353287812,), (1353287818,), (1353287869,), (1353287872,), (1353287874,), (1353287876,), (1353287953,), (1353287983,), (1353288000,), (1353288002,), (1353288230,), (1353288262,), (1353288274,), (1353288284,), (1353288290,), (1353288296,), (1353288331,), (1353288333,), (1353288337,), (1353288339,), (1353288343,), (1353288389,), (1353288396,), (1353288403,), (1353288407,), (1353288411,), (1353288416,), (1353288447,), (1353288451,), (1353288455,), (1353288473,), (1353288540,), (1353288544,), (1353288548,), (1353288551,), (1353288573,), (1353288576,), (1353288781,), (1353288893,), (1353288927,), (1353288967,), (1353289114,), (1353289124,), (1353289131,), (1353289142,), (1353289149,), (1353289152,), (1353289203,), (1353289211,), (1353289214,), (1353289216,), (1353289282,), (1353289287,), (1353289292,), (1353289293,), (1353289297,), (1353289301,), (1353289504,), (1353289497,), (1353289501,), (1353289503,), (1353289577,), (1353289578,), (1353289580,), (1353289583,), (1353289584,), (1353289715,), (1353289726,), (1353289739,), (1353289742,), (1353290034,), (1353290065,), (1353290100,), (1353290147,), (1353290159,), (1353290170,), (1353290361,), (1353290409,), (1353290415,), (1353290420,), (1353290427,), (1353290431,), (1353290486,), (1353290492,), (1353290496,), (1353290500,), (1353290522,), (1353290627,), (1353290640,), (1353290645,), (1353290649,), (1353290665,), (1353290713,), (1353290715,), (1353290717,), (1353290775,), (1353290801,), (1353290832,), (1353290860,), (1353290888,), (1353290892,), (1353290974,), (1353290976,), (1353290979,), (1353290981,), (1353290983,), (1353291158,), (1353291182,), (1353291232,), (1353291264,), (1353291295,), (1353291390,), (1353291392,), (1353291395,), (1353291418,), (1353291422,), (1353291473,), (1353291480,), (1353291504,), (1353291514,), (1353291896,), (1353291949,), (1353292002,), (1353292054,), (1353292098,), (1353292147,), (1353292447,), (1353292491,), (1353292502,), (1353292521,), (1353292534,), (1353292673,), (1353292604,), (1353292606,), (1353292610,), (1353292614,), (1353292633,), (1353292819,), (1353292829,), (1353292873,), (1353292877,), (1353292924,), (1353292926,), (1353292934,), (1353292960,), (1353292963,), (1353293076,), (1353293080,), (1353293085,), (1353293088,), (1353293160,), (1353293163,), (1353293171,), (1353293176,), (1353293199,), (1353293206,), (1353293263,), (1353293266,), (1353293269,), (1353293295,), (1353293552,), (1353293565,), (1353293569,), (1353293573,), (1353293579,), (1353293606,), (1353293732,), (1353293737,), (1353293797,), (1353293832,), (1353293930,), (1353294203,), (1353294207,), (1353294250,), (1353294309,), (1353294577,), (1353294595,), (1353294599,), (1353294605,), (1353294606,), (1353294609,), (1353294787,), (1353294790,), (1353294793,), (1353294796,), (1353294839,), (1353294850,), (1353294853,), (1353294855,), (1353294862,), (1353295001,), (1353295020,), (1353295036,), (1353295041,), (1353295071,), (1353295084,), (1353296184,), (1353296260,), (1353296338,), (1353296432,), (1353296518,), (1353297110,), (1353296864,), (1353297054,), (1353297485,), (1353297551,), (1353297572,), (1353297596,), (1353297617,), (1353297985,), (1353298012,), (1353298041,), (1353298103,), (1353298117,), (1353298149,), (1353298242,), (1353298248,), (1353298339,), (1353298343,), (1353298557,), (1353298563,), (1353298570,), (1353298579,), (1353298615,), (1353298653,), (1353298656,), (1353298674,), (1353298715,), (1353298750,), (1353298759,), (1353298892,), (1353298898,), (1353298927,), (1353298947,), (1353299103,), (1353299193,), (1353299243,), (1353299262,), (1353299271,), (1353299273,), (1353299415,), (1353299423,), (1353299466,), (1353299709,), (1353299714,), (1353299718,), (1353299721,), (1353299725,), (1353299761,), (1353299987,), (1353300015,), (1353300032,), (1353300035,), (1353300066,), (1353300075,), (1353300086,), (1353300100,), (1353300120,), (1353300132,), (1353300194,), (1353300218,), (1353300234,), (1353300237,), (1353300503,), (1353300506,), (1353300545,), (1353300552,), (1353300557,), (1353300568,), (1353300713,), (1353300721,), (1353300727,), (1353300730,), (1353301055,), (1353300953,), (1353300961,), (1353300966,), (1353300982,), (1353301017,), (1353301174,), (1353301196,), (1353301213,), (1353301249,), (1353301284,), (1353301365,), (1353301530,), (1353301575,), (1353301621,), (1353301642,), (1353301847,), (1353301850,), (1353301854,), (1353301858,), (1353301946,), (1353301958,), (1353301961,), (1353301968,), (1353301977,), (1353302080,), (1353302082,), (1353302085,), (1353302088,), (1353302154,), (1353302158,), (1353302162,), (1353302165,), (1353302170,), (1353302174,), (1353302296,), (1353302301,), (1353302317,), (1353302351,), (1353302388,), (1353302530,), (1353302547,), (1353302555,), (1353302559,), (1353302610,), (1353302615,), (1353302618,), (1353302622,), (1353302626,), (1353302630,), (1353302690,), (1353302731,), (1353302760,), (1353302778,), (1353302961,), (1353302972,), (1353302982,), (1353303001,), (1353303006,), (1353303012,), (1353303060,), (1353303063,), (1353303067,), (1353303272,), (1353303371,), (1353303443,), (1353303510,), (1353303517,), (1353303681,), (1353303685,), (1353303692,), (1353303722,), (1353303732,), (1353303743,), (1353303825,), (1353303810,), (1353303814,), (1353303818,), (1353303928,), (1353303932,), (1353303939,), (1353303943,), (1353303947,), (1353303950,), (1353303997,), (1353304004,), (1353304008,), (1353304035,), (1353304042,), (1353304047,), (1353304198,), (1353304204,), (1353304207,), (1353304275,), (1353304280,), (1353304284,), (1353304288,), (1353304294,), (1353304299,), (1353304336,), (1353304340,), (1353304343,), (1353304379,), (1353304390,), (1353304405,), (1353304411,), (1353304502,), (1353304504,), (1353304508,), (1353304514,), (1353304517,), (1353304523,), (1353304653,), (1353304765,), (1353304833,), (1353305123,), (1353305129,), (1353305154,), (1353305158,), (1353305173,), (1353305180,), (1353305207,), (1353305211,), (1353305215,), (1353305218,), (1353305257,), (1353305268,), (1353305283,), (1353305291,), (1353305295,), (1353305322,), (1353305411,), (1353305443,), (1353305458,), (1353305479,), (1353305488,), (1353305537,), (1353305747,), (1353305753,), (1353305757,), (1353305769,), (1353305795,), (1353306018,), (1353306023,), (1353306025,), (1353306027,), (1353306032,), (1353306036,), (1353306427,), (1353306361,), (1353306411,), (1353306413,), (1353306416,), (1353306794,), (1353306870,), (1353306935,), (1353306938,), (1353306942,), (1353307354,), (1353307368,), (1353307398,), (1353307411,), (1353307437,), (1353307507,), (1353307568,), (1353307573,), (1353307575,), (1353307577,), (1353307649,), (1353307652,), (1353307655,), (1353307658,), (1353307663,), (1353307669,), (1353307766,), (1353307770,), (1353307773,), (1353308269,), (1353308337,), (1353308395,), (1353308442,), (1353308471,), (1353308502,), (1353308703,), (1353308706,), (1353308722,), (1353308730,), (1353308833,), (1353308838,), (1353308841,), (1353308843,), (1353308846,), (1353308847,), (1353309014,), (1353309048,), (1353309050,), (1353309054,), (1353309059,), (1353309085,), (1353309101,), (1353309127,), (1353309178,), (1353309206,), (1353309230,), (1353309272,), (1353309277,), (1353309289,), (1353309293,), (1353309297,), (1353309310,), (1353309323,), (1353309391,), (1353309394,), (1353309401,), (1353309428,), (1353362235,), (1353362230,), (1353362268,), (1353362314,), (1353362318,), (1353362642,), (1353362725,), (1353362953,), (1353363117,), (1353364038,), (1353364071,), (1353364488,), (1353364544,), (1353364593,), (1353365320,), (1353365381,), (1353365959,), (1353365953,), (1353365956,), (1353366415,), (1353366427,), (1353366486,), (1353366822,), (1353366848,), (1353366888,), (1353366925,), (1353366965,), (1353367443,), (1353367474,), (1353367505,), (1353367539,), (1353367571,), (1353367856,), (1353367862,), (1353367894,), (1353368789,), (1353368816,), (1353368845,), (1353368871,), (1353368898,), (1353368975,), (1353369006,), (1353369041,), (1353369079,), (1353369114,), (1353369146,), (1353369558,), (1353369602,), (1353369638,), (1353369842,), (1353369846,), (1353369851,), (1353369855,), (1353369860,), (1353370046,), (1353370066,), (1353370100,), (1353370105,), (1353370122,), (1353370130,), (1353370260,), (1353370262,), (1353370265,), (1353370268,), (1353370963,), (1353371016,), (1353371079,), (1353371106,), (1353371125,), (1353371380,), (1353371317,), (1353371336,), (1353371358,), (1353371734,), (1353371770,), (1353371800,), (1353371841,), (1353371877,), (1353372343,), (1353372412,), (1353372455,), (1353372484,), (1353372599,), (1353372644,), (1353372946,), (1353372982,), (1353373014,), (1353373043,), (1353373497,), (1353373499,), (1353373503,), (1353373507,), (1353373529,), (1353373942,), (1353373997,), (1353374015,), (1353374019,), (1353374023,), (1353374213,), (1353374328,), (1353374418,), (1353374429,), (1353374432,), (1353374487,), (1353374676,), (1353374679,), (1353374683,), (1353374730,), (1353374736,), (1353374740,), (1353374743,), (1353374748,), (1353374751,), (1353374891,), (1353374896,), (1353374911,), (1353375016,), (1353375043,), (1353375072,), (1353375682,), (1353375713,), (1353375746,), (1353375757,), (1353375780,), (1353375897,), (1353375924,), (1353375952,), (1353375981,), (1353376776,), (1353376830,), (1353376884,), (1353376951,), (1353377014,), (1353377070,), (1353377182,), (1353377217,), (1353377249,), (1353377286,), (1353377626,), (1353377305,), (1353377309,), (1353377314,), (1353377365,), (1353378189,), (1353378225,), (1353378255,), (1353378295,), (1353378313,), (1353378459,), (1353378467,), (1353378487,), (1353378514,), (1353378542,), (1353378893,), (1353378921,), (1353378948,), (1353378971,), (1353378975,), (1353378980,), (1353379106,), (1353379122,), (1353379150,), (1353379171,), (1353379457,), (1353379460,), (1353379491,), (1353379505,), (1353379510,), (1353379513,), (1353379659,), (1353379685,), (1353379694,), (1353379697,), (1353379699,), (1353379722,), (1353379726,), (1353379728,), (1353379731,), (1353379910,), (1353379915,), (1353379942,), (1353379949,), (1353380016,), (1353380020,), (1353380025,), (1353380030,), (1353380066,), (1353380070,), (1353380073,), (1353380341,), (1353380378,), (1353380407,), (1353380438,), (1353380442,), (1353380560,), (1353380573,), (1353380602,), (1353380623,), (1353380630,), (1353380633,), (1353380670,), (1353380673,), (1353380676,), (1353380680,), (1353380888,), (1353380905,), (1353380908,), (1353380929,), (1353380951,), (1353380957,), (1353381010,), (1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,), (1353390543,), (1353390811,), (1353390814,), (1353390961,), (1353390976,), (1353390979,), (1353390982,), (1353390985,), (1353390992,), (1353391178,), (1353391180,), (1353391192,), (1353391208,), (1353391211,), (1353391244,), (1353391247,), (1353391253,), (1353391317,), (1353391289,), (1353391296,), (1353391302,), (1353391307,), (1353391312,), (1353391347,), (1353391351,), (1353391370,), (1353391414,), (1353391427,), (1353391431,), (1353391441,), (1353391454,), (1353391463,), (1353391805,), (1353391833,), (1353391861,), (1353392014,), (1353392017,), (1353392021,), (1353392052,), (1353392079,), (1353392096,), (1353392132,), (1353392135,), (1353392138,), (1353392141,), (1353392184,), (1353392189,), (1353392202,), (1353392205,), (1353392211,), (1353392213,), (1353392262,), (1353392276,), (1353392280,), (1353392286,), (1353392290,), (1353392294,), (1353392356,), (1353392359,), (1353392363,), (1353392366,), (1353392396,), (1353392401,), (1353392406,), (1353392410,), (1353392415,), (1353392419,), (1353392450,), (1353392454,), (1353392458,), (1353392461,), (1353392466,), (1353392521,), (1353392524,), (1353392529,), (1353392533,), (1353392635,), (1353392637,), (1353392643,), (1353392662,), (1353392683,), (1353392715,), (1353392895,), (1353392898,), (1353392902,), (1353392906,), (1353392910,), (1353392919,), (1353393018,), (1353393022,), (1353393024,), (1353393084,), (1353393078,), (1353393080,), (1353393083,), (1353393131,), (1353393134,), (1353393136,), (1353393140,), (1353393143,), (1353393146,), (1353393186,), (1353393188,), (1353393191,), (1353393246,), (1353393249,), (1353393252,), (1353393254,), (1353393258,), (1353393261,), (1353393292,), (1353393302,), (1353393304,), (1353393307,), (1353393312,), (1353393321,), (1353393350,), (1353393353,), (1353393355,), (1353393358,), (1353393361,), (1353393405,), (1353393406,), (1353393408,), (1353393410,), (1353393411,), (1353393415,), (1353393463,), (1353393470,), (1353393474,), (1353393477,), (1353393482,), (1353393621,), (1353393627,), (1353393633,), (1353393658,), (1353393685,), (1353393806,), (1353393813,), (1353393826,), (1353393838,), (1353393962,), (1353393968,), (1353393971,), (1353393974,), (1353394008,), (1353394009,), (1353394012,), (1353394015,), (1353394018,), (1353394023,), (1353394055,), (1353394063,), (1353394065,), (1353394068,), (1353394180,), (1353394210,), (1353394250,), (1353394286,), (1353394320,), (1353394354,), (1353394436,), (1353394476,), (1353394526,), (1353394589,), (1353394667,), (1353395087,), (1353394895,), (1353395012,), (1353396042,), (1353396132,), (1353396210,), (1353396287,), (1353396364,), (1353396446,), (1353397228,), (1353397281,), (1353397338,), (1353397391,), (1353397446,), (1353397497,), (1353398076,), (1353398217,), (1353398287,), (1353398359,), (1353399061,), (1353399095,), (1353399131,), (1353399169,), (1353399226,), (1353399288,), (1353399640,), (1353399684,), (1353399744,), (1353399804,), (1353399856,), (1353399892,), (1353400027,), (1353400032,), (1353400043,), (1353400113,), (1353400115,), (1353400118,), (1353400120,), (1353400121,), (1353400124,), (1353400294,), (1353400321,), (1353400350,), (1353400440,), (1353400549,), (1353400947,), (1353401111,), (1353401273,), (1353401276,), (1353401329,), (1353401319,), (1353401321,), (1353401325,), (1353401360,), (1353401365,), (1353401369,), (1353401372,), (1353401415,), (1353401419,), (1353401424,), (1353401430,), (1353401476,), (1353401479,), (1353401482,), (1353401485,), (1353401489,), (1353401493,), (1353401601,), (1353401604,), (1353401615,), (1353401648,), (1353401687,), (1353401690,), (1353401692,), (1353401697,), (1353401701,), (1353401712,), (1353401749,), (1353401765,), (1353401768,), (1353401771,), (1353401811,), (1353401816,), (1353401821,), (1353401824,), (1353401871,), (1353401875,), (1353401885,), (1353401895,), (1353401899,), (1353401934,), (1353401939,), (1353401943,), (1353401972,), (1353401975,), (1353401979,), (1353401983,), (1353402006,), (1353402010,), (1353402099,), (1353402126,), (1353402130,), (1353402147,), (1353402154,), (1353402160,), (1353402290,), (1353402294,), (1353402420,), (1353402423,), (1353402425,), (1353402427,), (1353402431,), (1353402469,), (1353402471,), (1353402474,), (1353402477,), (1353402479,), (1353402483,), (1353402541,), (1353402524,), (1353402528,), (1353402532,), (1353402535,), (1353402569,), (1353402573,), (1353402576,), (1353402580,), (1353402821,), (1353402880,), (1353402902,), (1353402917,), (1353403067,), (1353403071,), (1353403075,), (1353403079,), (1353403084,), (1353403087,), (1353403125,), (1353403128,), (1353403131,), (1353403134,), (1353403138,), (1353403170,), (1353403173,), (1353403177,), (1353403181,), (1353403327,), (1353403330,), (1353403333,), (1353403356,), (1353403388,), (1353403607,), (1353403640,), (1353403669,), (1353403697,), (1353404169,), (1353404198,), (1353404216,), (1353404234,), (1353404490,), (1353404509,), (1353404513,), (1353404517,), (1353404523,), (1353404536,), (1353404651,), (1353404683,), (1353404720,), (1353404775,), (1353404814,), (1353405083,), (1353405086,), (1353405089,), (1353405760,), (1353405790,), (1353405815,), (1353405860,), (1353405895,), (1353405933,), (1353406380,), (1353406466,), (1353406493,), (1353406511,), (1353406527,), (1353406567,), (1353406731,), (1353406736,), (1353406740,), (1353406743,), (1353407182,), (1353406962,), (1353406992,), (1353407021,), (1353407073,), (1353407130,), (1353407401,), (1353407404,), (1353407408,), (1353407417,), (1353407710,), (1353407724,), (1353407729,), (1353407739,), (1353407760,), (1353407791,), (1353407854,), (1353407858,), (1353407860,), (1353407864,), (1353407911,), (1353407923,), (1353407933,), (1353407948,), (1353407956,), (1353407958,), (1353408035,), (1353408037,), (1353408043,), (1353408046,), (1353408050,), (1353408056,), (1353408094,), (1353408110,), (1353408117,), (1353408293,), (1353408297,), (1353408312,), (1353408320,), (1353408321,), (1353408324,), (1353408370,), (1353408382,), (1353408384,), (1353408388,), (1353408397,), (1353408499,), (1353408515,), (1353408525,), (1353408712,), (1353408745,), (1353408847,), (1353408850,), (1353408852,), (1353408854,), (1353408855,), (1353408925,), (1353408926,), (1353408928,), (1353408930,), (1353408932,), (1353408984,), (1353408991,), (1353409024,), (1353409051,), (1353409076,), (1353409105,), (1353409587,), (1353409619,), (1353409654,), (1353410244,), (1353410158,), (1353410187,), (1353410218,), (1353410580,), (1353410605,), (1353410632,), (1353410656,), (1353410686,), (1353411318,), (1353411366,), (1353411418,), (1353411453,), (1353411510,), (1353411578,), (1353412024,), (1353412099,), (1353412177,), (1353412253,), (1353412329,), (1353412899,), (1353412965,), (1353412995,), (1353413028,), (1353413478,), (1353413545,), (1353413598,), (1353413641,), (1353413685,), (1353413713,), (1353414057,), (1353414085,), (1353414111,), (1353414126,), (1353414162,), (1353414165,), (1353414168,), (1353414171,), (1353414174,), (1353414176,), (1353414215,), (1353414217,), (1353414218,), (1353414220,), (1353414539,), (1353414567,), (1353414596,), (1353414629,), (1353414664,), (1353414792,), (1353414794,), (1353414817,), (1353414842,), (1353414845,), (1353414916,), (1353414919,), (1353414921,), (1353414923,), (1353414926,), (1353414966,), (1353414968,), (1353414971,), (1353414974,), (1353414978,), (1353415017,), (1353415021,), (1353415025,), (1353415027,), (1353415208,), (1353415213,), (1353415218,), (1353415222,), (1353415314,), (1353415274,), (1353415291,), (1353415295,), (1353415305,), (1353415309,), (1353415351,), (1353415354,), (1353415358,), (1353415362,), (1353415397,), (1353415403,), (1353415405,), (1353415408,), (1353415413,), (1353415419,), (1353415444,), (1353415447,), (1353415450,), (1353415454,), (1353415491,), (1353415495,), (1353415500,), (1353415507,), (1353415520,), (1353415533,), (1353415566,), (1353415569,), (1353415574,), (1353415577,), (1353415581,), (1353415617,), (1353415621,), (1353415623,), (1353415687,), (1353415690,), (1353415694,), (1353415698,), (1353415701,), (1353415706,), (1353415736,), (1353415745,), (1353415748,), (1353415751,), (1353415782,), (1353415787,), (1353415790,), (1353415793,), (1353415843,), (1353415846,), (1353415850,), (1353415853,), (1353415856,), (1353415861,), (1353415901,), (1353415913,), (1353415917,), (1353415921,), (1353415924,), (1353415969,), (1353415973,), (1353415977,), (1353415980,), (1353415985,), (1353415988,), (1353416017,), (1353416020,), (1353416024,), (1353416028,), (1353416031,), (1353416035,), (1353416060,), (1353416063,), (1353416176,), (1353420383,), (1353421581,), (1353421665,), (1353421767,), (1353421879,), (1353421979,), (1353422914,), (1353422973,), (1353423025,), (1353423067,), (1353423137,), (1353423178,), (1353423708,), (1353423763,), (1353424677,), (1353424731,), (1353424742,), (1353424745,), (1353424751,), (1353424783,), (1353424885,), (1353424894,), (1353424921,), (1353424948,), (1353424976,), (1353425206,), (1353425210,), (1353425281,), (1353425427,), (1353425430,), (1353425433,), (1353425436,), (1353425440,), (1353425445,), (1353425472,), (1353425475,), (1353425479,), (1353425482,), (1353425486,), (1353425568,), (1353425571,), (1353425579,), (1353425658,), (1353425660,), (1353425663,), (1353425666,), (1353425764,), (1353425768,), (1353425772,), (1353425776,), (1353425785,), (1353425978,), (1353426012,), (1353426041,), (1353426068,), (1353426197,), (1353426200,), (1353426204,), (1353426208,), (1353426213,), (1353426217,), (1353426282,), (1353426311,), (1353426340,), (1353426409,), (1353426758,), (1353426710,), (1353426714,), (1353426748,), (1353426751,), (1353426753,), (1353426799,), (1353426804,), (1353426809,), (1353426814,), (1353426817,), (1353426871,), (1353426878,), (1353426886,), (1353426890,), (1353426994,), (1353426997,), (1353427001,), (1353427005,), (1353427010,), (1353427014,), (1353427052,), (1353427057,), (1353427060,), (1353427062,), (1353427065,), (1353427069,), (1353427095,), (1353427098,), (1353427102,), (1353427106,), (1353427143,), (1353427147,), (1353427149,), (1353427153,), (1353427157,), (1353427162,), (1353427202,), (1353427204,), (1353427207,), (1353427210,), (1353427244,), (1353427247,), (1353427251,), (1353427257,), (1353427267,), (1353427277,), (1353427306,), (1353427326,), (1353427329,), (1353427332,), (1353427381,), (1353427411,), (1353427413,), (1353427416,), (1353427420,), (1353427450,), (1353427454,), (1353427458,), (1353427462,), (1353427467,), (1353427472,), (1353427494,), (1353427498,), (1353427502,), (1353427505,), (1353427508,), (1353427545,), (1353427549,), (1353427552,), (1353427592,), (1353427596,), (1353427601,), (1353427610,), (1353427613,), (1353427664,), (1353427654,), (1353427658,), (1353427661,), (1353427710,), (1353427712,), (1353427715,), (1353427719,), (1353427763,), (1353427767,), (1353427770,), (1353427774,), (1353427824,), (1353427834,), (1353427842,), (1353427849,), (1353427853,), (1353427856,), (1353428015,), (1353428017,), (1353428022,), (1353428027,), (1353428059,), (1353428062,), (1353428066,), (1353428070,), (1353428100,), (1353428103,), (1353428106,), (1353428108,), (1353428111,), (1353428114,), (1353428157,), (1353428159,), (1353428162,), (1353428167,), (1353428178,), (1353428220,), (1353428223,), (1353428267,), (1353428367,), (1353428371,), (1353428419,), (1353428465,), (1353428612,), (1353428609,), (1353428659,), (1353428661,), (1353428663,), (1353428709,), (1353428713,), (1353428718,), (1353428722,), (1353428726,), (1353428761,), (1353428764,), (1353428805,), (1353428808,), (1353428811,), (1353428814,), (1353428816,), (1353428846,), (1353428847,), (1353428849,), (1353428851,), (1353428895,), (1353428902,), (1353428907,), (1353429023,), (1353429068,), (1353429072,), (1353429102,), (1353429104,), (1353429108,), (1353429111,), (1353429150,), (1353429152,), (1353429155,), (1353429158,), (1353429209,), (1353429214,), (1353429217,), (1353429221,), (1353429224,), (1353429228,), (1353429271,), (1353429277,), (1353429288,), (1353429301,), (1353429833,), (1353429839,), (1353429847,), (1353429855,), (1353429865,), (1353429872,), (1353429937,), (1353429962,), (1353429990,), (1353430153,), (1353430057,), (1353430073,), (1353430098,), (1353430126,), (1353430148,), (1353430228,), (1353430263,), (1353430294,), (1353430321,), (1353430346,), (1353430348,), (1353430497,), (1353430530,), (1353430557,), (1353430586,), (1353430915,), (1353430946,), (1353430974,), (1353431007,), (1353431036,), (1353431371,), (1353431397,), (1353431426,), (1353431455,), (1353431794,), (1353431825,), (1353431851,), (1353431886,), (1353431894,), (1353432392,), (1353432476,), (1353432555,), (1353432630,), (1353432712,), (1353432788,), (1353433683,), (1353433734,), (1353433775,), (1353433810,), (1353433838,), (1353434706,), (1353434746,), (1353434803,), (1353434821,), (1353434830,), (1353434846,), (1353435429,), (1353435445,), (1353435448,), (1353435493,), (1353435532,), (1353435817,), (1353435845,), (1353435878,), (1353435910,), (1353435966,), (1353436048,), (1353436190,), (1353436244,), (1353436297,), (1353436351,), (1353436407,), (1353436464,), (1353436680,), (1353436685,), (1353436688,), (1353436696,), (1353436814,), (1353436819,), (1353436824,), (1353436965,), (1353436968,), (1353436973,), (1353437007,), (1353437012,), (1353437017,), (1353437025,), (1353437031,), (1353437039,), (1353437080,), (1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,), (1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,), (1353440245,), (1353440248,), (1353440251,), (1353440254,), (1353440257,), (1353440356,), (1353440366,), (1353440381,), (1353440385,), (1353440389,), (1353440458,), (1353440461,), (1353440478,), (1353440489,), (1353440543,), (1353440590,), (1353440616,), (1353440642,), (1353441723,), (1353441750,), (1353441782,), (1353441836,), (1353441885,), (1353442465,), (1353442347,), (1353442374,), (1353442422,), (1353442920,), (1353442949,), (1353442977,), (1353443006,), (1353443018,), (1353443131,), (1353443138,), (1353443142,), (1353443146,), (1353443150,), (1353443173,), (1353443253,), (1353443256,), (1353443261,), (1353443288,), (1353443901,), (1353443954,), (1353444005,), (1353444066,), (1353444129,), (1353444192,), (1353444499,), (1353444528,), (1353444558,), (1353444594,), (1353445104,), (1353445132,), (1353445159,), (1353445194,), (1353445205,), (1353445211,), (1353445420,), (1353445424,), (1353445431,), (1353445442,), (1353445447,), (1353445510,), (1353445514,), (1353445516,), (1353445565,), (1353445618,), (1353445675,), (1353446189,), (1353446218,), (1353446269,), (1353446357,), (1353446586,), (1353446599,), (1353446604,), (1353446608,), (1353446657,), (1353446881,), (1353446912,), (1353446939,), (1353447187,), (1353448347,), (1353448172,), (1353448224,), (1353448277,), (1353449468,), (1353449517,), (1353449571,), (1353449608,), (1353449671,), (1353449772,), (1353450120,), (1353450197,), (1353450266,), (1353450340,), (1353450407,), (1353450446,), (1353450599,), (1353450648,), (1353450699,), (1353450777,), (1353450976,), (1353451034,), (1353451040,), (1353451046,), (1353451050,), (1353451081,), (1353451092,), (1353451095,), (1353451103,), (1353451224,), (1353451226,), (1353451229,), (1353451233,), (1353451237,), (1353451241,), (1353451267,), (1353451271,), (1353451274,), (1353451277,), (1353451280,), (1353451284,), (1353451304,), (1353451308,), (1353451311,), (1353451314,), (1353451349,), (1353451352,), (1353451354,), (1353451369,), (1353451372,), (1353451392,), (1353451396,), (1353451400,), (1353451403,), (1353451407,), (1353451440,), (1353451447,), (1353451450,), (1353451454,), (1353451491,), (1353451497,), (1353451502,), (1353451504,), (1353451508,), (1353451546,), (1353451549,), (1353451554,), (1353451559,), (1353451564,), (1353451749,), (1353451738,), (1353451740,), (1353451741,), (1353451777,), (1353451779,), (1353451782,), (1353451785,), (1353451787,), (1353451799,), (1353451817,), (1353451823,), (1353451826,), (1353451830,), (1353451860,), (1353451866,), (1353451870,), (1353451875,), (1353451877,), (1353451883,), (1353451924,), (1353451927,), (1353451930,), (1353451938,), (1353451953,), (1353451958,), (1353451991,), (1353451994,), (1353451996,), (1353451999,), (1353452148,), (1353452177,), (1353452206,), (1353452236,), (1353452263,), (1353452301,), (1353452531,), (1353452534,), (1353452556,), (1353452618,), (1353452811,), (1353452820,), (1353452824,), (1353452834,), (1353452836,), (1353453038,), (1353453045,), (1353453049,), (1353453054,), (1353453059,), (1353453065,), (1353453098,), (1353453104,), (1353453109,), (1353453111,), (1353453149,), (1353453152,), (1353453159,), (1353453359,), (1353453361,), (1353453364,), (1353453414,), (1353453416,), (1353453421,), (1353453535,), (1353453612,), (1353453578,), (1353453582,), (1353453606,), (1353453610,), (1353454416,), (1353454483,), (1353454489,), (1353454493,), (1353454498,), (1353454519,), (1353454797,), (1353454802,), (1353454806,), (1353454809,), (1353454836,), (1353454839,), (1353454842,), (1353454847,), (1353454883,), (1353454891,), (1353454902,), (1353454917,), (1353454973,), (1353454979,), (1353454982,), (1353454985,), (1353454989,), (1353454992,), (1353455038,), (1353455041,), (1353455044,), (1353459179,), (1353459174,), (1353459211,), (1353459307,), (1353459419,), (1353459469,), (1353459472,), (1353459476,), (1353459480,), (1353459482,), (1353459516,), (1353459520,), (1353459523,), (1353459526,), (1353459556,), (1353459559,), (1353459596,), (1353459600,), (1353459611,), (1353459618,), (1353459625,), (1353459639,), (1353459676,), (1353459680,), (1353459683,), (1353459685,), (1353459689,), (1353459734,), (1353459720,), (1353459723,), (1353459728,), (1353459731,), (1353459776,), (1353459779,), (1353459782,), (1353459786,), (1353459820,), (1353459831,), (1353459834,), (1353459857,), (1353459862,), (1353459866,), (1353459871,), (1353459875,), (1353459879,), (1353459921,), (1353459924,), (1353459928,), (1353459932,), (1353459936,), (1353459940,), (1353459977,), (1353459981,), (1353459986,), (1353459990,), (1353460025,), (1353460028,), (1353460032,), (1353460038,), (1353460040,), (1353460089,), (1353460101,), (1353460213,), (1353460216,), (1353460220,), (1353460227,), (1353460237,), (1353460285,), (1353460290,), (1353460344,), (1353460346,), (1353460349,), (1353460352,), (1353460357,), (1353460360,), (1353460396,), (1353460399,), (1353460403,), (1353460408,), (1353460412,), (1353460418,), (1353460439,), (1353460444,), (1353460446,), (1353460496,), (1353460499,), (1353460507,), (1353460511,), (1353460547,), (1353460552,), (1353460556,), (1353460559,), (1353460618,), (1353460604,), (1353460607,), (1353460610,), (1353460648,), (1353460655,), (1353460689,), (1353460693,), (1353460814,), (1353460855,), (1353460867,), (1353460896,), (1353461062,), (1353461066,), (1353461277,), (1353461282,), (1353461289,), (1353461294,), (1353461386,), (1353461390,), (1353461396,), (1353461399,), (1353461402,), (1353461440,), (1353461445,), (1353461463,), (1353461502,), (1353461504,), (1353461506,), (1353461509,), (1353461512,), (1353461516,), (1353461743,), (1353461769,), (1353461794,), (1353461818,), (1353462030,), (1353462033,), (1353462037,), (1353462039,), (1353462042,), (1353462046,), (1353462109,), (1353462136,), (1353462163,), (1353462189,), (1353462226,), (1353462429,), (1353462432,), (1353462537,), (1353462542,), (1353462547,), (1353462552,), (1353462759,), (1353462787,), (1353462825,), (1353462876,), (1353463809,), (1353463633,), (1353463661,), (1353463688,), (1353463717,), (1353463754,), (1353464198,), (1353464430,), (1353464518,), (1353464832,), (1353464875,), (1353464917,), (1353464949,), (1353465927,), (1353466004,), (1353466080,), (1353466887,), (1353467090,), (1353467193,), (1353467241,), (1353467293,), (1353467998,), (1353468101,), (1353468225,), (1353469752,), (1353469831,), (1353469910,), (1353469992,), (1353470062,), (1353470781,), (1353470831,), (1353470881,), (1353470943,), (1353470997,), (1353471796,), (1353471871,), (1353471931,), (1353471984,), (1353473359,), (1353473416,), (1353473465,), (1353473519,), (1353474124,), (1353474293,), (1353474365,), (1353475009,), (1353475056,), (1353475105,), (1353475191,), (1353475244,), (1353475559,), (1353475590,), (1353475621,), (1353475647,), (1353475688,), (1353475714,), (1353476597,), (1353476630,), (1353477318,), (1353477160,), (1353477214,), (1353477263,), (1353477291,), (1353477620,), (1353477673,), (1353477689,), (1353477736,), (1353477739,), (1353477741,), (1353477744,), (1353477747,), (1353477751,), (1353477775,), (1353477790,), (1353477800,), (1353477802,), (1353477805,), (1353478067,), (1353478095,), (1353478491,), (1353478519,), (1353478548,), (1353478616,), (1353478655,), (1353478683,), (1353478797,), (1353478802,), (1353478807,), (1353478811,), (1353478817,), (1353478820,), (1353478897,), (1353478921,), (1353478948,), (1353478984,), (1353479015,), (1353480518,), (1353480754,), (1353480985,), (1353481942,), (1353482100,), (1353482216,), (1353482296,), (1353482431,), (1353483124,), (1353483267,), (1353483372,), (1353483439,), (1353483494,), (1353484544,), (1353484596,), (1353484646,), (1353484724,), (1353484876,), (1353485664,), (1353485742,), (1353485822,), (1353486905,), (1353488195,), (1353488249,), (1353488345,), (1353488521,), (1353488592,), (1353488696,), (1353490050,), (1353489620,), (1353489732,), (1353489846,), (1353489954,), (1353490787,), (1353490876,), (1353490958,), (1353491233,), (1353491250,), (1353491257,), (1353491290,), (1353491295,), (1353491299,), (1353491305,), (1353491340,), (1353492171,), (1353492201,), (1353492293,), (1353492365,), (1353492423,), (1353492652,), (1353492655,), (1353492682,), (1353492713,), (1353493101,), (1353493130,), (1353493159,), (1353493200,), (1353493231,), (1353493258,), (1353493530,), (1353493562,), (1353493569,), (1353493572,), (1353493575,), (1353493733,), (1353493739,), (1353493744,), (1353493777,), (1353493789,), (1353493795,), (1353493867,), (1353493872,), (1353493875,), (1353494217,), (1353494247,), (1353494277,), (1353494304,), (1353494336,), (1353494364,), (1353494435,), (1353494437,), (1353494440,), (1353494449,), (1353494478,), (1353494507,), (1353494803,), (1353494830,), (1353494853,), (1353494968,), (1353494972,), (1353494977,), (1353494980,), (1353494985,), (1353495012,), (1353495016,), (1353495024,), (1353495032,), (1353495039,), (1353495314,), (1353495229,), (1353495262,), (1353495285,), (1353495640,), (1353495669,), (1353495694,), (1353495719,), (1353496243,), (1353496324,), (1353496402,), (1353496500,), (1353496589,), (1353497415,), (1353497443,), (1353497474,), (1353498161,), (1353498226,), (1353498292,), (1353498362,), (1353498393,), (1353498663,), (1353498688,), (1353498703,), (1353498736,), (1353499181,), (1353499237,), (1353499330,), (1353499417,), (1353499447,), (1353499794,), (1353499832,), (1353499881,), (1353499934,), (1353499991,), (1353500011,), (1353500163,), (1353500174,), (1353500177,), (1353500181,), (1353500283,), (1353500288,), (1353500290,), (1353500293,), (1353500319,), (1353500636,), (1353500663,), (1353500701,), (1353500714,), (1353500737,), (1353500770,), (1353501012,), (1353501047,), (1353501054,), (1353501489,), (1353501528,), (1353501529,), (1353501531,), (1353501534,), (1353501674,), (1353501703,), (1353501741,), (1353501769,), (1353501798,), (1353502115,), (1353502147,), (1353502176,), (1353502206,), (1353502376,), (1353502373,), (1353502416,), (1353502420,), (1353502425,), (1353502429,), (1353502434,), (1353502475,), (1353502478,), (1353502481,), (1353502488,), (1353502497,), (1353502599,), (1353502637,), (1353502792,), (1353503043,), (1353503454,), (1353503479,), (1353503520,), (1353503827,), (1353503941,), (1353504127,), (1353504307,), (1353504495,), (1353504745,), (1353504960,), (1353504972,), (1353504978,), (1353504983,), (1353505220,), (1353506394,), (1353506443,), (1353506494,), (1353507244,), (1353507287,), (1353507314,), (1353507379,), (1353507985,), (1353508039,), (1353508224,), (1353508256,), (1353508284,), (1353508458,), (1353508405,), (1353508427,), (1353508705,), (1353508732,), (1353508782,), (1353508832,), (1353509738,), (1353509834,), (1353509931,), (1353510030,), (1353510268,), (1353510280,), (1353510310,), (1353510332,), (1353510352,), (1353510388,), (1353510440,), (1353510470,), (1353510519,), (1353510571,), (1353510622,), (1353512211,), (1353512494,), (1353512568,), (1353512668,), (1353513357,), (1353513432,), (1353513483,), (1353513537,), (1353514234,), (1353514286,), (1353514384,), (1353514489,), (1353514566,), (1353516704,), (1353516759,), (1353516798,), (1353517208,), (1353517237,), (1353517264,), (1353517319,), (1353517325,), (1353517342,), (1353517371,), (1353517397,), (1353517477,), (1353517612,), (1353517615,), (1353517634,), (1353517661,), (1353517778,), (1353517783,), (1353517786,), (1353517792,), (1353518630,), (1353518084,), (1353518170,), (1353518290,), (1353518517,), (1353519657,), (1353519706,), (1353519757,), (1353519810,), (1353519861,), (1353519960,), (1353520831,), (1353520929,), (1353521055,), (1353521189,), (1353521831,), (1353521882,), (1353521985,), (1353522096,), (1353522836,), (1353523081,), (1353523102,), (1353523107,), (1353523124,), (1353523632,), (1353523664,), (1353523700,), (1353523729,), (1353523743,), (1353524100,), (1353524105,), (1353524109,), (1353524259,), (1353524261,), (1353524293,), (1353524318,), (1353524344,), (1353524371,), (1353524844,), (1353524946,), (1353524997,), (1353525064,), (1353525120,), (1353525608,), (1353525659,), (1353525717,), (1353526437,), (1353526464,), (1353526490,), (1353526516,), (1353526541,), (1353526781,), (1353526785,), (1353526788,), (1353526790,), (1353526812,), (1353526817,), (1353526833,), (1353526859,), (1353526892,), (1353527244,), (1353527306,), (1353527370,), (1353527428,), (1353527822,), (1353527831,), (1353527842,), (1353527852,), (1353527864,), (1353527889,), (1353528165,), (1353528138,), (1353528163,), (1353528344,), (1353528346,), (1353528348,), (1353528349,), (1353528363,), (1353528364,), (1353528604,), (1353528658,), (1353528719,), (1353528782,), (1353528845,), (1353528895,), (1353529304,), (1353529332,), (1353529375,), (1353529410,), (1353529412,), (1353529414,), (1353529415,), (1353529417,), (1353529419,), (1353529443,), (1353529445,), (1353529447,), (1353529449,), (1353529476,), (1353529477,), (1353529478,), (1353529481,), (1353529483,), (1353529489,), (1353529521,), (1353529522,), (1353529524,), (1353529527,), (1353529528,), (1353529549,), (1353529550,), (1353529553,), (1353529555,), (1353529572,), (1353529578,), (1353529584,), (1353529585,), (1353529587,), (1353529605,), (1353529608,), (1353529610,), (1353529617,), (1353529621,), (1353529653,), (1353529658,), (1353529664,), (1353529669,), (1353529720,), (1353529761,), (1353529873,), (1353529781,), (1353529890,), (1353529892,), (1353529895,), (1353529918,), (1353529919,), (1353529921,), (1353529923,), (1353529924,), (1353529925,), (1353529939,), (1353529940,), (1353530087,), (1353530151,), (1353530153,), (1353530155,), (1353530157,), (1353530158,), (1353530159,), (1353530536,), (1353530825,), (1353530853,), (1353530904,), (1353530935,), (1353531191,), (1353531219,), (1353531240,), (1353531242,), (1353531244,), (1353531245,), (1353531383,), (1353531409,), (1353531435,), (1353531465,), (1353531676,), (1353531696,), (1353531700,), (1353531702,), (1353531705,), (1353531706,), (1353532319,), (1353532377,), (1353532430,), (1353533103,), (1353533123,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24042025': {'nb_upload': 43, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22384585]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] map_info['map_portfolio_photo'] : {22384585: [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993]} final : True mtd_id 4302 list_pids : [1353384334, 1353384267, 1353384261, 1353384255, 1353384225, 1353384221, 1353384214, 1353384176, 1353383679, 1353383600, 1353383541, 1353383488, 1353383062, 1353383026, 1353383020, 1353383000, 1353382845, 1353382826, 1353382822, 1353382661, 1353382631, 1353382603, 1353382592, 1353382580, 1353382327, 1353382323, 1353382239, 1353382235, 1353381860, 1353381856, 1353381802, 1353381797, 1353381771, 1353381753, 1353381747, 1353381476, 1353381473, 1353381467, 1353381371, 1353381007, 1353381003, 1353380999, 1353380993] Looping around the photos to save general results len do output : 1 /22384585Didn'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, '2760788') ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788') ('4302', None, None, None, None, None, None, None, '2760788') ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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, '22384585', 'None', None, None, None, None, '2760788'), ('4302', '22384585', '1353384334', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384267', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384261', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384255', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384225', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384221', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384214', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353384176', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383679', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383600', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383541', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383488', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383062', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383026', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383020', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353383000', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382845', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382826', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382822', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382661', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382631', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382603', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382592', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382580', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382327', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382323', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382239', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353382235', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381860', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381856', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381802', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381797', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381771', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381753', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381747', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381476', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381473', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381467', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381371', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381007', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353381003', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380999', None, None, None, None, None, '2760788'), ('4302', '22384585', '1353380993', None, None, None, None, None, '2760788')] time used for this insertion : 0.018273115158081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4244112968444824 time spend to save output : 0.018648624420166016 total time spend for step 5 : 3.4430599212646484 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 (2760788) 3.33user 2.49system 0:20.33elapsed 28%CPU (0avgtext+0avgdata 162272maxresident)k 320inputs+33968outputs (0major+83455minor)pagefaults 0swaps