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 : 145650 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 (2733363) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2733363) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22087637 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2733363'] with mtr_portfolio_ids : ['22087637'] and first list_photo_ids : [] new path : /proc/145650/ Name: python3 Umask: 0002 State: R (running) Tgid: 145650 Ngid: 0 Pid: 145650 PPid: 145649 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 145650 NSpid: 145650 NSpgid: 141968 NSsid: 141968 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99096 kB VmRSS: 99096 kB RssAnon: 59760 kB RssFile: 39336 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 1/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: 47 nonvoluntary_ctxt_switches: 90 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '145650', 'Ngid': '0', 'Pid': '145650', 'PPid': '145649', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '145650', 'NSpid': '145650', 'NSpgid': '141968', 'NSsid': '141968', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99096 kB', 'VmRSS': '99096 kB', 'RssAnon': '59760 kB', 'RssFile': '39336 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '1/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': '47', 'nonvoluntary_ctxt_switches': '90'} ('datou_batch_current', '145650', '1106932', '0', '1106932', '865680', '99096', b'', 'marlene', '2733363') 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 (22087637) 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 (2733363 ) ) 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 (22087637) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1350137808, 'portfolio_id': 22087637}, {'photo_id': 1350137417, 'portfolio_id': 22087637}, {'photo_id': 1350137414, 'portfolio_id': 22087637}, {'photo_id': 1350137411, 'portfolio_id': 22087637}, {'photo_id': 1350137408, 'portfolio_id': 22087637}, {'photo_id': 1350137405, 'portfolio_id': 22087637}, {'photo_id': 1350137376, 'portfolio_id': 22087637}, {'photo_id': 1350137372, 'portfolio_id': 22087637}, {'photo_id': 1350137369, 'portfolio_id': 22087637}, {'photo_id': 1350137364, 'portfolio_id': 22087637}, {'photo_id': 1350137330, 'portfolio_id': 22087637}, {'photo_id': 1350137326, 'portfolio_id': 22087637}, {'photo_id': 1350137324, 'portfolio_id': 22087637}, {'photo_id': 1350137322, 'portfolio_id': 22087637}, {'photo_id': 1350137319, 'portfolio_id': 22087637}, {'photo_id': 1350137284, 'portfolio_id': 22087637}, {'photo_id': 1350137280, 'portfolio_id': 22087637}, {'photo_id': 1350137276, 'portfolio_id': 22087637}, {'photo_id': 1350137272, 'portfolio_id': 22087637}, {'photo_id': 1350137238, 'portfolio_id': 22087637}, {'photo_id': 1350137234, 'portfolio_id': 22087637}, {'photo_id': 1350137231, 'portfolio_id': 22087637}, {'photo_id': 1350137229, 'portfolio_id': 22087637}, {'photo_id': 1350137226, 'portfolio_id': 22087637}, {'photo_id': 1350137224, 'portfolio_id': 22087637}, {'photo_id': 1350137184, 'portfolio_id': 22087637}, {'photo_id': 1350137182, 'portfolio_id': 22087637}, {'photo_id': 1350137178, 'portfolio_id': 22087637}, {'photo_id': 1350137174, 'portfolio_id': 22087637}, {'photo_id': 1350137139, 'portfolio_id': 22087637}, {'photo_id': 1350137136, 'portfolio_id': 22087637}, {'photo_id': 1350137133, 'portfolio_id': 22087637}, {'photo_id': 1350137100, 'portfolio_id': 22087637}, {'photo_id': 1350137096, 'portfolio_id': 22087637}, {'photo_id': 1350137092, 'portfolio_id': 22087637}, {'photo_id': 1350137091, 'portfolio_id': 22087637}, {'photo_id': 1350137087, 'portfolio_id': 22087637}, {'photo_id': 1350137082, 'portfolio_id': 22087637}, {'photo_id': 1350137045, 'portfolio_id': 22087637}, {'photo_id': 1350137043, 'portfolio_id': 22087637}, {'photo_id': 1350137040, 'portfolio_id': 22087637}, {'photo_id': 1350137038, 'portfolio_id': 22087637}, {'photo_id': 1350137004, 'portfolio_id': 22087637}, {'photo_id': 1350137000, 'portfolio_id': 22087637}, {'photo_id': 1350136996, 'portfolio_id': 22087637}, {'photo_id': 1350136993, 'portfolio_id': 22087637}] map_portfolio_id_photo_id: {22087637: [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993]} ##### 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.08863329887390137 #### 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 Wed Apr 9 09:23: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 (22087637) 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 : 22087637 get user id for portfolio 22087637 get sub ptf for main ptf 22087637, type 3726 and hashtags ['autre_refus', 'Teint_Dans_La_Masse', 'plastique', 'Carton_brun', 'mal_croppe', 'papier', 'cartonnette', 'environnement', 'kraft', 'metal', 'flou', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087637 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Teint_Dans_La_Masse','plastique','Carton_brun','mal_croppe','papier','cartonnette','environnement','kraft','metal','flou','Carton_gris')) 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`=22087637 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Teint_Dans_La_Masse','plastique','Carton_brun','mal_croppe','papier','cartonnette','environnement','kraft','metal','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22087637, 'sub_port_id': 22088195, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572668, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 22087637, 'sub_port_id': 22088196, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572669, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'plastique': {'main_port_id': 22087637, 'sub_port_id': 22088197, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572670, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Carton_gris': {'main_port_id': 22087637, 'sub_port_id': 22088198, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572671, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'autre_refus': {'main_port_id': 22087637, 'sub_port_id': 22088199, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572672, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'environnement': {'main_port_id': 22087637, 'sub_port_id': 22088200, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572673, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'papier': {'main_port_id': 22087637, 'sub_port_id': 22088201, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572674, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'cartonnette': {'main_port_id': 22087637, 'sub_port_id': 22088202, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572675, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'mal_croppe': {'main_port_id': 22087637, 'sub_port_id': 22088203, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572676, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'kraft': {'main_port_id': 22087637, 'sub_port_id': 22088204, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572677, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Carton_brun': {'main_port_id': 22087637, 'sub_port_id': 22088205, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572678, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'flou': {'main_port_id': 22087637, 'sub_port_id': 22088206, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572679, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22088195 , 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=22087637 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 (22088195) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088196 , 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=22087637 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 (22088196) result : ((1350301705,), (1350301706,), (1350301707,), (1350301708,), (1350301709,), (1350301710,), (1350301711,), (1350301712,), (1350303943,), (1350303945,), (1350303946,), (1350303947,), (1350303948,), (1350307134,), (1350307135,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088197 , 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=22087637 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 (22088197) result : ((1350301820,), (1350301821,), (1350301822,), (1350301823,), (1350304167,), (1350304168,), (1350304169,), (1350304170,), (1350304172,), (1350304173,), (1350304174,), (1350307208,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088198 , 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=22087637 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 (22088198) result : ((1350301722,), (1350301723,), (1350301724,), (1350301725,), (1350301726,), (1350301727,), (1350304016,), (1350304017,), (1350304018,), (1350304019,), (1350304021,), (1350307171,), (1350307172,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088199 , 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=22087637 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 (22088199) result : ((1350301713,), (1350301714,), (1350301715,), (1350301716,), (1350303965,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088200 , 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=22087637 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 (22088200) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088201 , 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=22087637 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 (22088201) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088202 , 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=22087637 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 (22088202) result : ((1350301778,), (1350304050,), (1350304051,), (1350304052,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088203 , 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=22087637 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 (22088203) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088204 , 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=22087637 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 (22088204) result : ((1350304194,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088205 , 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=22087637 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 (22088205) result : ((1350301806,), (1350301807,), (1350301808,), (1350304096,), (1350304097,), (1350304098,), (1350304099,), (1350304101,), (1350307184,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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 22088206 , 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=22087637 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 (22088206) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22087637) result : ((1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,)) 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 (1350137100,1350137000) 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`=22087637 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Teint_Dans_La_Masse','plastique','Carton_brun','mal_croppe','papier','cartonnette','environnement','kraft','metal','flou','Carton_gris')) 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`=22087637 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Teint_Dans_La_Masse','plastique','Carton_brun','mal_croppe','papier','cartonnette','environnement','kraft','metal','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 22087637, 'sub_port_id': 22088207, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572680, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 22087637, 'sub_port_id': 22088208, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572681, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'plastique': {'main_port_id': 22087637, 'sub_port_id': 22088209, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572682, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Carton_gris': {'main_port_id': 22087637, 'sub_port_id': 22088210, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572683, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'autre_refus': {'main_port_id': 22087637, 'sub_port_id': 22088211, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572684, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'environnement': {'main_port_id': 22087637, 'sub_port_id': 22088212, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572685, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'papier': {'main_port_id': 22087637, 'sub_port_id': 22088213, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572686, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'cartonnette': {'main_port_id': 22087637, 'sub_port_id': 22088214, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572687, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'mal_croppe': {'main_port_id': 22087637, 'sub_port_id': 22088215, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572688, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'kraft': {'main_port_id': 22087637, 'sub_port_id': 22088216, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572689, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'Carton_brun': {'main_port_id': 22087637, 'sub_port_id': 22088217, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572690, 'last_updated_at': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 6, 10, 29), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}, 'flou': {'main_port_id': 22087637, 'sub_port_id': 22088218, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14572691, 'last_updated_at': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_desc': datetime.datetime(2025, 4, 7, 13, 8, 18), 'last_updated_at_asc': datetime.datetime(2025, 4, 7, 6, 10, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088195 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088208,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088196 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088209,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088197 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088210,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088198 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088211,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088199 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088212,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088200 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088213,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088201 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088214,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088202 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088215,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088203 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088216,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088204 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088217,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088205 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22088218,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22088206 lien utilise dans velours : https://www.fotonower.com/velours/22088207,22088208,22088209,22088210,22088211,22088212,22088213,22088214,22088215,22088216,22088217,22088218?tags=metal,Teint_Dans_La_Masse,plastique,Carton_gris,autre_refus,environnement,papier,cartonnette,mal_croppe,kraft,Carton_brun,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087637]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] map_info['map_portfolio_photo'] : {22087637: [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993]} final : False mtd_id 4302 list_pids : [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] Looping around the photos to save general results len do output : 1 /22087637. 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, '2733363') ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22087637', "{'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206}", None, None, None, None, '2733363'), ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363')] time used for this insertion : 0.020856380462646484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.46209025382995605 time spend to save output : 0.021355390548706055 total time spend for step 1 : 0.4834456443786621 step2:final Wed Apr 9 09:23: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 (22087637) 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 22087637 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350137004,1350137000,1350136996,1350136993,1350137045,1350137043,1350137040,1350137038,1350137100,1350137096,1350137092,1350137091,1350137087,1350137082,1350137139,1350137136,1350137133,1350137184,1350137182,1350137178,1350137174,1350137238,1350137234,1350137231,1350137229,1350137226,1350137224,1350137284,1350137280,1350137276,1350137272,1350137330,1350137326,1350137324,1350137322,1350137319,1350137376,1350137372,1350137369,1350137417,1350137364,1350137414,1350137411,1350137408,1350137405,1350137808); 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([22087637]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} new output for save of step final : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] map_info['map_portfolio_photo'] : {22087637: [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993]} final : False mtd_id 4302 list_pids : [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] Looping around the photos to save general results len do output : 46 /1350137808.Didn't retrieve data . /1350137417.Didn't retrieve data . /1350137414.Didn't retrieve data . /1350137411.Didn't retrieve data . /1350137408.Didn't retrieve data . /1350137405.Didn't retrieve data . /1350137376.Didn't retrieve data . /1350137372.Didn't retrieve data . /1350137369.Didn't retrieve data . /1350137364.Didn't retrieve data . /1350137330.Didn't retrieve data . /1350137326.Didn't retrieve data . /1350137324.Didn't retrieve data . /1350137322.Didn't retrieve data . /1350137319.Didn't retrieve data . /1350137284.Didn't retrieve data . /1350137280.Didn't retrieve data . /1350137276.Didn't retrieve data . /1350137272.Didn't retrieve data . /1350137238.Didn't retrieve data . /1350137234.Didn't retrieve data . /1350137231.Didn't retrieve data . /1350137229.Didn't retrieve data . /1350137226.Didn't retrieve data . /1350137224.Didn't retrieve data . /1350137184.Didn't retrieve data . /1350137182.Didn't retrieve data . /1350137178.Didn't retrieve data . /1350137174.Didn't retrieve data . /1350137139.Didn't retrieve data . /1350137136.Didn't retrieve data . /1350137133.Didn't retrieve data . /1350137100.Didn't retrieve data . /1350137096.Didn't retrieve data . /1350137092.Didn't retrieve data . /1350137091.Didn't retrieve data . /1350137087.Didn't retrieve data . /1350137082.Didn't retrieve data . /1350137045.Didn't retrieve data . /1350137043.Didn't retrieve data . /1350137040.Didn't retrieve data . /1350137038.Didn't retrieve data . /1350137004.Didn't retrieve data . /1350137000.Didn't retrieve data . /1350136996.Didn't retrieve data . /1350136993.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, '2733363') ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 138 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', '22087637', '1350137808', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137417', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137414', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137411', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137408', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137405', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137376', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137372', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137369', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137364', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137330', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137326', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137324', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137322', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137319', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137284', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137280', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137276', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137272', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137238', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137234', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137231', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137229', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137226', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137224', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137184', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137182', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137178', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137174', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137139', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137136', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137133', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137100', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137096', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137092', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137091', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137087', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137082', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137045', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137043', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137040', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137038', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137004', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350137000', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350136996', '0.03986245282123403', None, None, None, None, '2733363'), ('4302', '22087637', '1350136993', '0.03986245282123403', None, None, None, None, '2733363')] time used for this insertion : 0.023389101028442383 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07562375068664551 time spend to save output : 0.02513909339904785 total time spend for step 2 : 0.10076284408569336 step3:velours_tree Wed Apr 9 09:23: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 : {22087637: [{'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206}]} input_args_next_step : {22087637: ()} output_args : {22087637: [{'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206}]} args : 22087637 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 : ({'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087637) 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([22087637]) 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.2899949550628662 time spend to save output : 4.267692565917969e-05 total time spend for step 3 : 0.2900376319885254 step4:send_mail_cod Wed Apr 9 09:23: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 : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} input_args_next_step : {1350137808: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137808 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137417 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137414 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137411 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137408 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137405 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137376 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137372 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137369 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137364 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137330 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137326 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137324 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137322 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137319 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137284 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137280 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137276 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137272 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137238 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137234 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137231 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137229 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137226 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137224 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137184 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137182 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137178 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137174 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137139 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137136 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137133 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137100 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137096 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137092 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137091 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137087 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137082 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137045 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137043 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137040 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137038 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137004 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350137000 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350136996 depend.output_id : 0 input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ()} output_args : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',)} args : 1350136993 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 : {22087637: [{'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206}]} input_args_next_step : {1350137808: ('0.03986245282123403',), 1350137417: ('0.03986245282123403',), 1350137414: ('0.03986245282123403',), 1350137411: ('0.03986245282123403',), 1350137408: ('0.03986245282123403',), 1350137405: ('0.03986245282123403',), 1350137376: ('0.03986245282123403',), 1350137372: ('0.03986245282123403',), 1350137369: ('0.03986245282123403',), 1350137364: ('0.03986245282123403',), 1350137330: ('0.03986245282123403',), 1350137326: ('0.03986245282123403',), 1350137324: ('0.03986245282123403',), 1350137322: ('0.03986245282123403',), 1350137319: ('0.03986245282123403',), 1350137284: ('0.03986245282123403',), 1350137280: ('0.03986245282123403',), 1350137276: ('0.03986245282123403',), 1350137272: ('0.03986245282123403',), 1350137238: ('0.03986245282123403',), 1350137234: ('0.03986245282123403',), 1350137231: ('0.03986245282123403',), 1350137229: ('0.03986245282123403',), 1350137226: ('0.03986245282123403',), 1350137224: ('0.03986245282123403',), 1350137184: ('0.03986245282123403',), 1350137182: ('0.03986245282123403',), 1350137178: ('0.03986245282123403',), 1350137174: ('0.03986245282123403',), 1350137139: ('0.03986245282123403',), 1350137136: ('0.03986245282123403',), 1350137133: ('0.03986245282123403',), 1350137100: ('0.03986245282123403',), 1350137096: ('0.03986245282123403',), 1350137092: ('0.03986245282123403',), 1350137091: ('0.03986245282123403',), 1350137087: ('0.03986245282123403',), 1350137082: ('0.03986245282123403',), 1350137045: ('0.03986245282123403',), 1350137043: ('0.03986245282123403',), 1350137040: ('0.03986245282123403',), 1350137038: ('0.03986245282123403',), 1350137004: ('0.03986245282123403',), 1350137000: ('0.03986245282123403',), 1350136996: ('0.03986245282123403',), 1350136993: ('0.03986245282123403',), 22087637: ()} output_args : {22087637: [{'metal': 22088195, 'Teint_Dans_La_Masse': 22088196, 'plastique': 22088197, 'Carton_gris': 22088198, 'autre_refus': 22088199, 'environnement': 22088200, 'papier': 22088201, 'cartonnette': 22088202, 'mal_croppe': 22088203, 'kraft': 22088204, 'Carton_brun': 22088205, 'flou': 22088206}]} args : 22087637 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 :47, first value : ('0.03986245282123403',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087637) 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 (1350137808,1350137417,1350137414,1350137411,1350137408,1350137405,1350137376,1350137372,1350137369,1350137364,1350137330,1350137326,1350137324,1350137322,1350137319,1350137284,1350137280,1350137276,1350137272,1350137238,1350137234,1350137231,1350137229,1350137226,1350137224,1350137184,1350137182,1350137178,1350137174,1350137139,1350137136,1350137133,1350137100,1350137096,1350137092,1350137091,1350137087,1350137082,1350137045,1350137043,1350137040,1350137038,1350137004,1350137000,1350136996,1350136993) Found this number of photos: 46 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350136993 begin to download photo : 1350137091 begin to download photo : 1350137184 begin to download photo : 1350137284 begin to download photo : 1350137405 download finish for photo 1350137405 begin to download photo : 1350137408 download finish for photo 1350137284 begin to download photo : 1350137319 download finish for photo 1350136993 begin to download photo : 1350136996 download finish for photo 1350137091 begin to download photo : 1350137092 download finish for photo 1350137184 begin to download photo : 1350137224 download finish for photo 1350137319 begin to download photo : 1350137322 download finish for photo 1350136996 begin to download photo : 1350137000 download finish for photo 1350137408 begin to download photo : 1350137411 download finish for photo 1350137224 begin to download photo : 1350137226 download finish for photo 1350137322 begin to download photo : 1350137324 download finish for photo 1350137000 begin to download photo : 1350137004 download finish for photo 1350137226 begin to download photo : 1350137229 download finish for photo 1350137411 begin to download photo : 1350137414 download finish for photo 1350137092 begin to download photo : 1350137096 download finish for photo 1350137324 begin to download photo : 1350137326 download finish for photo 1350137004 begin to download photo : 1350137038 download finish for photo 1350137326 begin to download photo : 1350137330 download finish for photo 1350137414 begin to download photo : 1350137417 download finish for photo 1350137229 begin to download photo : 1350137231 download finish for photo 1350137096 begin to download photo : 1350137100 download finish for photo 1350137038 begin to download photo : 1350137040 download finish for photo 1350137231 begin to download photo : 1350137234 download finish for photo 1350137417 begin to download photo : 1350137808 download finish for photo 1350137100 begin to download photo : 1350137133 download finish for photo 1350137330 begin to download photo : 1350137364 download finish for photo 1350137234 begin to download photo : 1350137238 download finish for photo 1350137040 begin to download photo : 1350137043 download finish for photo 1350137808 download finish for photo 1350137133 begin to download photo : 1350137136 download finish for photo 1350137364 begin to download photo : 1350137369 download finish for photo 1350137043 begin to download photo : 1350137045 download finish for photo 1350137238 begin to download photo : 1350137272 download finish for photo 1350137369 begin to download photo : 1350137372 download finish for photo 1350137045 begin to download photo : 1350137082 download finish for photo 1350137272 begin to download photo : 1350137276 download finish for photo 1350137136 begin to download photo : 1350137139 download finish for photo 1350137372 begin to download photo : 1350137376 download finish for photo 1350137082 begin to download photo : 1350137087 download finish for photo 1350137139 begin to download photo : 1350137174 download finish for photo 1350137276 begin to download photo : 1350137280 download finish for photo 1350137376 download finish for photo 1350137087 download finish for photo 1350137174 begin to download photo : 1350137178 download finish for photo 1350137280 download finish for photo 1350137178 begin to download photo : 1350137182 download finish for photo 1350137182 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette220881951744183441/ length of list_filenames : 46 ; length of list_pids : 46 ; length of list_args : 46 results_Auto_P22087637_09-04-2025_09_24_01.pdf 22088195 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=22088195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220881951744183441 22088197 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=22088197 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301820: '1744023253_974879_1350137364_14f1437c43f619432f7e7e71b9944aad_rle_crop_3748893893_0.png', 1350301821: '1744023253_974879_1350137324_72fa177d0e226100c39d130ebc221a36_rle_crop_3748894180_0.png', 1350301822: '1744023253_974879_1350137322_e5ddd7c6c8b72aad757938cbff243446_rle_crop_3748894416_0.png', 1350301823: '1744023253_974879_1350137319_3efa321d6e2bd75d351975df0d5f6265_rle_crop_3748894961_0.png', 1350304167: '1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931639_0.png', 1350304168: '1744023634_984411_1350137224_9a6603c0c6ac6be44fa7d4bf9aec656e_rle_crop_3748931684_0.png', 1350304169: '1744023634_984411_1350137092_056557e781dcfa68a148b20cb5466dbf_rle_crop_3748932102_0.png', 1350304170: '1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932155_0.png', 1350304172: '1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932150_0.png', 1350304173: '1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932705_0.png', 1350304174: '1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932697_0.png', 1350307208: '1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947114_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/494ee5591fe2e5a2c021141759337494_56009618.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/85560286b2335c57ce48a3185d127877_55174768.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/092b278180628d225c3c340e5c6eb1c3_2381779.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f8c703f2adb18f9b2776bcf83020afc2_58238806.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/60492c9cb820c8d49dfea7bf576f2b3d_36747170.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/46d75bc5140fbea9b827151dd69a60c9_46589793.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0ea0e1e5721558b21d754e005a4f5e20_63737513.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4d73621d222347b05b2f786c7c3df09c_1802609.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/d646b18f532d3e6a9e5195d8cd17126c_47385083.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0584f44951a60a5b9b5525229bcd9328_72025268.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4ec944130d0c51a3a73c9ae27773c303_57049343.png change filename to text .imagette220881971744183441/ imagette220881971744183441/1744023634_984411_1350137224_9a6603c0c6ac6be44fa7d4bf9aec656e_rle_crop_3748931684_0.png.png imagette220881971744183441/1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932705_0.png.png imagette220881971744183441/1744023634_984411_1350137092_056557e781dcfa68a148b20cb5466dbf_rle_crop_3748932102_0.png.png imagette220881971744183441/1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932697_0.png.png imagette220881971744183441/1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931639_0.png.png imagette220881971744183441/1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932150_0.png.png imagette220881971744183441/1744023253_974879_1350137319_3efa321d6e2bd75d351975df0d5f6265_rle_crop_3748894961_0.png.png imagette220881971744183441/1744023253_974879_1350137324_72fa177d0e226100c39d130ebc221a36_rle_crop_3748894180_0.png.png imagette220881971744183441/1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932155_0.png.png imagette220881971744183441/1744023253_974879_1350137322_e5ddd7c6c8b72aad757938cbff243446_rle_crop_3748894416_0.png.png imagette220881971744183441/1744023253_974879_1350137364_14f1437c43f619432f7e7e71b9944aad_rle_crop_3748893893_0.png.png imagette220881971744183441/1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947114_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/d5827694928f36eb802111f7c38c16b6_28226151.png imagette220881971744183441 22088199 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=22088199 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301713: '1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893234_0.png', 1350301714: '1744023253_974879_1350137376_e085771b40202cee579069edc0c1dcde_rle_crop_3748893336_0.png', 1350301715: '1744023253_974879_1350137284_383c01eb9102ea8741ea3b3d42acaad3_rle_crop_3748898183_0.png', 1350301716: '1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898260_0.png', 1350303965: '1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931946_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1ce470fdf1c7a9d22bb0f80ebba3016d_86680205.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e12b1a6f4166a849802d8312aa386cec_79991331.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/744213e0a089c2b98b11a5c80bdfa714_87777512.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b43bc4acd9b98bb6a80f19e5956513e3_138379.png change filename to text .imagette220881991744183442/ imagette220881991744183442/1744023253_974879_1350137376_e085771b40202cee579069edc0c1dcde_rle_crop_3748893336_0.png.png imagette220881991744183442/1744023253_974879_1350137284_383c01eb9102ea8741ea3b3d42acaad3_rle_crop_3748898183_0.png.png imagette220881991744183442/1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893234_0.png.png imagette220881991744183442/1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931946_0.png.png imagette220881991744183442/1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898260_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e62945246dc882e06b9e034604fc3c7b_95583099.png imagette220881991744183442 22088202 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=22088202 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301778: '1744023253_974879_1350137238_1bc2958f0293203b7dcff19b366bf42f_rle_crop_3748899344_0.png', 1350304050: '1744023634_984411_1350137234_13094ff2f13fd95ac71fd49f7a33c4bf_rle_crop_3748931522_0.png', 1350304051: '1744023634_984411_1350137100_9c68c7640489754a81e8575f11df2f22_rle_crop_3748931990_0.png', 1350304052: '1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932151_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a7eb8173d59478cf0fb639e097776e9b_36821866.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/784362350f8980160d9cf78a3e2a95f3_29731869.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/8dca466d885a1774f9eb402fedd1bbb0_21960213.png change filename to text .imagette220882021744183443/ imagette220882021744183443/1744023253_974879_1350137238_1bc2958f0293203b7dcff19b366bf42f_rle_crop_3748899344_0.png.png imagette220882021744183443/1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932151_0.png.png imagette220882021744183443/1744023634_984411_1350137100_9c68c7640489754a81e8575f11df2f22_rle_crop_3748931990_0.png.png imagette220882021744183443/1744023634_984411_1350137234_13094ff2f13fd95ac71fd49f7a33c4bf_rle_crop_3748931522_0.png.png imagette220882031744183443/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1db0fbb874e475b6baf2f97f1f481511_10374642.png imagette220882021744183443 22088203 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=22088203 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220882031744183443 22088204 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=22088204 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350304194: '1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932701_0.png'} change filename to text .imagette220882041744183443/ imagette220882041744183443/1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932701_0.png.png imagette220882061744183443/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/f2ac963e5d020daefda6d37cb2498b81_28106825.png imagette220882041744183443 22088206 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=22088206 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette220882061744183443 22088196 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=22088196 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301705: '1744023253_974879_1350137414_afb469bdfaa4628b75721fbfe5c7c4f1_rle_crop_3748893160_0.png', 1350301706: '1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893235_0.png', 1350301707: '1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893288_0.png', 1350301708: '1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893292_0.png', 1350301709: '1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893293_0.png', 1350301710: '1744023253_974879_1350137405_0ed5e1ce2061d2bb67b8d427ec109a4e_rle_crop_3748893303_0.png', 1350301711: '1744023253_974879_1350137322_e5ddd7c6c8b72aad757938cbff243446_rle_crop_3748894414_0.png', 1350301712: '1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898268_0.png', 1350303943: '1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931633_0.png', 1350303945: '1744023634_984411_1350137139_7d793dec54c7c7e2ad222ad23bab77e5_rle_crop_3748931834_0.png', 1350303946: '1744023634_984411_1350137136_436140972d00f6b4b63c41220680750a_rle_crop_3748931900_0.png', 1350303947: '1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931950_0.png', 1350303948: '1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932700_0.png', 1350307134: '1744023993_992492_1350137004_fa676d8a65c9c2e8a84c1e248b0b76ab_rle_crop_3748946981_0.png', 1350307135: '1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947120_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/9e0cd3dfb1520d08539496fc02a19ea6_78078666.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a914adefa9d11e91b6aa59170724d00b_88013368.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/abf758949f923ae7bac9ee68b737b532_75707241.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/04fb77a7995521202d3d97bcacb95232_77326965.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e744e31aec657b6492cbd3153b620b9d_55339704.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/489fd0893f54102a12014772e825709e_10105070.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/893829ac312ea11bd27d2686493a04e3_92304691.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/bcf8f9bb83a747b39e06267b24de61d4_22901421.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/c06e396e322f97afe2296c38002f14c9_31400859.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b44b615c52da704ec1bdd2239472b532_23925977.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/0a3e460d2fc4436bcdde55729179990d_5432562.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/b4aca51ee9e6f25886a7812c795c41bf_84232528.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7dfdc90434c271ddb4862849092cb4eb_20086473.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7c1f3ea34c8bac33ba32a16b939ad14d_77837130.png change filename to text .imagette220881961744183443/ imagette220881961744183443/1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947120_0.png.png imagette220881961744183443/1744023253_974879_1350137405_0ed5e1ce2061d2bb67b8d427ec109a4e_rle_crop_3748893303_0.png.png imagette220881961744183443/1744023634_984411_1350137139_7d793dec54c7c7e2ad222ad23bab77e5_rle_crop_3748931834_0.png.png imagette220881961744183443/1744023253_974879_1350137414_afb469bdfaa4628b75721fbfe5c7c4f1_rle_crop_3748893160_0.png.png imagette220881961744183443/1744023993_992492_1350137004_fa676d8a65c9c2e8a84c1e248b0b76ab_rle_crop_3748946981_0.png.png imagette220881961744183443/1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893292_0.png.png imagette220881961744183443/1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893288_0.png.png imagette220881961744183443/1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898268_0.png.png imagette220881961744183443/1744023634_984411_1350137136_436140972d00f6b4b63c41220680750a_rle_crop_3748931900_0.png.png imagette220881961744183443/1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931633_0.png.png imagette220881961744183443/1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931950_0.png.png imagette220881961744183443/1744023634_984411_1350137082_b039b92d4365037fde756575fe8d9d62_rle_crop_3748932700_0.png.png imagette220881961744183443/1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893235_0.png.png imagette220881961744183443/1744023253_974879_1350137408_024f64fd169c941cf84b5d36088fe879_rle_crop_3748893293_0.png.png imagette220881961744183443/1744023253_974879_1350137322_e5ddd7c6c8b72aad757938cbff243446_rle_crop_3748894414_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/c85d9d6b85216a1b6b47a2f92a45755c_64219446.png imagette220881961744183443 22088198 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=22088198 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301722: '1744023253_974879_1350137417_8d596f7f5ecc518d7a86bb5a0a5a97c3_rle_crop_3748893130_0.png', 1350301723: '1744023253_974879_1350137405_0ed5e1ce2061d2bb67b8d427ec109a4e_rle_crop_3748893306_0.png', 1350301724: '1744023253_974879_1350137364_14f1437c43f619432f7e7e71b9944aad_rle_crop_3748893898_0.png', 1350301725: '1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898261_0.png', 1350301726: '1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898263_0.png', 1350301727: '1744023253_974879_1350137272_c5fa16d55af27802e8fabf37cffad954_rle_crop_3748898318_0.png', 1350304016: '1744023634_984411_1350137174_afb40c1d36c4398e57841cb8b7bb6233_rle_crop_3748931782_0.png', 1350304017: '1744023634_984411_1350137174_afb40c1d36c4398e57841cb8b7bb6233_rle_crop_3748931781_0.png', 1350304018: '1744023634_984411_1350137139_7d793dec54c7c7e2ad222ad23bab77e5_rle_crop_3748931835_0.png', 1350304019: '1744023634_984411_1350137096_7d6c5cd5b78a13ec90c992ed6fb52b7e_rle_crop_3748932043_0.png', 1350304021: '1744023634_984411_1350137087_d84949d5f59b0eb98a6fee4ce7905866_rle_crop_3748932656_0.png', 1350307171: '1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947124_0.png', 1350307172: '1744023993_992492_1350136993_611a0a413cc933f3024e96cbe35bc8f5_rle_crop_3748947197_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/23fdf16114f5a2bea2b7efb5730dad2f_75155252.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/2c126416eee097e9a5e610224c22f625_31434825.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4c65283bc7c9d7782c9aad828d5b13aa_51396561.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/87d0875475795e1219a477cfa93c6503_66304595.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/77b588b0a56aaae672ad003cc46abcd5_60718642.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4169b420a8069c7a0cb18efbe2f3fd88_33488312.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/4a6b878a874d55e79e8bdd1cb2d898c3_21808736.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1c51b8ce4938eba8b9de638334974adc_8924617.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/fba3852f19561938eae0f65b639729f2_42204015.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/7ef80daee355ce33ddf4547effe0d834_33589494.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/02c3019ab43c41eb7bb7e9e1a61a4118_13082251.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/6569c6d71886234719d2af9a9fad9b84_76548136.png change filename to text .imagette220881981744183445/ imagette220881981744183445/1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898261_0.png.png imagette220881981744183445/1744023993_992492_1350136996_4c21ccfde811cf1c6f0477d8c0577875_rle_crop_3748947124_0.png.png imagette220881981744183445/1744023253_974879_1350137405_0ed5e1ce2061d2bb67b8d427ec109a4e_rle_crop_3748893306_0.png.png imagette220881981744183445/1744023253_974879_1350137417_8d596f7f5ecc518d7a86bb5a0a5a97c3_rle_crop_3748893130_0.png.png imagette220881981744183445/1744023634_984411_1350137096_7d6c5cd5b78a13ec90c992ed6fb52b7e_rle_crop_3748932043_0.png.png imagette220881981744183445/1744023634_984411_1350137174_afb40c1d36c4398e57841cb8b7bb6233_rle_crop_3748931782_0.png.png imagette220881981744183445/1744023634_984411_1350137139_7d793dec54c7c7e2ad222ad23bab77e5_rle_crop_3748931835_0.png.png imagette220881981744183445/1744023253_974879_1350137364_14f1437c43f619432f7e7e71b9944aad_rle_crop_3748893898_0.png.png imagette220881981744183445/1744023634_984411_1350137087_d84949d5f59b0eb98a6fee4ce7905866_rle_crop_3748932656_0.png.png imagette220881981744183445/1744023253_974879_1350137272_c5fa16d55af27802e8fabf37cffad954_rle_crop_3748898318_0.png.png imagette220881981744183445/1744023634_984411_1350137174_afb40c1d36c4398e57841cb8b7bb6233_rle_crop_3748931781_0.png.png imagette220881981744183445/1744023253_974879_1350137280_f9686d28092b7540b9de823abfecadf5_rle_crop_3748898263_0.png.png imagette220881981744183445/1744023993_992492_1350136993_611a0a413cc933f3024e96cbe35bc8f5_rle_crop_3748947197_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/bd2a1969c662ddcaa41acf07e84e44a0_62569106.png imagette220881981744183445 22088205 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=22088205 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350301806: '1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893229_0.png', 1350301807: '1744023253_974879_1350137284_383c01eb9102ea8741ea3b3d42acaad3_rle_crop_3748898188_0.png', 1350301808: '1744023253_974879_1350137276_96e19d1974c84a5343f8334e8cb7fb41_rle_crop_3748898293_0.png', 1350304096: '1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931631_0.png', 1350304097: '1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931948_0.png', 1350304098: '1744023634_984411_1350137100_9c68c7640489754a81e8575f11df2f22_rle_crop_3748931997_0.png', 1350304099: '1744023634_984411_1350137092_056557e781dcfa68a148b20cb5466dbf_rle_crop_3748932089_0.png', 1350304101: '1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932149_0.png', 1350307184: '1744023993_992492_1350137000_0115edeecbe06947211649a042a2fa94_rle_crop_3748946998_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3ff6ef6994fcdb0794236fcbc5907229_59303105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/e89bfe889a6ec895521a7a8a57962d16_13512208.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/84993f474560824097ad07eff93604e4_16122534.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/1f859cbd9ef09837992ade51753f255e_77313463.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/3a1160e0ec7f0fcc21977dcea90508e2_61340423.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a2f56f3d07906a4ede8f25b7459f9b40_38209282.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/9f45bfa9aeab833174f9642155fc6cf0_57119513.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/a77714db061e9d524950128cb547b6d5_36512272.png change filename to text .imagette220882051744183446/ imagette220882051744183446/1744023634_984411_1350137092_056557e781dcfa68a148b20cb5466dbf_rle_crop_3748932089_0.png.png imagette220882051744183446/1744023634_984411_1350137100_9c68c7640489754a81e8575f11df2f22_rle_crop_3748931997_0.png.png imagette220882051744183446/1744023634_984411_1350137133_3232c8e367ba744adf69566bec732927_rle_crop_3748931948_0.png.png imagette220882051744183446/1744023253_974879_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110_rle_crop_3748893229_0.png.png imagette220882051744183446/1744023634_984411_1350137226_a5781fe795d960df974d89d2e7003ca5_rle_crop_3748931631_0.png.png imagette220882051744183446/1744023253_974879_1350137276_96e19d1974c84a5343f8334e8cb7fb41_rle_crop_3748898293_0.png.png imagette220882051744183446/1744023634_984411_1350137091_15603e3c5641d6277a5fe3e6502494fd_rle_crop_3748932149_0.png.png imagette220882051744183446/1744023993_992492_1350137000_0115edeecbe06947211649a042a2fa94_rle_crop_3748946998_0.png.png imagette220882051744183446/1744023253_974879_1350137284_383c01eb9102ea8741ea3b3d42acaad3_rle_crop_3748898188_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/7/6cbdba859f875d009acb947d92332653_10863194.png imagette220882051744183446 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22087637 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22088207,22088208,22088209,22088210,22088211,22088212,22088213,22088214,22088215,22088216,22088217,22088218?tags=metal,Teint_Dans_La_Masse,plastique,Carton_gris,autre_refus,environnement,papier,cartonnette,mal_croppe,kraft,Carton_brun,flou your option no_mail is active, we will not send the real mail to your client args[1350137808] : ('0.03986245282123403',) no score found for photo 1350137808 We are sending mail with results at report@fotonower.com args[1350137417] : ('0.03986245282123403',) no score found for photo 1350137417 We are sending mail with results at report@fotonower.com args[1350137414] : ('0.03986245282123403',) no score found for photo 1350137414 We are sending mail with results at report@fotonower.com args[1350137411] : ('0.03986245282123403',) no score found for photo 1350137411 We are sending mail with results at report@fotonower.com args[1350137408] : ('0.03986245282123403',) no score found for photo 1350137408 We are sending mail with results at report@fotonower.com args[1350137405] : ('0.03986245282123403',) no score found for photo 1350137405 We are sending mail with results at report@fotonower.com args[1350137376] : ('0.03986245282123403',) no score found for photo 1350137376 We are sending mail with results at report@fotonower.com args[1350137372] : ('0.03986245282123403',) no score found for photo 1350137372 We are sending mail with results at report@fotonower.com args[1350137369] : ('0.03986245282123403',) no score found for photo 1350137369 We are sending mail with results at report@fotonower.com args[1350137364] : ('0.03986245282123403',) no score found for photo 1350137364 We are sending mail with results at report@fotonower.com args[1350137330] : ('0.03986245282123403',) no score found for photo 1350137330 We are sending mail with results at report@fotonower.com args[1350137326] : ('0.03986245282123403',) no score found for photo 1350137326 We are sending mail with results at report@fotonower.com args[1350137324] : ('0.03986245282123403',) no score found for photo 1350137324 We are sending mail with results at report@fotonower.com args[1350137322] : ('0.03986245282123403',) no score found for photo 1350137322 We are sending mail with results at report@fotonower.com args[1350137319] : ('0.03986245282123403',) no score found for photo 1350137319 We are sending mail with results at report@fotonower.com args[1350137284] : ('0.03986245282123403',) no score found for photo 1350137284 We are sending mail with results at report@fotonower.com args[1350137280] : ('0.03986245282123403',) no score found for photo 1350137280 We are sending mail with results at report@fotonower.com args[1350137276] : ('0.03986245282123403',) no score found for photo 1350137276 We are sending mail with results at report@fotonower.com args[1350137272] : ('0.03986245282123403',) no score found for photo 1350137272 We are sending mail with results at report@fotonower.com args[1350137238] : ('0.03986245282123403',) no score found for photo 1350137238 We are sending mail with results at report@fotonower.com args[1350137234] : ('0.03986245282123403',) no score found for photo 1350137234 We are sending mail with results at report@fotonower.com args[1350137231] : ('0.03986245282123403',) no score found for photo 1350137231 We are sending mail with results at report@fotonower.com args[1350137229] : ('0.03986245282123403',) no score found for photo 1350137229 We are sending mail with results at report@fotonower.com args[1350137226] : ('0.03986245282123403',) no score found for photo 1350137226 We are sending mail with results at report@fotonower.com args[1350137224] : ('0.03986245282123403',) no score found for photo 1350137224 We are sending mail with results at report@fotonower.com args[1350137184] : ('0.03986245282123403',) no score found for photo 1350137184 We are sending mail with results at report@fotonower.com args[1350137182] : ('0.03986245282123403',) no score found for photo 1350137182 We are sending mail with results at report@fotonower.com args[1350137178] : ('0.03986245282123403',) no score found for photo 1350137178 We are sending mail with results at report@fotonower.com args[1350137174] : ('0.03986245282123403',) no score found for photo 1350137174 We are sending mail with results at report@fotonower.com args[1350137139] : ('0.03986245282123403',) no score found for photo 1350137139 We are sending mail with results at report@fotonower.com args[1350137136] : ('0.03986245282123403',) no score found for photo 1350137136 We are sending mail with results at report@fotonower.com args[1350137133] : ('0.03986245282123403',) no score found for photo 1350137133 We are sending mail with results at report@fotonower.com args[1350137100] : ('0.03986245282123403',) no score found for photo 1350137100 We are sending mail with results at report@fotonower.com args[1350137096] : ('0.03986245282123403',) no score found for photo 1350137096 We are sending mail with results at report@fotonower.com args[1350137092] : ('0.03986245282123403',) no score found for photo 1350137092 We are sending mail with results at report@fotonower.com args[1350137091] : ('0.03986245282123403',) no score found for photo 1350137091 We are sending mail with results at report@fotonower.com args[1350137087] : ('0.03986245282123403',) no score found for photo 1350137087 We are sending mail with results at report@fotonower.com args[1350137082] : ('0.03986245282123403',) no score found for photo 1350137082 We are sending mail with results at report@fotonower.com args[1350137045] : ('0.03986245282123403',) no score found for photo 1350137045 We are sending mail with results at report@fotonower.com args[1350137043] : ('0.03986245282123403',) no score found for photo 1350137043 We are sending mail with results at report@fotonower.com args[1350137040] : ('0.03986245282123403',) no score found for photo 1350137040 We are sending mail with results at report@fotonower.com args[1350137038] : ('0.03986245282123403',) no score found for photo 1350137038 We are sending mail with results at report@fotonower.com args[1350137004] : ('0.03986245282123403',) no score found for photo 1350137004 We are sending mail with results at report@fotonower.com args[1350137000] : ('0.03986245282123403',) no score found for photo 1350137000 We are sending mail with results at report@fotonower.com args[1350136996] : ('0.03986245282123403',) no score found for photo 1350136996 We are sending mail with results at report@fotonower.com args[1350136993] : ('0.03986245282123403',) no score found for photo 1350136993 We are sending mail with results at report@fotonower.com refus_total : 0.03986245282123403 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=22087637 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_P22087637_09-04-2025_09_24_01.pdf results_Auto_P22087637_09-04-2025_09_24_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_09-04-2025_09_24_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','22087637','results_Auto_P22087637_09-04-2025_09_24_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_09-04-2025_09_24_01.pdf','pdf','','0.52','0.03986245282123403') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087637]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] map_info['map_portfolio_photo'] : {22087637: [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993]} final : False mtd_id 4302 list_pids : [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] 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, '2733363') ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22087637', '1350137808', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363')] time used for this insertion : 0.019420862197875977 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.80482530593872 time spend to save output : 0.019887208938598633 total time spend for step 4 : 10.82471251487732 step5:split_time_score Wed Apr 9 09:24:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22087637'] 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 : [('22087637',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22087637) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350137405: {'path': 'temp/1744183439_145650_1350137405_0ed5e1ce2061d2bb67b8d427ec109a4e.jpg', 'extension': 'jpg'}, 1350137408: {'path': 'temp/1744183439_145650_1350137408_024f64fd169c941cf84b5d36088fe879.jpg', 'extension': 'jpg'}, 1350137411: {'path': 'temp/1744183439_145650_1350137411_8e6ac5821b1ef9bf0b60b3790e58f110.jpg', 'extension': 'jpg'}, 1350137414: {'path': 'temp/1744183439_145650_1350137414_afb469bdfaa4628b75721fbfe5c7c4f1.jpg', 'extension': 'jpg'}, 1350137417: {'path': 'temp/1744183439_145650_1350137417_8d596f7f5ecc518d7a86bb5a0a5a97c3.jpg', 'extension': 'jpg'}, 1350137808: {'path': 'temp/1744183439_145650_1350137808_e90b33b1b3752f10cf11669831b8d8f3.jpg', 'extension': 'jpg'}, 1350137284: {'path': 'temp/1744183439_145650_1350137284_383c01eb9102ea8741ea3b3d42acaad3.jpg', 'extension': 'jpg'}, 1350137319: {'path': 'temp/1744183439_145650_1350137319_3efa321d6e2bd75d351975df0d5f6265.jpg', 'extension': 'jpg'}, 1350137322: {'path': 'temp/1744183439_145650_1350137322_e5ddd7c6c8b72aad757938cbff243446.jpg', 'extension': 'jpg'}, 1350137324: {'path': 'temp/1744183439_145650_1350137324_72fa177d0e226100c39d130ebc221a36.jpg', 'extension': 'jpg'}, 1350137326: {'path': 'temp/1744183439_145650_1350137326_c97c1d92a50281bccec38b9d7155aa45.jpg', 'extension': 'jpg'}, 1350137330: {'path': 'temp/1744183439_145650_1350137330_d1b7b63a984c19940e53236ab8063a45.jpg', 'extension': 'jpg'}, 1350137364: {'path': 'temp/1744183439_145650_1350137364_14f1437c43f619432f7e7e71b9944aad.jpg', 'extension': 'jpg'}, 1350137369: {'path': 'temp/1744183439_145650_1350137369_a4c58cfc3d34c2ee7ab1370fe9f230e6.jpg', 'extension': 'jpg'}, 1350137372: {'path': 'temp/1744183439_145650_1350137372_0186b6b11384a033dca44bb43acfa210.jpg', 'extension': 'jpg'}, 1350137376: {'path': 'temp/1744183439_145650_1350137376_e085771b40202cee579069edc0c1dcde.jpg', 'extension': 'jpg'}, 1350136993: {'path': 'temp/1744183439_145650_1350136993_611a0a413cc933f3024e96cbe35bc8f5.jpg', 'extension': 'jpg'}, 1350136996: {'path': 'temp/1744183439_145650_1350136996_4c21ccfde811cf1c6f0477d8c0577875.jpg', 'extension': 'jpg'}, 1350137000: {'path': 'temp/1744183439_145650_1350137000_0115edeecbe06947211649a042a2fa94.jpg', 'extension': 'jpg'}, 1350137004: {'path': 'temp/1744183439_145650_1350137004_fa676d8a65c9c2e8a84c1e248b0b76ab.jpg', 'extension': 'jpg'}, 1350137038: {'path': 'temp/1744183439_145650_1350137038_aed56993642ee2f9bbf144d0e48b6e7f.jpg', 'extension': 'jpg'}, 1350137040: {'path': 'temp/1744183439_145650_1350137040_e3a563ed465858b3a8661789f4fec43e.jpg', 'extension': 'jpg'}, 1350137043: {'path': 'temp/1744183439_145650_1350137043_d434ae8fa7269f4d9ed17429ef63ba89.jpg', 'extension': 'jpg'}, 1350137045: {'path': 'temp/1744183439_145650_1350137045_a6226cebffba896d2c80fc1dd3fb611c.jpg', 'extension': 'jpg'}, 1350137082: {'path': 'temp/1744183439_145650_1350137082_b039b92d4365037fde756575fe8d9d62.jpg', 'extension': 'jpg'}, 1350137087: {'path': 'temp/1744183439_145650_1350137087_d84949d5f59b0eb98a6fee4ce7905866.jpg', 'extension': 'jpg'}, 1350137184: {'path': 'temp/1744183439_145650_1350137184_b6a59efa92daa11824376f229b27b388.jpg', 'extension': 'jpg'}, 1350137224: {'path': 'temp/1744183439_145650_1350137224_9a6603c0c6ac6be44fa7d4bf9aec656e.jpg', 'extension': 'jpg'}, 1350137226: {'path': 'temp/1744183439_145650_1350137226_a5781fe795d960df974d89d2e7003ca5.jpg', 'extension': 'jpg'}, 1350137229: {'path': 'temp/1744183439_145650_1350137229_4a0c3b5a1055c0299626a584f8d85311.jpg', 'extension': 'jpg'}, 1350137231: {'path': 'temp/1744183439_145650_1350137231_bea3528606168d56ea6d493952805579.jpg', 'extension': 'jpg'}, 1350137234: {'path': 'temp/1744183439_145650_1350137234_13094ff2f13fd95ac71fd49f7a33c4bf.jpg', 'extension': 'jpg'}, 1350137238: {'path': 'temp/1744183439_145650_1350137238_1bc2958f0293203b7dcff19b366bf42f.jpg', 'extension': 'jpg'}, 1350137272: {'path': 'temp/1744183439_145650_1350137272_c5fa16d55af27802e8fabf37cffad954.jpg', 'extension': 'jpg'}, 1350137276: {'path': 'temp/1744183439_145650_1350137276_96e19d1974c84a5343f8334e8cb7fb41.jpg', 'extension': 'jpg'}, 1350137280: {'path': 'temp/1744183439_145650_1350137280_f9686d28092b7540b9de823abfecadf5.jpg', 'extension': 'jpg'}, 1350137091: {'path': 'temp/1744183439_145650_1350137091_15603e3c5641d6277a5fe3e6502494fd.jpg', 'extension': 'jpg'}, 1350137092: {'path': 'temp/1744183439_145650_1350137092_056557e781dcfa68a148b20cb5466dbf.jpg', 'extension': 'jpg'}, 1350137096: {'path': 'temp/1744183439_145650_1350137096_7d6c5cd5b78a13ec90c992ed6fb52b7e.jpg', 'extension': 'jpg'}, 1350137100: {'path': 'temp/1744183439_145650_1350137100_9c68c7640489754a81e8575f11df2f22.jpg', 'extension': 'jpg'}, 1350137133: {'path': 'temp/1744183439_145650_1350137133_3232c8e367ba744adf69566bec732927.jpg', 'extension': 'jpg'}, 1350137136: {'path': 'temp/1744183439_145650_1350137136_436140972d00f6b4b63c41220680750a.jpg', 'extension': 'jpg'}, 1350137139: {'path': 'temp/1744183439_145650_1350137139_7d793dec54c7c7e2ad222ad23bab77e5.jpg', 'extension': 'jpg'}, 1350137174: {'path': 'temp/1744183439_145650_1350137174_afb40c1d36c4398e57841cb8b7bb6233.jpg', 'extension': 'jpg'}, 1350137178: {'path': 'temp/1744183439_145650_1350137178_204ce52e740f9648f19751bd52b95d48.jpg', 'extension': 'jpg'}, 1350137182: {'path': 'temp/1744183439_145650_1350137182_bdd335e1f317cb16b1efbe7b53284c99.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 = 22087637; (('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 = 22087637 group by h (('18', 46),) 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=22087637 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 (22087637) 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 (22087637) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04042025 22087637 Nombre de photos uploadées : 46 / 23040 (0%) 04042025 22087637 Nombre de photos taguées (types de déchets): 0 / 46 (0%) 04042025 22087637 Nombre de photos taguées (volume) : 0 / 46 (0%) [{'photo_id': 1350137004, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/fa676d8a65c9c2e8a84c1e248b0b76ab.jpg', 'username': None, 'uploaded_at': 1743783367, 'text': 'image_04042025_18_15_04_10146.jpg'}, {'photo_id': 1350137000, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/0115edeecbe06947211649a042a2fa94.jpg', 'username': None, 'uploaded_at': 1743783367, 'text': 'image_04042025_18_15_14_10135.jpg'}, {'photo_id': 1350136996, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/4c21ccfde811cf1c6f0477d8c0577875.jpg', 'username': None, 'uploaded_at': 1743783367, 'text': 'image_04042025_18_15_23_9139.jpg'}, {'photo_id': 1350136993, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/4/611a0a413cc933f3024e96cbe35bc8f5.jpg', 'username': None, 'uploaded_at': 1743783367, 'text': 'image_04042025_18_15_43_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021920204162597656 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22087637, '2025-04-04' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1715710,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02409672737121582 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= 1715710 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22043406, 'dashboard_result_id': 9895506, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043406_04-04-2025_00_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043418, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22043942, 'dashboard_result_id': 9895507, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043942_04-04-2025_00_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043956, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22044410, 'dashboard_result_id': 9895508, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044410_04-04-2025_00_49_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044424, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22044925, 'dashboard_result_id': 9895509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044925_04-04-2025_01_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044939, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22046111, 'dashboard_result_id': 9895510, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046111_04-04-2025_01_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22046115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046126, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22046656, 'dashboard_result_id': 9895511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046656_04-04-2025_02_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046671, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22047125, 'dashboard_result_id': 9895512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047125_04-04-2025_02_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047160, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047165, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22047852, 'dashboard_result_id': 9895513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047852_04-04-2025_02_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047919, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22048612, 'dashboard_result_id': 9895514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048612_04-04-2025_02_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048643, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22049082, 'dashboard_result_id': 9895515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049082_04-04-2025_02_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22049085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049096, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22049735, 'dashboard_result_id': 9895516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049735_04-04-2025_03_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22049767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049774, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22050459, 'dashboard_result_id': 9895517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050459_04-04-2025_03_32_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050491, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22051121, 'dashboard_result_id': 9895518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051121_04-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051158, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22051688, 'dashboard_result_id': 9895519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051688_04-04-2025_04_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051718, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22052190, 'dashboard_result_id': 9895520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22052190_07-04-2025_06_17_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22052206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22052207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22052208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22052209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22052210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22052211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22052212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22052213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22052214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22052215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22052216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22052217, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22053273, 'dashboard_result_id': 9895521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053273_04-04-2025_05_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053292, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22053544, 'dashboard_result_id': 9895522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053544_04-04-2025_05_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053589, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22054156, 'dashboard_result_id': 9895523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054156_04-04-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054195, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22054629, 'dashboard_result_id': 9895524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054629_04-04-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054643, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22055241, 'dashboard_result_id': 9895527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055241_04-04-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055279, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22055853, 'dashboard_result_id': 9895528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055853_04-04-2025_06_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22055904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055915, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22056524, 'dashboard_result_id': 9895530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056524_04-04-2025_06_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22056540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22056541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22056542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22056543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22056544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22056545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22056546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22056547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22056548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22056549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22056550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22056551, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22056998, 'dashboard_result_id': 9895532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056998_04-04-2025_07_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22057040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057051, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22057769, 'dashboard_result_id': 9895534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22057769_04-04-2025_07_22_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22057776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057779, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057786, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22058292, 'dashboard_result_id': 9895536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22058292_04-04-2025_07_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22058378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22058379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22058380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22058381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22058382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22058383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22058384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22058385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22058386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22058387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22058388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22058389, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22059269, 'dashboard_result_id': 9895538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059269_04-04-2025_07_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059284, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22059940, 'dashboard_result_id': 9895541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059940_04-04-2025_08_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059957, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22060396, 'dashboard_result_id': 9895543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060396_04-04-2025_08_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22060427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060438, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22061195, 'dashboard_result_id': 9895546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061195_04-04-2025_08_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061282, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22061805, 'dashboard_result_id': 9895548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061805_04-04-2025_09_16_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061871, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22062661, 'dashboard_result_id': 9895550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062661_04-04-2025_09_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22062669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22062670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22062671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22062672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22062673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22062674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22062675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22062676, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22062677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22062678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22062679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22062680, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22063586, 'dashboard_result_id': 9895552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063586_04-04-2025_09_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22063589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063600, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22064210, 'dashboard_result_id': 9895554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064210_04-04-2025_10_03_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064279, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22064684, 'dashboard_result_id': 9895555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064684_04-04-2025_10_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064720, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22065227, 'dashboard_result_id': 9895556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065227_04-04-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065242, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22065611, 'dashboard_result_id': 9895558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065611_04-04-2025_10_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22065670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065681, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22066308, 'dashboard_result_id': 9895560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066308_04-04-2025_11_11_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066323, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22067773, 'dashboard_result_id': 9895561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067773_04-04-2025_11_19_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067945, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22069574, 'dashboard_result_id': 9895562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069574_04-04-2025_11_33_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22069721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069732, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22070932, 'dashboard_result_id': 9895563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070932_04-04-2025_11_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22070962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070973, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22071803, 'dashboard_result_id': 9895564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071803_04-04-2025_12_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22071807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071817, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22072385, 'dashboard_result_id': 9895565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072385_07-04-2025_06_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072439, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22074863, 'dashboard_result_id': 9895566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074863_04-04-2025_13_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074909, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22075344, 'dashboard_result_id': 9895567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22075344_04-04-2025_14_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22075345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22075346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22075347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22075348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22075349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22075350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22075351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22075352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22075353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22075354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22075355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22075356, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22076038, 'dashboard_result_id': 9895568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076038_04-04-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22076052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22076061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076063, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22076691, 'dashboard_result_id': 9895569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076691_04-04-2025_14_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22076718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22076727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076729, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22077330, 'dashboard_result_id': 9895570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077330_04-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077344, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22077778, 'dashboard_result_id': 9895571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077778_04-04-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077825, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22078313, 'dashboard_result_id': 9895572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078313_04-04-2025_15_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078363, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22079087, 'dashboard_result_id': 9895573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079087_04-04-2025_15_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22079090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079101, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22079538, 'dashboard_result_id': 9895574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079538_04-04-2025_15_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079579, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22080485, 'dashboard_result_id': 9895575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080485_04-04-2025_16_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22080514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080525, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22081277, 'dashboard_result_id': 9895576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081277_04-04-2025_16_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081355, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22082119, 'dashboard_result_id': 9895577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082119_07-04-2025_06_14_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082163, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082165, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087632, 'dashboard_result_id': 9895578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087632_07-04-2025_06_14_01.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087633, 'dashboard_result_id': 9895579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087633_07-04-2025_06_13_33.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087634, 'dashboard_result_id': 9895580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087634_07-04-2025_06_13_03.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087635, 'dashboard_result_id': 9895581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087635_07-04-2025_06_11_34.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087636, 'dashboard_result_id': 9895582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087636_07-04-2025_06_12_03.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087637, 'dashboard_result_id': 9895583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_07-04-2025_06_10_32.pdf'}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087638, 'dashboard_result_id': 9895584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087638_09-04-2025_09_23_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088147, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087639, 'dashboard_result_id': 9895585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087639_09-04-2025_09_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088034, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087664, 'dashboard_result_id': 9895586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087664_09-04-2025_09_22_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088075, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087665, 'dashboard_result_id': 9895587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087665_09-04-2025_09_22_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087986, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087666, 'dashboard_result_id': 9895588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087666_09-04-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087961, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087667, 'dashboard_result_id': 9895589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087667_09-04-2025_09_21_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087871, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087668, 'dashboard_result_id': 9895590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087668_09-04-2025_09_20_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087798, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087669, 'dashboard_result_id': 9895591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087669_09-04-2025_09_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087846, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087670, 'dashboard_result_id': 9895592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087670_09-04-2025_09_19_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087774, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087671, 'dashboard_result_id': 9895593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087671_09-04-2025_09_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087736, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087672, 'dashboard_result_id': 9895594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087672_09-04-2025_09_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087686, 'pht': 3726}}"}, {'dashboat_entry_day': 1715710, 'dashboard_run_id': 1726643, 'mtr_portfolio_id': 22087673, 'dashboard_result_id': 9895595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087673_09-04-2025_09_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22087699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087710, '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 = 22043406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722430, 'mtr_portfolio_id': 22043406, 'created_at': datetime.datetime(2025, 4, 4, 0, 18, 31), 'result': '0.06920453884432734', 'result_long': None, 'result_double': None}] Qualite : 0.06920453884432734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22043406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043406_04-04-2025_00_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22043406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043406_04-04-2025_00_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043418, 'pht': 3726}}" where mtr_portfolio_id = 22043406 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22043406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895506, 0.06920453884432734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043406_04-04-2025_00_18_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22043415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043418, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22043942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722447, 'mtr_portfolio_id': 22043942, 'created_at': datetime.datetime(2025, 4, 4, 0, 32, 58), 'result': '0.054280900393646664', 'result_long': None, 'result_double': None}] Qualite : 0.054280900393646664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22043942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043942_04-04-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22043942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043942_04-04-2025_00_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043956, 'pht': 3726}}" where mtr_portfolio_id = 22043942 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22043942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895507, 0.054280900393646664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22043942_04-04-2025_00_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22043945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22043946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22043947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22043948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22043949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22043950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22043951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22043952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22043953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22043954, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22043955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22043956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22044410 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722478, 'mtr_portfolio_id': 22044410, 'created_at': datetime.datetime(2025, 4, 4, 0, 49, 3), 'result': '0.05694802716799217', 'result_long': None, 'result_double': None}] Qualite : 0.05694802716799217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22044410 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044410_04-04-2025_00_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22044410 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044410_04-04-2025_00_49_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044424, 'pht': 3726}}" where mtr_portfolio_id = 22044410 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22044410 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895508, 0.05694802716799217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044410_04-04-2025_00_49_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044417, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044424, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22044925 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722508, 'mtr_portfolio_id': 22044925, 'created_at': datetime.datetime(2025, 4, 4, 1, 3), 'result': '0.03806367308517733', 'result_long': None, 'result_double': None}] Qualite : 0.03806367308517733 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22044925 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044925_04-04-2025_01_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22044925 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044925_04-04-2025_01_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044939, 'pht': 3726}}" where mtr_portfolio_id = 22044925 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22044925 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895509, 0.03806367308517733, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22044925_04-04-2025_01_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22044928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22044929, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22044930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22044931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22044932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22044933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22044934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22044935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22044936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22044937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22044938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22044939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22046111 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722601, 'mtr_portfolio_id': 22046111, 'created_at': datetime.datetime(2025, 4, 4, 1, 48, 57), 'result': '0.04123076072761618', 'result_long': None, 'result_double': None}] Qualite : 0.04123076072761618 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22046111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046111_04-04-2025_01_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22046111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046111_04-04-2025_01_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22046115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046126, 'pht': 3726}}" where mtr_portfolio_id = 22046111 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22046111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895510, 0.04123076072761618, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046111_04-04-2025_01_48_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22046115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046126, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22046656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722634, 'mtr_portfolio_id': 22046656, 'created_at': datetime.datetime(2025, 4, 4, 2, 2, 31), 'result': '0.05366838792061811', 'result_long': None, 'result_double': None}] Qualite : 0.05366838792061811 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22046656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046656_04-04-2025_02_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22046656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046656_04-04-2025_02_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046671, 'pht': 3726}}" where mtr_portfolio_id = 22046656 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22046656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895511, 0.05366838792061811, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22046656_04-04-2025_02_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22046660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22046661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22046662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22046663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22046664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22046665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22046666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22046667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22046668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22046669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22046670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22046671, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22047125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722678, 'mtr_portfolio_id': 22047125, 'created_at': datetime.datetime(2025, 4, 4, 2, 19), 'result': '0.05334767070818067', 'result_long': None, 'result_double': None}] Qualite : 0.05334767070818067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22047125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047125_04-04-2025_02_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22047125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047125_04-04-2025_02_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047160, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047165, 'pht': 3726}}" where mtr_portfolio_id = 22047125 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22047125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895512, 0.05334767070818067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047125_04-04-2025_02_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047157, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047160, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047164, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22047852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722727, 'mtr_portfolio_id': 22047852, 'created_at': datetime.datetime(2025, 4, 4, 2, 33), 'result': '0.03961368644101802', 'result_long': None, 'result_double': None}] Qualite : 0.03961368644101802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22047852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047852_04-04-2025_02_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22047852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047852_04-04-2025_02_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047919, 'pht': 3726}}" where mtr_portfolio_id = 22047852 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22047852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895513, 0.03961368644101802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22047852_04-04-2025_02_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22047908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22047909, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22047910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22047911, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22047912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22047913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22047914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22047915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22047916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22047917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22047918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22047919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22048612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722764, 'mtr_portfolio_id': 22048612, 'created_at': datetime.datetime(2025, 4, 4, 2, 48, 59), 'result': '0.06211361785930551', 'result_long': None, 'result_double': None}] Qualite : 0.06211361785930551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22048612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048612_04-04-2025_02_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22048612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048612_04-04-2025_02_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048643, 'pht': 3726}}" where mtr_portfolio_id = 22048612 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22048612 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895514, 0.06211361785930551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22048612_04-04-2025_02_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22048632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22048633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22048634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22048635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22048636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22048637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22048638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22048639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22048640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22048641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22048642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22048643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22049082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722792, 'mtr_portfolio_id': 22049082, 'created_at': datetime.datetime(2025, 4, 4, 2, 56, 29), 'result': '0.060501219224086814', 'result_long': None, 'result_double': None}] Qualite : 0.060501219224086814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22049082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049082_04-04-2025_02_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22049082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049082_04-04-2025_02_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22049085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049096, 'pht': 3726}}" where mtr_portfolio_id = 22049082 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22049082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895515, 0.060501219224086814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049082_04-04-2025_02_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22049085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22049735 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722845, 'mtr_portfolio_id': 22049735, 'created_at': datetime.datetime(2025, 4, 4, 3, 17), 'result': '0.061205129124348404', 'result_long': None, 'result_double': None}] Qualite : 0.061205129124348404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22049735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049735_04-04-2025_03_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22049735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049735_04-04-2025_03_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22049767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049774, 'pht': 3726}}" where mtr_portfolio_id = 22049735 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22049735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895516, 0.061205129124348404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22049735_04-04-2025_03_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22049763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22049764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22049765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22049766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22049767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22049768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22049769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22049770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22049771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22049772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22049773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22049774, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22050459 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722888, 'mtr_portfolio_id': 22050459, 'created_at': datetime.datetime(2025, 4, 4, 3, 32, 56), 'result': '0.05151196762211808', 'result_long': None, 'result_double': None}] Qualite : 0.05151196762211808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22050459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050459_04-04-2025_03_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22050459 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050459_04-04-2025_03_32_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050491, 'pht': 3726}}" where mtr_portfolio_id = 22050459 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22050459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895517, 0.05151196762211808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22050459_04-04-2025_03_32_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22050480, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22050481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22050482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22050483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22050484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22050485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22050486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22050487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22050488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22050489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22050490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22050491, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22051121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722922, 'mtr_portfolio_id': 22051121, 'created_at': datetime.datetime(2025, 4, 4, 3, 46, 57), 'result': '0.05028318199475616', 'result_long': None, 'result_double': None}] Qualite : 0.05028318199475616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22051121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051121_04-04-2025_03_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22051121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051121_04-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051158, 'pht': 3726}}" where mtr_portfolio_id = 22051121 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22051121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895518, 0.05028318199475616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051121_04-04-2025_03_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22051688 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2722958, 'mtr_portfolio_id': 22051688, 'created_at': datetime.datetime(2025, 4, 4, 4, 3), 'result': '0.04561120666829429', 'result_long': None, 'result_double': None}] Qualite : 0.04561120666829429 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22051688 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051688_04-04-2025_04_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22051688 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051688_04-04-2025_04_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051718, 'pht': 3726}}" where mtr_portfolio_id = 22051688 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22051688 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895519, 0.04561120666829429, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22051688_04-04-2025_04_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22051707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22051708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22051709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22051710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22051711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22051712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22051713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22051714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22051715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22051716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22051717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22051718, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22052190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723007, 'mtr_portfolio_id': 22052190, 'created_at': datetime.datetime(2025, 4, 7, 6, 17, 31), 'result': '0.033993349899225665', 'result_long': None, 'result_double': None}] Qualite : 0.033993349899225665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22052190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22052190_07-04-2025_06_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22052190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22052190_07-04-2025_06_17_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22052206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22052207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22052208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22052209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22052210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22052211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22052212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22052213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22052214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22052215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22052216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22052217, 'pht': 3726}}" where mtr_portfolio_id = 22052190 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22052190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895520, 0.033993349899225665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22052190_07-04-2025_06_17_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22052206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22052207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22052208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22052209, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22052210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22052211, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22052212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22052213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22052214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22052215, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22052216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22052217, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22053273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723104, 'mtr_portfolio_id': 22053273, 'created_at': datetime.datetime(2025, 4, 4, 5, 18, 58), 'result': '0.05221135477062764', 'result_long': None, 'result_double': None}] Qualite : 0.05221135477062764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22053273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053273_04-04-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22053273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053273_04-04-2025_05_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053292, 'pht': 3726}}" where mtr_portfolio_id = 22053273 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22053273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895521, 0.05221135477062764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053273_04-04-2025_05_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22053544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723134, 'mtr_portfolio_id': 22053544, 'created_at': datetime.datetime(2025, 4, 4, 5, 32, 58), 'result': '0.04096813705885433', 'result_long': None, 'result_double': None}] Qualite : 0.04096813705885433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22053544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053544_04-04-2025_05_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22053544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053544_04-04-2025_05_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053589, 'pht': 3726}}" where mtr_portfolio_id = 22053544 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22053544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895522, 0.04096813705885433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22053544_04-04-2025_05_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22053578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22053579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22053580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22053581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22053582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22053583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22053584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22053585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22053586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22053587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22053588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22053589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723292, 'mtr_portfolio_id': 22054156, 'created_at': datetime.datetime(2025, 4, 4, 5, 49, 29), 'result': '0.039156676017801074', 'result_long': None, 'result_double': None}] Qualite : 0.039156676017801074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054156_04-04-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054156_04-04-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054195, 'pht': 3726}}" where mtr_portfolio_id = 22054156 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22054156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895523, 0.039156676017801074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054156_04-04-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22054629 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723321, 'mtr_portfolio_id': 22054629, 'created_at': datetime.datetime(2025, 4, 4, 6, 2, 59), 'result': '0.037053431910240964', 'result_long': None, 'result_double': None}] Qualite : 0.037053431910240964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22054629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054629_04-04-2025_06_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22054629 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054629_04-04-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054643, 'pht': 3726}}" where mtr_portfolio_id = 22054629 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22054629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895524, 0.037053431910240964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22054629_04-04-2025_06_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22054632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22054633, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22054634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22054635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22054636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22054637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22054638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22054639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22054640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22054641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22054642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22054643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22055241 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723369, 'mtr_portfolio_id': 22055241, 'created_at': datetime.datetime(2025, 4, 4, 6, 19, 29), 'result': '0.05104201828202896', 'result_long': None, 'result_double': None}] Qualite : 0.05104201828202896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22055241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055241_04-04-2025_06_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22055241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055241_04-04-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055279, 'pht': 3726}}" where mtr_portfolio_id = 22055241 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22055241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895527, 0.05104201828202896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055241_04-04-2025_06_19_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22055853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723410, 'mtr_portfolio_id': 22055853, 'created_at': datetime.datetime(2025, 4, 4, 6, 33, 1), 'result': '0.06883170233482606', 'result_long': None, 'result_double': None}] Qualite : 0.06883170233482606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22055853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055853_04-04-2025_06_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22055853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055853_04-04-2025_06_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22055904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055915, 'pht': 3726}}" where mtr_portfolio_id = 22055853 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22055853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895528, 0.06883170233482606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22055853_04-04-2025_06_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22055904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22055905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22055906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22055907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22055908, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22055909, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22055910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22055911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22055912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22055913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22055914, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22055915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22056524 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723445, 'mtr_portfolio_id': 22056524, 'created_at': datetime.datetime(2025, 4, 4, 6, 46, 59), 'result': '0.051753697395641826', 'result_long': None, 'result_double': None}] Qualite : 0.051753697395641826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22056524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056524_04-04-2025_06_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22056524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056524_04-04-2025_06_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22056540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22056541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22056542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22056543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22056544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22056545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22056546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22056547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22056548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22056549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22056550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22056551, 'pht': 3726}}" where mtr_portfolio_id = 22056524 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22056524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895530, 0.051753697395641826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056524_04-04-2025_06_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22056540, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22056541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22056542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22056543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22056544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22056545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22056546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22056547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22056548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22056549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22056550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22056551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22056998 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723481, 'mtr_portfolio_id': 22056998, 'created_at': datetime.datetime(2025, 4, 4, 7, 3), 'result': '0.05483736246603972', 'result_long': None, 'result_double': None}] Qualite : 0.05483736246603972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22056998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056998_04-04-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22056998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056998_04-04-2025_07_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22057040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057051, 'pht': 3726}}" where mtr_portfolio_id = 22056998 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22056998 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895532, 0.05483736246603972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22056998_04-04-2025_07_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22057040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22057769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723581, 'mtr_portfolio_id': 22057769, 'created_at': datetime.datetime(2025, 4, 4, 7, 22, 59), 'result': '0.05601251464793865', 'result_long': None, 'result_double': None}] Qualite : 0.05601251464793865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22057769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22057769_04-04-2025_07_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22057769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22057769_04-04-2025_07_22_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22057776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057779, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057786, 'pht': 3726}}" where mtr_portfolio_id = 22057769 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22057769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895534, 0.05601251464793865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22057769_04-04-2025_07_22_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22057775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22057776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22057777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22057778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22057779, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22057780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22057781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22057782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22057783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22057784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22057785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22057786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22058292 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723620, 'mtr_portfolio_id': 22058292, 'created_at': datetime.datetime(2025, 4, 4, 7, 32, 31), 'result': '0.06062983961213723', 'result_long': None, 'result_double': None}] Qualite : 0.06062983961213723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22058292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22058292_04-04-2025_07_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22058292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22058292_04-04-2025_07_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22058378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22058379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22058380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22058381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22058382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22058383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22058384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22058385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22058386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22058387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22058388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22058389, 'pht': 3726}}" where mtr_portfolio_id = 22058292 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22058292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895536, 0.06062983961213723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22058292_04-04-2025_07_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22058378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22058379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22058380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22058381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22058382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22058383, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22058384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22058385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22058386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22058387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22058388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22058389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22059269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723693, 'mtr_portfolio_id': 22059269, 'created_at': datetime.datetime(2025, 4, 4, 7, 47, 1), 'result': '0.05096592707842609', 'result_long': None, 'result_double': None}] Qualite : 0.05096592707842609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22059269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059269_04-04-2025_07_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22059269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059269_04-04-2025_07_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059284, 'pht': 3726}}" where mtr_portfolio_id = 22059269 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22059269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895538, 0.05096592707842609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059269_04-04-2025_07_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22059940 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723742, 'mtr_portfolio_id': 22059940, 'created_at': datetime.datetime(2025, 4, 4, 8, 2, 58), 'result': '0.042931053307708876', 'result_long': None, 'result_double': None}] Qualite : 0.042931053307708876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22059940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059940_04-04-2025_08_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22059940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059940_04-04-2025_08_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059957, 'pht': 3726}}" where mtr_portfolio_id = 22059940 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22059940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895541, 0.042931053307708876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22059940_04-04-2025_08_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22059946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22059947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22059948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22059949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22059950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22059951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22059952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22059953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22059954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22059955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22059956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22059957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22060396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723792, 'mtr_portfolio_id': 22060396, 'created_at': datetime.datetime(2025, 4, 4, 8, 18, 59), 'result': '0.04681381172577881', 'result_long': None, 'result_double': None}] Qualite : 0.04681381172577881 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22060396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060396_04-04-2025_08_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22060396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060396_04-04-2025_08_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22060427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060438, 'pht': 3726}}" where mtr_portfolio_id = 22060396 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22060396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895543, 0.04681381172577881, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22060396_04-04-2025_08_18_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22060427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22060428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22060429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22060430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22060431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22060432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22060433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22060434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22060435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22060436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22060437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22060438, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22061195 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723848, 'mtr_portfolio_id': 22061195, 'created_at': datetime.datetime(2025, 4, 4, 8, 33, 1), 'result': '0.054244085828988736', 'result_long': None, 'result_double': None}] Qualite : 0.054244085828988736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22061195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061195_04-04-2025_08_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22061195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061195_04-04-2025_08_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061282, 'pht': 3726}}" where mtr_portfolio_id = 22061195 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22061195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895546, 0.054244085828988736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061195_04-04-2025_08_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061282, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22061805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2723901, 'mtr_portfolio_id': 22061805, 'created_at': datetime.datetime(2025, 4, 4, 9, 16, 28), 'result': '0.04089583663113645', 'result_long': None, 'result_double': None}] Qualite : 0.04089583663113645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22061805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061805_04-04-2025_09_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22061805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061805_04-04-2025_09_16_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061871, 'pht': 3726}}" where mtr_portfolio_id = 22061805 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22061805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895548, 0.04089583663113645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22061805_04-04-2025_09_16_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22061860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22061861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22061862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22061863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22061864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22061865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22061866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22061867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22061868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22061869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22061870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22061871, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22062661 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22062661 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22062661 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22062661 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22062661 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22062661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062661_04-04-2025_09_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22062661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22062661_04-04-2025_09_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22062669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22062670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22062671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22062672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22062673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22062674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22062675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22062676, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22062677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22062678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22062679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22062680, 'pht': 3726}}" where mtr_portfolio_id = 22062661 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22063586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724095, 'mtr_portfolio_id': 22063586, 'created_at': datetime.datetime(2025, 4, 4, 9, 48, 32), 'result': '0.06016704418048743', 'result_long': None, 'result_double': None}] Qualite : 0.06016704418048743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22063586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063586_04-04-2025_09_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22063586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063586_04-04-2025_09_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22063589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063600, 'pht': 3726}}" where mtr_portfolio_id = 22063586 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22063586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895552, 0.06016704418048743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22063586_04-04-2025_09_48_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22063589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22063590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22063591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22063592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22063593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22063594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22063595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22063596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22063597, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22063598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22063599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22063600, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22064210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724139, 'mtr_portfolio_id': 22064210, 'created_at': datetime.datetime(2025, 4, 4, 10, 3, 29), 'result': '0.06484690721431631', 'result_long': None, 'result_double': None}] Qualite : 0.06484690721431631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22064210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064210_04-04-2025_10_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22064210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064210_04-04-2025_10_03_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064279, 'pht': 3726}}" where mtr_portfolio_id = 22064210 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22064210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895554, 0.06484690721431631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064210_04-04-2025_10_03_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064277, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22064684 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724202, 'mtr_portfolio_id': 22064684, 'created_at': datetime.datetime(2025, 4, 4, 10, 19), 'result': '0.05452747904371575', 'result_long': None, 'result_double': None}] Qualite : 0.05452747904371575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22064684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064684_04-04-2025_10_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22064684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064684_04-04-2025_10_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064720, 'pht': 3726}}" where mtr_portfolio_id = 22064684 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22064684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895555, 0.05452747904371575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22064684_04-04-2025_10_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22064709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22064710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22064711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22064712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22064713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22064714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22064715, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22064716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22064717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22064718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22064719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22064720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22065227 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724282, 'mtr_portfolio_id': 22065227, 'created_at': datetime.datetime(2025, 4, 4, 10, 32, 56), 'result': '0.04596257828908854', 'result_long': None, 'result_double': None}] Qualite : 0.04596257828908854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22065227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065227_04-04-2025_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22065227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065227_04-04-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065242, 'pht': 3726}}" where mtr_portfolio_id = 22065227 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22065227 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895556, 0.04596257828908854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065227_04-04-2025_10_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22065236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065242, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22065611 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724320, 'mtr_portfolio_id': 22065611, 'created_at': datetime.datetime(2025, 4, 4, 10, 49, 3), 'result': '0.05760688719468076', 'result_long': None, 'result_double': None}] Qualite : 0.05760688719468076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22065611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065611_04-04-2025_10_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22065611 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065611_04-04-2025_10_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22065670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065681, 'pht': 3726}}" where mtr_portfolio_id = 22065611 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22065611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895558, 0.05760688719468076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22065611_04-04-2025_10_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22065670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22065671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22065672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22065673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22065674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22065675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22065676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22065677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22065678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22065679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22065680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22065681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22066308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724395, 'mtr_portfolio_id': 22066308, 'created_at': datetime.datetime(2025, 4, 4, 11, 11), 'result': '0.03291777905993163', 'result_long': None, 'result_double': None}] Qualite : 0.03291777905993163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22066308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066308_04-04-2025_11_11_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22066308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066308_04-04-2025_11_11_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066323, 'pht': 3726}}" where mtr_portfolio_id = 22066308 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22066308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895560, 0.03291777905993163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22066308_04-04-2025_11_11_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22066312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22066313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22066314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22066315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22066316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22066317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22066318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22066319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22066320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22066321, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22066322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22066323, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22067773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2724949, 'mtr_portfolio_id': 22067773, 'created_at': datetime.datetime(2025, 4, 4, 11, 19, 2), 'result': '0.05060867835657265', 'result_long': None, 'result_double': None}] Qualite : 0.05060867835657265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22067773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067773_04-04-2025_11_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22067773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067773_04-04-2025_11_19_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067945, 'pht': 3726}}" where mtr_portfolio_id = 22067773 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22067773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895561, 0.05060867835657265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22067773_04-04-2025_11_19_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22067934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22067935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22067936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22067937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22067938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22067939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22067940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22067941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22067942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22067943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22067944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22067945, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22069574 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2725741, 'mtr_portfolio_id': 22069574, 'created_at': datetime.datetime(2025, 4, 4, 11, 33, 6), 'result': '0.05253678349027027', 'result_long': None, 'result_double': None}] Qualite : 0.05253678349027027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22069574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069574_04-04-2025_11_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22069574 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069574_04-04-2025_11_33_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22069721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069732, 'pht': 3726}}" where mtr_portfolio_id = 22069574 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22069574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895562, 0.05253678349027027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22069574_04-04-2025_11_33_06.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22069721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22069722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22069723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22069724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22069725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22069726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22069727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22069728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22069729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22069730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22069731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22069732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22070932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2725853, 'mtr_portfolio_id': 22070932, 'created_at': datetime.datetime(2025, 4, 4, 11, 57), 'result': '0.07362646335692', 'result_long': None, 'result_double': None}] Qualite : 0.07362646335692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22070932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070932_04-04-2025_11_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22070932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070932_04-04-2025_11_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22070962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070973, 'pht': 3726}}" where mtr_portfolio_id = 22070932 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22070932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895563, 0.07362646335692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22070932_04-04-2025_11_57_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22070962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22070963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22070964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22070965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22070966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22070967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22070968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22070969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22070970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22070971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22070972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22070973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22071803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2725932, 'mtr_portfolio_id': 22071803, 'created_at': datetime.datetime(2025, 4, 4, 12, 5), 'result': '0.04415164392051249', 'result_long': None, 'result_double': None}] Qualite : 0.04415164392051249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22071803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071803_04-04-2025_12_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22071803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071803_04-04-2025_12_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22071807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071817, 'pht': 3726}}" where mtr_portfolio_id = 22071803 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22071803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895564, 0.04415164392051249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22071803_04-04-2025_12_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22071806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22071807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22071808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22071809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22071810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22071811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22071812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22071813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22071814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22071815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22071816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22071817, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22072385 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2725981, 'mtr_portfolio_id': 22072385, 'created_at': datetime.datetime(2025, 4, 7, 6, 17), 'result': '0.05249272327794899', 'result_long': None, 'result_double': None}] Qualite : 0.05249272327794899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22072385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072385_07-04-2025_06_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22072385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072385_07-04-2025_06_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072439, 'pht': 3726}}" where mtr_portfolio_id = 22072385 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22072385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895565, 0.05249272327794899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22072385_07-04-2025_06_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22072428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22072429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22072430, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22072431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22072432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22072433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22072434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22072435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22072436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22072437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22072438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22072439, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22074863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726545, 'mtr_portfolio_id': 22074863, 'created_at': datetime.datetime(2025, 4, 4, 13, 49, 1), 'result': '0.04705795509796384', 'result_long': None, 'result_double': None}] Qualite : 0.04705795509796384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22074863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074863_04-04-2025_13_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22074863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074863_04-04-2025_13_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074909, 'pht': 3726}}" where mtr_portfolio_id = 22074863 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22074863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895566, 0.04705795509796384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22074863_04-04-2025_13_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22074898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22074899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22074900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22074901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22074902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22074903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22074904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22074905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22074906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22074907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22074908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22074909, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22075344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726579, 'mtr_portfolio_id': 22075344, 'created_at': datetime.datetime(2025, 4, 4, 14, 3), 'result': '0.051698281054794536', 'result_long': None, 'result_double': None}] Qualite : 0.051698281054794536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22075344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22075344_04-04-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22075344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22075344_04-04-2025_14_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22075345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22075346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22075347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22075348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22075349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22075350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22075351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22075352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22075353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22075354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22075355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22075356, 'pht': 3726}}" where mtr_portfolio_id = 22075344 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22075344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895567, 0.051698281054794536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22075344_04-04-2025_14_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22075345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22075346, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22075347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22075348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22075349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22075350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22075351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22075352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22075353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22075354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22075355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22075356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22076038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726644, 'mtr_portfolio_id': 22076038, 'created_at': datetime.datetime(2025, 4, 4, 14, 18, 59), 'result': '0.05338350709489306', 'result_long': None, 'result_double': None}] Qualite : 0.05338350709489306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22076038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076038_04-04-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22076038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076038_04-04-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22076052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22076061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076063, 'pht': 3726}}" where mtr_portfolio_id = 22076038 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22076038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895568, 0.05338350709489306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076038_04-04-2025_14_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22076052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22076061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22076691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726688, 'mtr_portfolio_id': 22076691, 'created_at': datetime.datetime(2025, 4, 4, 14, 32, 58), 'result': '0.0597500318482311', 'result_long': None, 'result_double': None}] Qualite : 0.0597500318482311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22076691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076691_04-04-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22076691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076691_04-04-2025_14_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22076718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22076727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076729, 'pht': 3726}}" where mtr_portfolio_id = 22076691 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22076691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895569, 0.0597500318482311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22076691_04-04-2025_14_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22076718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22076719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22076720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22076721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22076722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22076723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22076724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22076725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22076726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22076727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22076728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22076729, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22077330 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726754, 'mtr_portfolio_id': 22077330, 'created_at': datetime.datetime(2025, 4, 4, 14, 48, 59), 'result': '0.061384478842179804', 'result_long': None, 'result_double': None}] Qualite : 0.061384478842179804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22077330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077330_04-04-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22077330 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077330_04-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077344, 'pht': 3726}}" where mtr_portfolio_id = 22077330 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22077330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895570, 0.061384478842179804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077330_04-04-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077344, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22077778 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726787, 'mtr_portfolio_id': 22077778, 'created_at': datetime.datetime(2025, 4, 4, 15, 3), 'result': '0.043468227871308565', 'result_long': None, 'result_double': None}] Qualite : 0.043468227871308565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22077778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077778_04-04-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22077778 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077778_04-04-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077825, 'pht': 3726}}" where mtr_portfolio_id = 22077778 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22077778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895571, 0.043468227871308565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22077778_04-04-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22077814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22077815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22077816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22077817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22077818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22077819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22077820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22077821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22077822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22077823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22077824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22077825, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22078313 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726846, 'mtr_portfolio_id': 22078313, 'created_at': datetime.datetime(2025, 4, 4, 15, 18, 59), 'result': '0.05257600847855405', 'result_long': None, 'result_double': None}] Qualite : 0.05257600847855405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22078313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078313_04-04-2025_15_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22078313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078313_04-04-2025_15_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078363, 'pht': 3726}}" where mtr_portfolio_id = 22078313 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22078313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895572, 0.05257600847855405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22078313_04-04-2025_15_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22078352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22078353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22078354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22078355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22078356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22078357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22078358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22078359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22078360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22078361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22078362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22078363, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22079087 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726892, 'mtr_portfolio_id': 22079087, 'created_at': datetime.datetime(2025, 4, 4, 15, 33, 29), 'result': '0.06713754908659744', 'result_long': None, 'result_double': None}] Qualite : 0.06713754908659744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22079087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079087_04-04-2025_15_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22079087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079087_04-04-2025_15_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22079090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079101, 'pht': 3726}}" where mtr_portfolio_id = 22079087 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22079087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895573, 0.06713754908659744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079087_04-04-2025_15_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22079090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079099, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079101, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22079538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2726932, 'mtr_portfolio_id': 22079538, 'created_at': datetime.datetime(2025, 4, 4, 15, 46, 59), 'result': '0.03782991215638221', 'result_long': None, 'result_double': None}] Qualite : 0.03782991215638221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22079538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079538_04-04-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22079538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079538_04-04-2025_15_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079579, 'pht': 3726}}" where mtr_portfolio_id = 22079538 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22079538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895574, 0.03782991215638221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22079538_04-04-2025_15_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22079568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22079569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22079570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22079571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22079572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22079573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22079574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22079575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22079576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22079577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22079578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22079579, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22080485 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727012, 'mtr_portfolio_id': 22080485, 'created_at': datetime.datetime(2025, 4, 4, 16, 2, 58), 'result': '0.046247566983048743', 'result_long': None, 'result_double': None}] Qualite : 0.046247566983048743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22080485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080485_04-04-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22080485 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080485_04-04-2025_16_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22080514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080525, 'pht': 3726}}" where mtr_portfolio_id = 22080485 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22080485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895575, 0.046247566983048743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22080485_04-04-2025_16_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22080514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22080515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22080516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22080517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22080518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22080519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22080520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22080521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22080522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22080523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22080524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22080525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22081277 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727085, 'mtr_portfolio_id': 22081277, 'created_at': datetime.datetime(2025, 4, 4, 16, 19, 1), 'result': '0.06558358966597108', 'result_long': None, 'result_double': None}] Qualite : 0.06558358966597108 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22081277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081277_04-04-2025_16_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22081277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081277_04-04-2025_16_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081355, 'pht': 3726}}" where mtr_portfolio_id = 22081277 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22081277 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895576, 0.06558358966597108, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22081277_04-04-2025_16_19_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22081343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22081344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22081345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22081346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22081347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22081348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22081350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22081351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22081352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22081353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22081354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22081355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22082119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2727130, 'mtr_portfolio_id': 22082119, 'created_at': datetime.datetime(2025, 4, 7, 6, 14, 35), 'result': '0.04776304378636115', 'result_long': None, 'result_double': None}] Qualite : 0.04776304378636115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22082119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082119_07-04-2025_06_14_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22082119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082119_07-04-2025_06_14_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082163, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082165, 'pht': 3726}}" where mtr_portfolio_id = 22082119 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22082119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895577, 0.04776304378636115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22082119_07-04-2025_06_14_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22082154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22082155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22082156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22082157, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22082158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22082159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22082160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22082161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22082162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22082163, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22082164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22082165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22087632 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087632 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087632_07-04-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087632_07-04-2025_06_14_01.pdf'}" where mtr_portfolio_id = 22087632 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087633 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087633 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22087633 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087633 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087633 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087633_07-04-2025_06_13_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087633_07-04-2025_06_13_33.pdf'}" where mtr_portfolio_id = 22087633 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087634 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22087634 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087634 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087634 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087634_07-04-2025_06_13_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087634_07-04-2025_06_13_03.pdf'}" where mtr_portfolio_id = 22087634 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22087635 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087635 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087635_07-04-2025_06_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087635_07-04-2025_06_11_34.pdf'}" where mtr_portfolio_id = 22087635 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087636 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 22087636 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087636 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087636 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087636_07-04-2025_06_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087636_07-04-2025_06_12_03.pdf'}" where mtr_portfolio_id = 22087636 and dashboard_run_id = 1726643 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733363, 'mtr_portfolio_id': 22087637, 'created_at': datetime.datetime(2025, 4, 9, 9, 23, 58), 'result': '0.03986245282123403', 'result_long': None, 'result_double': None}] Qualite : 0.03986245282123403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_09-04-2025_09_24_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_09-04-2025_09_24_01.pdf'}" where mtr_portfolio_id = 22087637 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895583, 0.03986245282123403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087637_09-04-2025_09_24_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22088195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733364, 'mtr_portfolio_id': 22087638, 'created_at': datetime.datetime(2025, 4, 9, 9, 23, 29), 'result': '0.04352798099510672', 'result_long': None, 'result_double': None}] Qualite : 0.04352798099510672 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087638_09-04-2025_09_23_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087638_09-04-2025_09_23_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088147, 'pht': 3726}}" where mtr_portfolio_id = 22087638 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895584, 0.04352798099510672, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087638_09-04-2025_09_23_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088141, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088147, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733365, 'mtr_portfolio_id': 22087639, 'created_at': datetime.datetime(2025, 4, 9, 9, 22, 58), 'result': '0.037768123724238', 'result_long': None, 'result_double': None}] Qualite : 0.037768123724238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087639_09-04-2025_09_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087639_09-04-2025_09_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088034, 'pht': 3726}}" where mtr_portfolio_id = 22087639 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895585, 0.037768123724238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087639_09-04-2025_09_23_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087664 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733366, 'mtr_portfolio_id': 22087664, 'created_at': datetime.datetime(2025, 4, 9, 9, 22, 29), 'result': '0.04295970086999676', 'result_long': None, 'result_double': None}] Qualite : 0.04295970086999676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087664 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087664_09-04-2025_09_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087664 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087664_09-04-2025_09_22_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088075, 'pht': 3726}}" where mtr_portfolio_id = 22087664 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087664 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895586, 0.04295970086999676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087664_09-04-2025_09_22_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22088064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22088065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22088066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22088067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22088068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22088069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22088070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22088071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22088072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22088073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22088074, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22088075, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733367, 'mtr_portfolio_id': 22087665, 'created_at': datetime.datetime(2025, 4, 9, 9, 21, 59), 'result': '0.05495919410757338', 'result_long': None, 'result_double': None}] Qualite : 0.05495919410757338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087665_09-04-2025_09_22_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087665_09-04-2025_09_22_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087986, 'pht': 3726}}" where mtr_portfolio_id = 22087665 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895587, 0.05495919410757338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087665_09-04-2025_09_22_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087978, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087986, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733368, 'mtr_portfolio_id': 22087666, 'created_at': datetime.datetime(2025, 4, 9, 9, 21, 32), 'result': '0.04203937636816453', 'result_long': None, 'result_double': None}] Qualite : 0.04203937636816453 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087666_09-04-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087666_09-04-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087961, 'pht': 3726}}" where mtr_portfolio_id = 22087666 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895588, 0.04203937636816453, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087666_09-04-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087961, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733369, 'mtr_portfolio_id': 22087667, 'created_at': datetime.datetime(2025, 4, 9, 9, 20, 59), 'result': '0.05722842040000961', 'result_long': None, 'result_double': None}] Qualite : 0.05722842040000961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087667_09-04-2025_09_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087667_09-04-2025_09_21_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087871, 'pht': 3726}}" where mtr_portfolio_id = 22087667 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895589, 0.05722842040000961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087667_09-04-2025_09_21_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087860, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087871, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733370, 'mtr_portfolio_id': 22087668, 'created_at': datetime.datetime(2025, 4, 9, 9, 20, 31), 'result': '0.05020838144650891', 'result_long': None, 'result_double': None}] Qualite : 0.05020838144650891 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087668_09-04-2025_09_20_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087668_09-04-2025_09_20_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087798, 'pht': 3726}}" where mtr_portfolio_id = 22087668 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895590, 0.05020838144650891, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087668_09-04-2025_09_20_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087798, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733371, 'mtr_portfolio_id': 22087669, 'created_at': datetime.datetime(2025, 4, 9, 9, 19, 57), 'result': '0.04023120053964506', 'result_long': None, 'result_double': None}] Qualite : 0.04023120053964506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087669_09-04-2025_09_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087669_09-04-2025_09_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087846, 'pht': 3726}}" where mtr_portfolio_id = 22087669 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895591, 0.04023120053964506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087669_09-04-2025_09_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087838, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087846, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733372, 'mtr_portfolio_id': 22087670, 'created_at': datetime.datetime(2025, 4, 9, 9, 19, 32), 'result': '0.048021209087529854', 'result_long': None, 'result_double': None}] Qualite : 0.048021209087529854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087670_09-04-2025_09_19_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087670_09-04-2025_09_19_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087774, 'pht': 3726}}" where mtr_portfolio_id = 22087670 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895592, 0.048021209087529854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087670_09-04-2025_09_19_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22087763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087766, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087774, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733373, 'mtr_portfolio_id': 22087671, 'created_at': datetime.datetime(2025, 4, 9, 9, 19), 'result': '0.02285195274023795', 'result_long': None, 'result_double': None}] Qualite : 0.02285195274023795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087671_09-04-2025_09_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087671_09-04-2025_09_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087736, 'pht': 3726}}" where mtr_portfolio_id = 22087671 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895593, 0.02285195274023795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087671_09-04-2025_09_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087736, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087672 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733374, 'mtr_portfolio_id': 22087672, 'created_at': datetime.datetime(2025, 4, 9, 9, 18, 31), 'result': '0.017295871613439758', 'result_long': None, 'result_double': None}] Qualite : 0.017295871613439758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087672_09-04-2025_09_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087672 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087672_09-04-2025_09_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087686, 'pht': 3726}}" where mtr_portfolio_id = 22087672 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895594, 0.017295871613439758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087672_09-04-2025_09_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22087684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087686, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22087673 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2733375, 'mtr_portfolio_id': 22087673, 'created_at': datetime.datetime(2025, 4, 9, 9, 17, 33), 'result': '0.01393037081136676', 'result_long': None, 'result_double': None}] Qualite : 0.01393037081136676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22087673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087673_09-04-2025_09_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22087673 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087673_09-04-2025_09_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22087699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087710, 'pht': 3726}}" where mtr_portfolio_id = 22087673 and dashboard_run_id = 1726643 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22087673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9895595, 0.01393037081136676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22087673_09-04-2025_09_17_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22087699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22087700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22087701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22087702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22087703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22087704, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22087705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22087706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22087707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22087708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22087709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22087710, '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 (22043406,22043942,22044410,22044925,22046111,22046656,22047125,22047852,22048612,22049082,22049735,22050459,22051121,22051688,22052190,22053273,22053544,22054156,22054629,22055241,22055853,22056524,22056998,22057769,22058292,22059269,22059940,22060396,22061195,22061805,22062661,22063586,22064210,22064684,22065227,22065611,22066308,22067773,22069574,22070932,22071803,22072385,22074863,22075344,22076038,22076691,22077330,22077778,22078313,22079087,22079538,22080485,22081277,22082119,22087632,22087633,22087634,22087635,22087636,22087637,22087638,22087639,22087664,22087665,22087666,22087667,22087668,22087669,22087670,22087671,22087672,22087673) result : ((1349916401,), (1349916414,), (1349916442,), (1349916469,), (1349916762,), (1349916806,), (1349916824,), (1349917028,), (1349917034,), (1349917042,), (1349917055,), (1349917059,), (1349917126,), (1349917143,), (1349917149,), (1349917154,), (1349917160,), (1349917268,), (1349917273,), (1349917281,), (1349917317,), (1349917328,), (1349917335,), (1349917342,), (1349917363,), (1349917367,), (1349917371,), (1349917376,), (1349917381,), (1349917388,), (1349917423,), (1349917429,), (1349917435,), (1349917441,), (1349917497,), (1349917506,), (1349917517,), (1349917524,), (1349917527,), (1349917545,), (1349917551,), (1349917557,), (1349917560,), (1349917643,), (1349917659,), (1349917725,), (1349917742,), (1349917781,), (1349917900,), (1349917929,), (1349917962,), (1349918110,), (1349918118,), (1349918124,), (1349918147,), (1349918158,), (1349918227,), (1349918252,), (1349918280,), (1349918304,), (1349918334,), (1349918356,), (1349918501,), (1349918511,), (1349918515,), (1349918852,), (1349918723,), (1349918766,), (1349918794,), (1349918822,), (1349919149,), (1349919219,), (1349919276,), (1349919451,), (1349919464,), (1349919477,), (1349919484,), (1349919487,), (1349919615,), (1349919621,), (1349919626,), (1349919705,), (1349919709,), (1349919732,), (1349919746,), (1349919841,), (1349919865,), (1349919885,), (1349919924,), (1349919946,), (1349920006,), (1349920032,), (1349920054,), (1349920074,), (1349920186,), (1349920195,), (1349920197,), (1349920200,), (1349920205,), (1349920229,), (1349920233,), (1349920238,), (1349920242,), (1349920246,), (1349920269,), (1349920273,), (1349920293,), (1349920303,), (1349920312,), (1349920346,), (1349920364,), (1349920377,), (1349920379,), (1349920556,), (1349920562,), (1349920565,), (1349920569,), (1349920591,), (1349920698,), (1349920713,), (1349920717,), (1349920725,), (1349920746,), (1349920754,), (1349920768,), (1349920772,), (1349920775,), (1349920849,), (1349920854,), (1349920856,), (1349920858,), (1349920863,), (1349920893,), (1349921024,), (1349920956,), (1349920961,), (1349920967,), (1349920981,), (1349921009,), (1349921114,), (1349921125,), (1349921133,), (1349921142,), (1349921145,), (1349921248,), (1349921254,), (1349921256,), (1349921258,), (1349921260,), (1349921262,), (1349921397,), (1349921402,), (1349921405,), (1349921412,), (1349921418,), (1349921464,), (1349921471,), (1349921477,), (1349921520,), (1349921526,), (1349921531,), (1349921535,), (1349921541,), (1349921547,), (1349921560,), (1349921565,), (1349921569,), (1349921576,), (1349921582,), (1349921646,), (1349921659,), (1349921670,), (1349921677,), (1349921723,), (1349921734,), (1349921744,), (1349921748,), (1349921755,), (1349921798,), (1349921805,), (1349921814,), (1349921821,), (1349921826,), (1349921832,), (1349921846,), (1349921863,), (1349921868,), (1349921874,), (1349921878,), (1349921932,), (1349921937,), (1349921942,), (1349921964,), (1349921972,), (1349921990,), (1349922008,), (1349922013,), (1349922018,), (1349922024,), (1349922066,), (1349922071,), (1349922078,), (1349922084,), (1349922108,), (1349922115,), (1349922120,), (1349922125,), (1349922131,), (1349922205,), (1349922166,), (1349922172,), (1349922178,), (1349922184,), (1349922195,), (1349922218,), (1349922224,), (1349922230,), (1349922275,), (1349922280,), (1349922289,), (1349922295,), (1349922300,), (1349922322,), (1349922327,), (1349922332,), (1349922339,), (1349922346,), (1349922353,), (1349922365,), (1349922391,), (1349922400,), (1349922412,), (1349922470,), (1349922477,), (1349922486,), (1349922500,), (1349922504,), (1349922520,), (1349922526,), (1349922533,), (1349922537,), (1349922576,), (1349922583,), (1349922589,), (1349922595,), (1349922600,), (1349922607,), (1349922633,), (1349922640,), (1349922646,), (1349922653,), (1349922657,), (1349922663,), (1349922674,), (1349922678,), (1349922683,), (1349922719,), (1349922728,), (1349922733,), (1349922736,), (1349922741,), (1349922744,), (1349922767,), (1349922773,), (1349922778,), (1349922782,), (1349922822,), (1349922829,), (1349922835,), (1349922973,), (1349922978,), (1349922987,), (1349922995,), (1349923001,), (1349923019,), (1349923025,), (1349923056,), (1349931901,), (1349932059,), (1349932073,), (1349932082,), (1349932095,), (1349932102,), (1349932163,), (1349932187,), (1349932212,), (1349932322,), (1349932328,), (1349932475,), (1349932479,), (1349932500,), (1349932542,), (1349932548,), (1349932553,), (1349932559,), (1349932588,), (1349932593,), (1349932597,), (1349932601,), (1349932646,), (1349932649,), (1349932653,), (1349932657,), (1349932698,), (1349932704,), (1349932709,), (1349932713,), (1349932730,), (1349932735,), (1349932766,), (1349932769,), (1349932771,), (1349932775,), (1349932780,), (1349932839,), (1349932843,), (1349932847,), (1349932853,), (1349932925,), (1349932935,), (1349932938,), (1349932942,), (1349932946,), (1349932962,), (1349932967,), (1349932973,), (1349932978,), (1349932984,), (1349932989,), (1349933015,), (1349933023,), (1349933032,), (1349933121,), (1349933139,), (1349933145,), (1349933151,), (1349933155,), (1349933282,), (1349933174,), (1349933180,), (1349933210,), (1349933242,), (1349933541,), (1349933574,), (1349933604,), (1349933762,), (1349933767,), (1349933772,), (1349933777,), (1349933780,), (1349933781,), (1349933801,), (1349933809,), (1349933814,), (1349933819,), (1349933829,), (1349933841,), (1349933880,), (1349933894,), (1349933898,), (1349933940,), (1349934272,), (1349934345,), (1349934422,), (1349934523,), (1349934611,), (1349934619,), (1349934650,), (1349934727,), (1349934737,), (1349934753,), (1349934839,), (1349934845,), (1349934857,), (1349934868,), (1349934874,), (1349934893,), (1349934905,), (1349934914,), (1349934920,), (1349934923,), (1349934926,), (1349934945,), (1349934948,), (1349934950,), (1349934953,), (1349934991,), (1349934995,), (1349934998,), (1349935029,), (1349935033,), (1349935036,), (1349935042,), (1349935074,), (1349935077,), (1349935086,), (1349935090,), (1349935094,), (1349935530,), (1349935534,), (1349935541,), (1349935548,), (1349935559,), (1349935568,), (1349935965,), (1349935905,), (1349936448,), (1349936508,), (1349936563,), (1349936584,), (1349936663,), (1349937299,), (1349937382,), (1349937445,), (1349937514,), (1349937576,), (1349937632,), (1349938181,), (1349938261,), (1349938338,), (1349939294,), (1349939588,), (1349939765,), (1349939882,), (1349939959,), (1349940053,), (1349940401,), (1349940430,), (1349940452,), (1349940473,), (1349940477,), (1349940824,), (1349940904,), (1349940988,), (1349941044,), (1349941124,), (1349941177,), (1349941588,), (1349941602,), (1349941643,), (1349941660,), (1349941664,), (1349941803,), (1349941806,), (1349941811,), (1349941814,), (1349941865,), (1349941869,), (1349941873,), (1349941877,), (1349941882,), (1349941886,), (1349941932,), (1349941938,), (1349941943,), (1349941948,), (1349941992,), (1349941997,), (1349942006,), (1349942015,), (1349942020,), (1349942026,), (1349942051,), (1349942057,), (1349942062,), (1349942068,), (1349942077,), (1349942110,), (1349942141,), (1349942146,), (1349942154,), (1349942207,), (1349942212,), (1349942217,), (1349942223,), (1349942321,), (1349942270,), (1349942279,), (1349942297,), (1349942307,), (1349942316,), (1349942358,), (1349942361,), (1349942368,), (1349942378,), (1349942420,), (1349942426,), (1349942430,), (1349942514,), (1349942523,), (1349942577,), (1349942590,), (1349942610,), (1349942616,), (1349942835,), (1349942862,), (1349942889,), (1349942899,), (1349942912,), (1349942979,), (1349942997,), (1349943004,), (1349943017,), (1349943091,), (1349943098,), (1349943103,), (1349943107,), (1349943114,), (1349943121,), (1349943145,), (1349943153,), (1349943159,), (1349943165,), (1349943172,), (1349943178,), (1349943291,), (1349943298,), (1349943303,), (1349943313,), (1349943350,), (1349943356,), (1349943361,), (1349943364,), (1349943371,), (1349943402,), (1349943408,), (1349943415,), (1349943427,), (1349943435,), (1349943441,), (1349943641,), (1349943673,), (1349943691,), (1349943700,), (1349944200,), (1349944239,), (1349944270,), (1349944306,), (1349944335,), (1349944359,), (1349944552,), (1349944581,), (1349944608,), (1349944634,), (1349944912,), (1349944937,), (1349945012,), (1349945031,), (1349945035,), (1349945042,), (1349945116,), (1349945074,), (1349945085,), (1349945088,), (1349945094,), (1349945109,), (1349945147,), (1349945161,), (1349945177,), (1349945183,), (1349945193,), (1349945199,), (1349945237,), (1349945242,), (1349945251,), (1349945466,), (1349945537,), (1349945609,), (1349945702,), (1349945778,), (1349945859,), (1349946455,), (1349946460,), (1349946475,), (1349946482,), (1349946484,), (1349946491,), (1349946537,), (1349946560,), (1349946603,), (1349946675,), (1349946838,), (1349946848,), (1349946851,), (1349946934,), (1349946938,), (1349946956,), (1349947007,), (1349947017,), (1349947028,), (1349947034,), (1349947064,), (1349947068,), (1349947071,), (1349947073,), (1349947075,), (1349947125,), (1349947136,), (1349947140,), (1349947143,), (1349947146,), (1349947150,), (1349947302,), (1349947879,), (1349947885,), (1349947890,), (1349947892,), (1349947895,), (1349947896,), (1349948148,), (1349947925,), (1349947927,), (1349947937,), (1349948005,), (1349948073,), (1349948418,), (1349948421,), (1349948427,), (1349948603,), (1349948606,), (1349948607,), (1349948610,), (1349948752,), (1349948774,), (1349948789,), (1349948817,), (1349948827,), (1349948839,), (1349948866,), (1349948869,), (1349948874,), (1349948884,), (1349949083,), (1349949086,), (1349949088,), (1349949090,), (1349949097,), (1349949103,), (1349949172,), (1349949179,), (1349949184,), (1349949216,), (1349949220,), (1349949247,), (1349949278,), (1349949308,), (1349949339,), (1349949445,), (1349949449,), (1349949453,), (1349949459,), (1349949503,), (1349949506,), (1349949508,), (1349949511,), (1349949516,), (1349949521,), (1349949552,), (1349949556,), (1349949561,), (1349949572,), (1349949583,), (1349949588,), (1349949705,), (1349949732,), (1349949768,), (1349950040,), (1349950131,), (1349950152,), (1349950173,), (1349950194,), (1349950212,), (1349950660,), (1349950708,), (1349950752,), (1349950787,), (1349950837,), (1349950867,), (1349951014,), (1349951074,), (1349951130,), (1349951339,), (1349951247,), (1349951268,), (1349951287,), (1349951297,), (1349954072,), (1349954110,), (1349954148,), (1349954154,), (1349954158,), (1349954162,), (1349954201,), (1349954208,), (1349954215,), (1349954220,), (1349954225,), (1349954231,), (1349954251,), (1349954257,), (1349954261,), (1349954265,), (1349954269,), (1349954279,), (1349954305,), (1349954308,), (1349954312,), (1349954316,), (1349954322,), (1349954375,), (1349954378,), (1349954460,), (1349954465,), (1349954470,), (1349954475,), (1349954479,), (1349954537,), (1349954541,), (1349954544,), (1349954553,), (1349954564,), (1349954570,), (1349955212,), (1349955217,), (1349955228,), (1349955233,), (1349955295,), (1349955304,), (1349955311,), (1349955346,), (1349955375,), (1349955379,), (1349955432,), (1349955427,), (1349955550,), (1349955558,), (1349955722,), (1349955728,), (1349955730,), (1349955733,), (1349955763,), (1349955778,), (1349955828,), (1349955835,), (1349955884,), (1349955900,), (1349955906,), (1349955926,), (1349956298,), (1349956368,), (1349956462,), (1349956746,), (1349956774,), (1349956805,), (1349956858,), (1349956931,), (1349957225,), (1349957252,), (1349957268,), (1349957284,), (1349957399,), (1349957405,), (1349957411,), (1349957419,), (1349957430,), (1349957435,), (1349957477,), (1349957480,), (1349957508,), (1349957520,), (1349957530,), (1349957703,), (1349957729,), (1349957742,), (1349957747,), (1349957755,), (1349957786,), (1349957790,), (1349957795,), (1349957799,), (1349957804,), (1349957981,), (1349958006,), (1349958022,), (1349958052,), (1349958254,), (1349958279,), (1349958314,), (1349958338,), (1349958356,), (1349958569,), (1349958600,), (1349958646,), (1349958682,), (1349958697,), (1349958725,), (1349958964,), (1349958997,), (1349959022,), (1349959459,), (1349959438,), (1349959447,), (1349959451,), (1349959455,), (1349959505,), (1349959514,), (1349959520,), (1349959537,), (1349959560,), (1349959668,), (1349959674,), (1349959679,), (1349959684,), (1349959769,), (1349959800,), (1349959827,), (1349959854,), (1349959890,), (1349959917,), (1349960023,), (1349960035,), (1349960069,), (1349960075,), (1349960079,), (1349960110,), (1349960114,), (1349960118,), (1349960147,), (1349960166,), (1349960171,), (1349960196,), (1349960202,), (1349960208,), (1349960212,), (1349960216,), (1349960218,), (1349960259,), (1349960269,), (1349960277,), (1349960286,), (1349960294,), (1349960365,), (1349960369,), (1349960391,), (1349960397,), (1349960433,), (1349960437,), (1349960486,), (1349960509,), (1349960519,), (1349960534,), (1349960617,), (1349960655,), (1349960686,), (1349960729,), (1349960918,), (1349960924,), (1349960931,), (1349960937,), (1349960942,), (1349960985,), (1349960992,), (1349960994,), (1349960998,), (1349961002,), (1349961116,), (1349961163,), (1349961166,), (1349961171,), (1349961174,), (1349961178,), (1349961222,), (1349961227,), (1349961231,), (1349961233,), (1349961238,), (1349961301,), (1349961287,), (1349961292,), (1349961352,), (1349961369,), (1349961375,), (1349961383,), (1349961386,), (1349961470,), (1349961475,), (1349961483,), (1349961517,), (1349961551,), (1349961587,), (1349961689,), (1349961692,), (1349961702,), (1349961711,), (1349961713,), (1349961761,), (1349961910,), (1349961920,), (1349961950,), (1349962037,), (1349962045,), (1349962050,), (1349962053,), (1349962065,), (1349962071,), (1349962103,), (1349962187,), (1349962228,), (1349962230,), (1349962234,), (1349962239,), (1349962318,), (1349962322,), (1349962326,), (1349962330,), (1349962350,), (1349962377,), (1349962382,), (1349962386,), (1349962390,), (1349962394,), (1349962398,), (1349962424,), (1349962434,), (1349962446,), (1349962454,), (1349962504,), (1349962532,), (1349962578,), (1349962584,), (1349962595,), (1349962601,), (1349962680,), (1349962693,), (1349962697,), (1349962700,), (1349962706,), (1349963536,), (1349963572,), (1349963617,), (1349963687,), (1349963689,), (1349963735,), (1349963742,), (1349963755,), (1349963788,), (1349963832,), (1349963840,), (1349963874,), (1349963896,), (1349964206,), (1349964061,), (1349964120,), (1349964166,), (1349964638,), (1349964817,), (1349964893,), (1349964954,), (1349965035,), (1349965116,), (1349965477,), (1349965531,), (1349965574,), (1349965579,), (1349965752,), (1349965766,), (1349965771,), (1349965776,), (1349965783,), (1349965805,), (1349966060,), (1349966091,), (1349966119,), (1349966138,), (1349966173,), (1349966348,), (1349966360,), (1349966365,), (1349966375,), (1349966406,), (1349966457,), (1349966461,), (1349966463,), (1349966467,), (1349966472,), (1349966501,), (1349966506,), (1349966511,), (1349966516,), (1349966522,), (1349966554,), (1349966565,), (1349966575,), (1349966577,), (1349966587,), (1349966592,), (1349966647,), (1349966651,), (1349966656,), (1349966661,), (1349966704,), (1349966729,), (1349966734,), (1349966745,), (1349966806,), (1349972014,), (1349972011,), (1349972563,), (1349972566,), (1349972599,), (1349972632,), (1349972636,), (1349972692,), (1349972693,), (1349972695,), (1349972795,), (1349972818,), (1349972843,), (1349972871,), (1349972897,), (1349972923,), (1349973173,), (1349973204,), (1349973216,), (1349973238,), (1349973264,), (1349973412,), (1349973417,), (1349973441,), (1349973454,), (1349973489,), (1349973511,), (1349973541,), (1349973544,), (1349973554,), (1349973560,), (1349973586,), (1349973589,), (1349973591,), (1349973592,), (1349973595,), (1349973925,), (1349973785,), (1349973813,), (1349973847,), (1349973871,), (1349973897,), (1349974073,), (1349974097,), (1349974128,), (1349974152,), (1349974282,), (1349974295,), (1349974305,), (1349974323,), (1349974340,), (1349974511,), (1349974522,), (1349974524,), (1349974541,), (1349974602,), (1349974616,), (1349974623,), (1349974654,), (1349974683,), (1349974708,), (1349974891,), (1349974923,), (1349974952,), (1349974953,), (1349975083,), (1349975093,), (1349975107,), (1349975125,), (1349975132,), (1349975230,), (1349975233,), (1349975235,), (1349975237,), (1349975249,), (1349975258,), (1349975362,), (1349975372,), (1349975383,), (1349975386,), (1349975402,), (1349975559,), (1349975562,), (1349975592,), (1349975606,), (1349975615,), (1349975745,), (1349975749,), (1349975789,), (1349975810,), (1349975837,), (1349975866,), (1349975950,), (1349975956,), (1349975994,), (1349976024,), (1349976057,), (1349976452,), (1349976456,), (1349976500,), (1349976562,), (1349976567,), (1349976571,), (1349976595,), (1349976597,), (1349976600,), (1349976602,), (1349976631,), (1349976636,), (1349976639,), (1349976640,), (1349976646,), (1349976746,), (1349976730,), (1349976736,), (1349976740,), (1349976742,), (1349976745,), (1349976823,), (1349976847,), (1349976850,), (1349976879,), (1349976881,), (1349976988,), (1349976991,), (1349976992,), (1349976994,), (1349976996,), (1349977004,), (1349977175,), (1349977178,), (1349977183,), (1349977188,), (1349977191,), (1349977252,), (1349977262,), (1349977270,), (1349977275,), (1349977278,), (1349977282,), (1349977306,), (1349977310,), (1349977313,), (1349977345,), (1349977394,), (1349977579,), (1349977586,), (1349977588,), (1349977590,), (1349977593,), (1349977620,), (1349977625,), (1349977628,), (1349977632,), (1349977633,), (1349977635,), (1349977659,), (1349977663,), (1349977670,), (1349977708,), (1349977722,), (1349977837,), (1349977841,), (1349977844,), (1349977845,), (1349977953,), (1349977955,), (1349978010,), (1349978016,), (1349978030,), (1349978134,), (1349978139,), (1349978148,), (1349978172,), (1349978208,), (1349978234,), (1349978552,), (1349978600,), (1349978623,), (1349978654,), (1349978899,), (1349978907,), (1349978926,), (1349978934,), (1349978940,), (1349978943,), (1349979028,), (1349979032,), (1349979034,), (1349979036,), (1349979088,), (1349979062,), (1349979064,), (1349979070,), (1349979075,), (1349979132,), (1349979135,), (1349979152,), (1349979179,), (1349979210,), (1349979280,), (1349979284,), (1349979299,), (1349979306,), (1349979310,), (1349979316,), (1349979408,), (1349979412,), (1349979417,), (1349979420,), (1349979422,), (1349979536,), (1349979540,), (1349979542,), (1349979545,), (1349979547,), (1349979549,), (1349979616,), (1349979624,), (1349979627,), (1349979630,), (1349979726,), (1349979730,), (1349979733,), (1349979735,), (1349979738,), (1349979876,), (1349979881,), (1349979885,), (1349979887,), (1349979888,), (1349979890,), (1349980038,), (1349980048,), (1349980060,), (1349980068,), (1349980074,), (1349980155,), (1349980159,), (1349980166,), (1349980176,), (1349980180,), (1349980211,), (1349980216,), (1349980237,), (1349980243,), (1349980247,), (1349980251,), (1349980414,), (1349980474,), (1349980507,), (1349980536,), (1349980784,), (1349980789,), (1349980792,), (1349980812,), (1349981219,), (1349981250,), (1349981283,), (1349981295,), (1349981320,), (1349981337,), (1349981388,), (1349981371,), (1349981376,), (1349981379,), (1349981383,), (1349981477,), (1349981505,), (1349981624,), (1349981664,), (1349981809,), (1349981837,), (1349981863,), (1349981887,), (1349981916,), (1349981949,), (1349982127,), (1349982134,), (1349982140,), (1349982143,), (1349982220,), (1349982224,), (1349982237,), (1349982270,), (1349982304,), (1349982335,), (1349982892,), (1349982898,), (1349982903,), (1349982947,), (1349983128,), (1349983130,), (1349983135,), (1349983139,), (1349983161,), (1349983170,), (1349983239,), (1349983249,), (1349983251,), (1349983253,), (1349983292,), (1349983315,), (1349983319,), (1349983321,), (1349983323,), (1349983347,), (1349983352,), (1349983356,), (1349983358,), (1349983362,), (1349983365,), (1349983408,), (1349983412,), (1349983415,), (1349983418,), (1349983446,), (1349983450,), (1349983452,), (1349983454,), (1349983458,), (1349983467,), (1349983500,), (1349983505,), (1349983508,), (1349983536,), (1349983550,), (1349983559,), (1349983565,), (1349983568,), (1349983571,), (1349983615,), (1349983619,), (1349983620,), (1349983623,), (1349983724,), (1349983668,), (1349983712,), (1349983718,), (1349983719,), (1349983722,), (1349983780,), (1349983820,), (1349983829,), (1349983849,), (1349983922,), (1349983930,), (1349983937,), (1349983943,), (1349983956,), (1349983969,), (1349984177,), (1349984198,), (1349984230,), (1349984235,), (1349984237,), (1349984268,), (1349984371,), (1349984375,), (1349984376,), (1349984449,), (1349984456,), (1349984459,), (1349984460,), (1349984464,), (1349984467,), (1349984618,), (1349984628,), (1349984631,), (1349984634,), (1349984638,), (1349984687,), (1349984699,), (1349984707,), (1349984722,), (1349984845,), (1349984849,), (1349984917,), (1349984944,), (1349984993,), (1349985077,), (1349985322,), (1349985348,), (1349985373,), (1349985410,), (1349985709,), (1349985779,), (1349985840,), (1349985925,), (1349985960,), (1349986028,), (1349986082,), (1349986087,), (1349986091,), (1349986094,), (1349986133,), (1349986143,), (1349986151,), (1349986156,), (1349986158,), (1349986175,), (1349986184,), (1349986188,), (1349986198,), (1349986203,), (1349986226,), (1349986234,), (1349986238,), (1349986243,), (1349986246,), (1349986320,), (1349986300,), (1349986304,), (1349986307,), (1349986309,), (1349986313,), (1349986350,), (1349986354,), (1349986356,), (1349986367,), (1349986423,), (1349986972,), (1349987001,), (1349987052,), (1349987053,), (1349987055,), (1349987057,), (1349987146,), (1349987199,), (1349987217,), (1349987222,), (1349987308,), (1349987311,), (1349987349,), (1349987358,), (1349987417,), (1349987449,), (1349987451,), (1349987453,), (1349987457,), (1349987459,), (1349987488,), (1349987500,), (1349987508,), (1349987511,), (1349987513,), (1349987534,), (1349987538,), (1349987539,), (1349987543,), (1349987592,), (1349987596,), (1349987599,), (1349987603,), (1349987608,), (1349987612,), (1349987852,), (1349987881,), (1349987893,), (1349987902,), (1349988009,), (1349988013,), (1349988016,), (1349988020,), (1349988024,), (1349988051,), (1349988054,), (1349988057,), (1349988061,), (1349988089,), (1349988094,), (1349988098,), (1349988101,), (1349988104,), (1349988107,), (1349988126,), (1349988134,), (1349988142,), (1349988150,), (1349988174,), (1349988179,), (1349988184,), (1349988186,), (1349988190,), (1349988192,), (1349988243,), (1349988226,), (1349988231,), (1349988240,), (1349988268,), (1349988272,), (1349988277,), (1349988283,), (1349988285,), (1349988296,), (1349988331,), (1349988335,), (1349988339,), (1349988346,), (1349988404,), (1349988409,), (1349988412,), (1349988416,), (1349988421,), (1349988425,), (1349988464,), (1349988470,), (1349988474,), (1349988478,), (1349988565,), (1349988573,), (1349988575,), (1349988577,), (1349988581,), (1349988586,), (1349988660,), (1349988683,), (1349988686,), (1349988777,), (1349988788,), (1349988791,), (1349988795,), (1349988799,), (1349988804,), (1349989150,), (1349989219,), (1349989281,), (1349989361,), (1349989414,), (1349989532,), (1349989537,), (1349989548,), (1349989556,), (1349989561,), (1349989703,), (1349989713,), (1349989751,), (1349989758,), (1349989808,), (1349989812,), (1349989815,), (1349989818,), (1349989823,), (1349989856,), (1349989865,), (1349989868,), (1349989871,), (1349989874,), (1349990291,), (1349990318,), (1349990350,), (1349990381,), (1349990416,), (1349990450,), (1349990735,), (1349990694,), (1349990714,), (1349990728,), (1349991127,), (1349991174,), (1349991215,), (1349991255,), (1349991292,), (1349991327,), (1349991558,), (1349991581,), (1349991586,), (1349991591,), (1349991595,), (1349991623,), (1349991626,), (1349991651,), (1349991677,), (1349991704,), (1349991728,), (1349992448,), (1349992467,), (1349992493,), (1349992554,), (1349992765,), (1349992816,), (1349992824,), (1349992851,), (1349992882,), (1349992887,), (1349992916,), (1349992920,), (1349992927,), (1349992931,), (1349993021,), (1349993024,), (1349993027,), (1349993030,), (1349993033,), (1349993050,), (1349993097,), (1349993132,), (1349993159,), (1349993191,), (1349993198,), (1349993218,), (1349993229,), (1349993235,), (1349993244,), (1349993256,), (1349993264,), (1349993272,), (1349993275,), (1349993278,), (1349993279,), (1349993280,), (1349993284,), (1349993337,), (1349993342,), (1349993376,), (1349993386,), (1349993392,), (1349993397,), (1349993406,), (1349993425,), (1349993430,), (1349993463,), (1349993482,), (1349993525,), (1349993551,), (1349993555,), (1349993568,), (1349993573,), (1349993585,), (1349993636,), (1349993772,), (1349993795,), (1349993847,), (1349993852,), (1349993856,), (1349993861,), (1349993866,), (1349993302,), (1349993308,), (1349993319,), (1349993329,), (1349993354,), (1349993356,), (1349993361,), (1349993365,), (1349993370,), (1349993441,), (1349993444,), (1349993450,), (1349993453,), (1349993603,), (1349993607,), (1349993614,), (1349993620,), (1349993629,), (1349993683,), (1349993705,), (1349993722,), (1349993754,), (1349993885,), (1349993888,), (1349993906,), (1349993938,), (1349993943,), (1349993967,), (1349993985,), (1349993995,), (1349994010,), (1349994014,), (1349994017,), (1349994024,), (1349994032,), (1349994036,), (1349994039,), (1349994041,), (1349994044,), (1349994050,), (1349994062,), (1349994068,), (1349994070,), (1349994121,), (1349994137,), (1349994146,), (1349994150,), (1349994153,), (1349994156,), (1349994164,), (1349994167,), (1349994172,), (1349994181,), (1349994196,), (1349994265,), (1349994292,), (1349994320,), (1349994430,), (1349994434,), (1349994451,), (1349994467,), (1349994471,), (1349994520,), (1349994527,), (1349994534,), (1349994542,), (1349994545,), (1349994648,), (1349994652,), (1349994678,), (1349994683,), (1349994823,), (1349994829,), (1349994836,), (1349994839,), (1349994845,), (1349994848,), (1349994893,), (1349994883,), (1349994887,), (1349994889,), (1349994890,), (1349994933,), (1349994939,), (1349994947,), (1349994950,), (1349995039,), (1349995050,), (1349995070,), (1349995082,), (1349995101,), (1349995105,), (1349995161,), (1349995173,), (1349995179,), (1349995496,), (1349995526,), (1349995533,), (1349995543,), (1349995666,), (1349995691,), (1349995716,), (1349995748,), (1349996044,), (1349996074,), (1349996096,), (1349996202,), (1349996272,), (1349996275,), (1349996326,), (1349996330,), (1349996334,), (1349996407,), (1349996417,), (1349996430,), (1349996439,), (1349996447,), (1349996452,), (1349996508,), (1349996579,), (1349996585,), (1349996590,), (1349996633,), (1349996640,), (1349996648,), (1349996653,), (1349996656,), (1349996660,), (1349996695,), (1349996701,), (1349996710,), (1349996714,), (1349996722,), (1349996768,), (1349996772,), (1349996778,), (1349996782,), (1349996786,), (1349996789,), (1349996842,), (1349996828,), (1349996835,), (1349996906,), (1349996915,), (1349996925,), (1349997023,), (1349997037,), (1349997048,), (1349997054,), (1349997061,), (1349997165,), (1349997171,), (1349997181,), (1349997187,), (1349997191,), (1349997340,), (1349997349,), (1349997353,), (1349997357,), (1349997472,), (1349997485,), (1349997495,), (1349997503,), (1349997509,), (1349997514,), (1349997583,), (1349997589,), (1349997593,), (1349997599,), (1349997609,), (1349997663,), (1349997668,), (1349997673,), (1349997678,), (1349997684,), (1349997734,), (1349997739,), (1349997749,), (1349997813,), (1349997816,), (1349997820,), (1349997823,), (1349997874,), (1349997880,), (1349997935,), (1349997999,), (1349998006,), (1349998010,), (1349998017,), (1349998027,), (1349998124,), (1349998131,), (1349998137,), (1349998146,), (1349998601,), (1349998407,), (1349998456,), (1349998516,), (1349998557,), (1349999028,), (1349999078,), (1349999134,), (1349999189,), (1349999758,), (1349999801,), (1349999822,), (1349999862,), (1349999899,), (1349999961,), (1350000332,), (1350000378,), (1350000440,), (1350000475,), (1350000785,), (1350000808,), (1350000849,), (1350000899,), (1350000938,), (1350000954,), (1350001111,), (1350001154,), (1350001174,), (1350001232,), (1350001505,), (1350001556,), (1350001574,), (1350001594,), (1350001610,), (1350001635,), (1350001660,), (1350001667,), (1350001675,), (1350001687,), (1350001843,), (1350001849,), (1350001852,), (1350001855,), (1350001860,), (1350001865,), (1350001906,), (1350001925,), (1350001929,), (1350001936,), (1350002001,), (1350002016,), (1350002024,), (1350002026,), (1350002047,), (1350002050,), (1350002083,), (1350002089,), (1350002095,), (1350002122,), (1350002127,), (1350002132,), (1350002197,), (1350002250,), (1350002270,), (1350002281,), (1350002328,), (1350002343,), (1350002359,), (1350002366,), (1350002368,), (1350002374,), (1350002414,), (1350002462,), (1350002485,), (1350002503,), (1350002607,), (1350002555,), (1350002560,), (1350002566,), (1350002577,), (1350002603,), (1350002661,), (1350002672,), (1350002701,), (1350002707,), (1350002917,), (1350002922,), (1350002926,), (1350002931,), (1350002943,), (1350002948,), (1350002990,), (1350003021,), (1350003065,), (1350003072,), (1350003216,), (1350003239,), (1350003274,), (1350003294,), (1350003314,), (1350003363,), (1350003369,), (1350003374,), (1350003378,), (1350003384,), (1350003390,), (1350003431,), (1350003455,), (1350003461,), (1350003468,), (1350003473,), (1350003499,), (1350003503,), (1350003508,), (1350003513,), (1350003519,), (1350003522,), (1350003560,), (1350003567,), (1350003578,), (1350003585,), (1350003589,), (1350003622,), (1350003625,), (1350003628,), (1350003688,), (1350003781,), (1350004050,), (1350004058,), (1350004090,), (1350004122,), (1350004127,), (1350004185,), (1350004190,), (1350004196,), (1350004202,), (1350004211,), (1350004269,), (1350004281,), (1350004311,), (1350004316,), (1350004322,), (1350004328,), (1350004345,), (1350004350,), (1350004356,), (1350004361,), (1350004366,), (1350004470,), (1350004477,), (1350004510,), (1350004518,), (1350004531,), (1350004594,), (1350004572,), (1350004575,), (1350004581,), (1350004585,), (1350004589,), (1350004664,), (1350004673,), (1350004678,), (1350004684,), (1350004839,), (1350004841,), (1350004844,), (1350004847,), (1350004851,), (1350004856,), (1350004901,), (1350004905,), (1350004910,), (1350004923,), (1350004982,), (1350004986,), (1350004990,), (1350004995,), (1350004999,), (1350005003,), (1350005042,), (1350005050,), (1350005062,), (1350005076,), (1350005097,), (1350005176,), (1350005180,), (1350005208,), (1350005246,), (1350005266,), (1350005336,), (1350005369,), (1350005391,), (1350005415,), (1350005420,), (1350005461,), (1350005464,), (1350005469,), (1350005484,), (1350005511,), (1350005884,), (1350005917,), (1350005957,), (1350005979,), (1350006008,), (1350006243,), (1350006245,), (1350006249,), (1350006252,), (1350006255,), (1350006263,), (1350006568,), (1350006613,), (1350006640,), (1350006666,), (1350006700,), (1350006878,), (1350006881,), (1350006884,), (1350006887,), (1350007067,), (1350007127,), (1350007147,), (1350007169,), (1350007186,), (1350007340,), (1350007363,), (1350007367,), (1350007390,), (1350007393,), (1350007449,), (1350007425,), (1350007428,), (1350007434,), (1350007438,), (1350007442,), (1350007480,), (1350007483,), (1350007486,), (1350007600,), (1350007611,), (1350007618,), (1350007630,), (1350007653,), (1350007668,), (1350007737,), (1350007777,), (1350007790,), (1350007815,), (1350008002,), (1350008006,), (1350008011,), (1350008061,), (1350008068,), (1350008092,), (1350008283,), (1350008302,), (1350008307,), (1350008344,), (1350008389,), (1350008392,), (1350008395,), (1350008398,), (1350008401,), (1350008406,), (1350008441,), (1350008447,), (1350008455,), (1350008468,), (1350008495,), (1350008650,), (1350008655,), (1350008659,), (1350008662,), (1350008667,), (1350008671,), (1350008697,), (1350008699,), (1350008701,), (1350008705,), (1350008710,), (1350008746,), (1350008750,), (1350008753,), (1350008758,), (1350008788,), (1350008790,), (1350008793,), (1350008796,), (1350008799,), (1350008803,), (1350008831,), (1350008836,), (1350008839,), (1350008841,), (1350008846,), (1350009667,), (1350009673,), (1350009681,), (1350009688,), (1350009697,), (1350009706,), (1350009746,), (1350013410,), (1350013449,), (1350013480,), (1350013532,), (1350013582,), (1350013666,), (1350013862,), (1350013930,), (1350013954,), (1350013984,), (1350014014,), (1350014209,), (1350014214,), (1350014219,), (1350014222,), (1350014226,), (1350014277,), (1350014280,), (1350014285,), (1350014293,), (1350014381,), (1350014386,), (1350014412,), (1350014451,), (1350014517,), (1350014549,), (1350014646,), (1350014649,), (1350014672,), (1350014678,), (1350014682,), (1350014799,), (1350014826,), (1350014850,), (1350014856,), (1350014871,), (1350015004,), (1350015032,), (1350015056,), (1350015060,), (1350015071,), (1350015159,), (1350015191,), (1350015218,), (1350015220,), (1350015224,), (1350015446,), (1350015479,), (1350015506,), (1350015772,), (1350015774,), (1350015777,), (1350015982,), (1350016015,), (1350016019,), (1350016108,), (1350016099,), (1350016104,), (1350016163,), (1350016187,), (1350016211,), (1350016427,), (1350016430,), (1350016433,), (1350016436,), (1350016634,), (1350016640,), (1350016644,), (1350016669,), (1350016674,), (1350016678,), (1350016770,), (1350016775,), (1350016791,), (1350016793,), (1350016796,), (1350016870,), (1350016886,), (1350016895,), (1350016900,), (1350016913,), (1350016957,), (1350016977,), (1350016980,), (1350016990,), (1350017041,), (1350017043,), (1350017046,), (1350017048,), (1350017053,), (1350017060,), (1350017091,), (1350017094,), (1350017105,), (1350017114,), (1350017153,), (1350017157,), (1350017161,), (1350017165,), (1350017169,), (1350017173,), (1350017213,), (1350017218,), (1350017246,), (1350017250,), (1350017330,), (1350017385,), (1350017417,), (1350017443,), (1350017465,), (1350017594,), (1350017639,), (1350017659,), (1350017687,), (1350017718,), (1350017968,), (1350017997,), (1350018029,), (1350018056,), (1350018075,), (1350018093,), (1350018168,), (1350018190,), (1350018225,), (1350018250,), (1350018613,), (1350018381,), (1350018440,), (1350018486,), (1350018540,), (1350019024,), (1350019068,), (1350019113,), (1350019178,), (1350019250,), (1350019439,), (1350019456,), (1350019484,), (1350019514,), (1350019527,), (1350019558,), (1350019772,), (1350019816,), (1350019833,), (1350020078,), (1350020159,), (1350020224,), (1350020331,), (1350020356,), (1350020424,), (1350020582,), (1350020607,), (1350021314,), (1350022924,), (1350024744,), (1350024801,), (1350025482,), (1350025488,), (1350025494,), (1350025498,), (1350025502,), (1350025595,), (1350025605,), (1350025614,), (1350025619,), (1350025662,), (1350025674,), (1350025683,), (1350025691,), (1350025700,), (1350025708,), (1350025772,), (1350025781,), (1350025788,), (1350025810,), (1350025847,), (1350025852,), (1350025857,), (1350025863,), (1350025867,), (1350025869,), (1350025978,), (1350025982,), (1350025986,), (1350025989,), (1350026125,), (1350026131,), (1350026155,), (1350026171,), (1350026182,), (1350026201,), (1350026344,), (1350026350,), (1350026354,), (1350026367,), (1350026498,), (1350026452,), (1350026458,), (1350026464,), (1350026488,), (1350026576,), (1350026579,), (1350026582,), (1350026584,), (1350026593,), (1350026595,), (1350026645,), (1350026652,), (1350026664,), (1350026671,), (1350026763,), (1350026773,), (1350026787,), (1350026819,), (1350026985,), (1350026990,), (1350026993,), (1350027006,), (1350027010,), (1350027021,), (1350027184,), (1350027194,), (1350027220,), (1350027411,), (1350027415,), (1350027420,), (1350027714,), (1350027729,), (1350027732,), (1350027735,), (1350027746,), (1350027778,), (1350027892,), (1350027905,), (1350027909,), (1350028044,), (1350028050,), (1350028053,), (1350028069,), (1350028076,), (1350028082,), (1350028108,), (1350028184,), (1350028190,), (1350028195,), (1350028197,), (1350028362,), (1350028416,), (1350028428,), (1350028452,), (1350028470,), (1350028487,), (1350028568,), (1350028603,), (1350028641,), (1350028680,), (1350028813,), (1350028847,), (1350028893,), (1350028927,), (1350028947,), (1350028957,), (1350029042,), (1350029019,), (1350029026,), (1350029033,), (1350029076,), (1350029078,), (1350029082,), (1350029094,), (1350029110,), (1350029120,), (1350029231,), (1350029232,), (1350029246,), (1350029248,), (1350029259,), (1350029312,), (1350029335,), (1350029347,), (1350029355,), (1350029364,), (1350029406,), (1350029496,), (1350029502,), (1350029506,), (1350029510,), (1350029538,), (1350029540,), (1350029545,), (1350029550,), (1350029557,), (1350029561,), (1350029639,), (1350029640,), (1350029644,), (1350029675,), (1350029693,), (1350029711,), (1350029785,), (1350029794,), (1350029826,), (1350029856,), (1350029886,), (1350029891,), (1350029940,), (1350029998,), (1350030016,), (1350030039,), (1350030094,), (1350030145,), (1350030202,), (1350030232,), (1350030243,), (1350030273,), (1350030289,), (1350030309,), (1350030343,), (1350030349,), (1350030380,), (1350030483,), (1350030523,), (1350030547,), (1350030599,), (1350030632,), (1350030657,), (1350030689,), (1350030697,), (1350030740,), (1350030762,), (1350030774,), (1350030776,), (1350030823,), (1350030828,), (1350030830,), (1350030834,), (1350031349,), (1350031405,), (1350031456,), (1350031499,), (1350031521,), (1350031533,), (1350031641,), (1350031660,), (1350031736,), (1350032096,), (1350033627,), (1350031823,), (1350031829,), (1350031843,), (1350031904,), (1350032027,), (1350032136,), (1350032187,), (1350032269,), (1350032282,), (1350032350,), (1350032424,), (1350032624,), (1350032673,), (1350032721,), (1350032765,), (1350032815,), (1350032857,), (1350033059,), (1350033111,), (1350033167,), (1350033193,), (1350033251,), (1350033336,), (1350033590,), (1350033768,), (1350033830,), (1350034057,), (1350034207,), (1350034311,), (1350034426,), (1350034554,), (1350034613,), (1350034653,), (1350034667,), (1350034824,), (1350034919,), (1350035002,), (1350035065,), (1350035122,), (1350035342,), (1350035376,), (1350035399,), (1350035485,), (1350035526,), (1350035556,), (1350035751,), (1350035824,), (1350035895,), (1350036011,), (1350036537,), (1350036650,), (1350036742,), (1350036782,), (1350036945,), (1350037033,), (1350037367,), (1350037448,), (1350037481,), (1350037534,), (1350037553,), (1350037723,), (1350037776,), (1350037817,), (1350037893,), (1350037942,), (1350038014,), (1350038180,), (1350038192,), (1350038336,), (1350038356,), (1350038440,), (1350038579,), (1350038841,), (1350038961,), (1350039048,), (1350039116,), (1350039226,), (1350039293,), (1350039541,), (1350039641,), (1350039793,), (1350039814,), (1350039924,), (1350040244,), (1350040293,), (1350040302,), (1350040354,), (1350040640,), (1350040440,), (1350040467,), (1350040505,), (1350040591,), (1350040760,), (1350040811,), (1350040871,), (1350040880,), (1350040931,), (1350041144,), (1350041219,), (1350041267,), (1350041423,), (1350041432,), (1350041450,), (1350041561,), (1350042031,), (1350042083,), (1350042149,), (1350042204,), (1350042266,), (1350042348,), (1350042498,), (1350042534,), (1350042627,), (1350042730,), (1350042731,), (1350042733,), (1350042736,), (1350042749,), (1350042835,), (1350042849,), (1350042874,), (1350043072,), (1350043109,), (1350043141,), (1350043180,), (1350043204,), (1350043326,), (1350043367,), (1350043373,), (1350043392,), (1350043420,), (1350043542,), (1350043554,), (1350043589,), (1350043615,), (1350043998,), (1350044067,), (1350044156,), (1350044182,), (1350044595,), (1350044710,), (1350044792,), (1350044849,), (1350044909,), (1350044954,), (1350045220,), (1350045304,), (1350045353,), (1350045380,), (1350045668,), (1350045703,), (1350045747,), (1350045814,), (1350045884,), (1350045911,), (1350046136,), (1350045991,), (1350046104,), (1350046112,), (1350046126,), (1350046249,), (1350046271,), (1350046314,), (1350046369,), (1350046402,), (1350046417,), (1350046488,), (1350046494,), (1350046502,), (1350046507,), (1350046737,), (1350046771,), (1350046780,), (1350046788,), (1350047088,), (1350047101,), (1350047308,), (1350047335,), (1350047339,), (1350047341,), (1350047402,), (1350047410,), (1350047414,), (1350047534,), (1350047551,), (1350047561,), (1350047568,), (1350047727,), (1350047755,), (1350047929,), (1350047936,), (1350047946,), (1350047955,), (1350047966,), (1350047974,), (1350048078,), (1350048087,), (1350048093,), (1350052338,), (1350052552,), (1350052610,), (1350052658,), (1350052661,), (1350052770,), (1350052876,), (1350052897,), (1350052932,), (1350054348,), (1350054386,), (1350056232,), (1350056060,), (1350056116,), (1350056179,), (1350056821,), (1350056852,), (1350056883,), (1350056934,), (1350056995,), (1350057050,), (1350057243,), (1350057269,), (1350057291,), (1350057337,), (1350057362,), (1350057605,), (1350057638,), (1350057683,), (1350057717,), (1350057741,), (1350057768,), (1350057862,), (1350057872,), (1350057887,), (1350057902,), (1350057926,), (1350057942,), (1350057969,), (1350058030,), (1350058055,), (1350058092,), (1350058119,), (1350058230,), (1350058234,), (1350058245,), (1350058254,), (1350058338,), (1350058346,), (1350058349,), (1350058586,), (1350058592,), (1350058599,), (1350058875,), (1350085143,), (1350085301,), (1350085309,), (1350085311,), (1350085314,), (1350085417,), (1350085438,), (1350085594,), (1350085890,), (1350085907,), (1350085910,), (1350086077,), (1350086080,), (1350086083,), (1350086087,), (1350086092,), (1350086344,), (1350086356,), (1350086359,), (1350086487,), (1350086556,), (1350086561,), (1350086755,), (1350086762,), (1350086767,), (1350086770,), (1350086774,), (1350086846,), (1350086848,), (1350086855,), (1350086871,), (1350086896,), (1350087035,), (1350087039,), (1350087044,), (1350087067,), (1350087285,), (1350087293,), (1350087297,), (1350087302,), (1350087382,), (1350087386,), (1350087390,), (1350087393,), (1350087408,), (1350087422,), (1350087501,), (1350087487,), (1350087492,), (1350087496,), (1350087632,), (1350087635,), (1350087638,), (1350087641,), (1350087646,), (1350087650,), (1350087709,), (1350087719,), (1350087729,), (1350087733,), (1350087795,), (1350087801,), (1350087806,), (1350087810,), (1350087841,), (1350087846,), (1350087850,), (1350087852,), (1350087966,), (1350087969,), (1350087996,), (1350088006,), (1350088020,), (1350088034,), (1350088188,), (1350088222,), (1350088288,), (1350088600,), (1350088625,), (1350088649,), (1350088656,), (1350088807,), (1350088855,), (1350088866,), (1350088890,), (1350088895,), (1350088928,), (1350089106,), (1350089141,), (1350089173,), (1350089195,), (1350089516,), (1350089539,), (1350089559,), (1350089588,), (1350089623,), (1350089833,), (1350089838,), (1350089844,), (1350089848,), (1350089851,), (1350089916,), (1350089921,), (1350089928,), (1350089936,), (1350089952,), (1350091025,), (1350091090,), (1350091154,), (1350091234,), (1350091275,), (1350091316,), (1350091593,), (1350091578,), (1350091586,), (1350091928,), (1350091976,), (1350092013,), (1350092059,), (1350092087,), (1350092110,), (1350092297,), (1350092318,), (1350092347,), (1350092382,), (1350092454,), (1350092753,), (1350092790,), (1350092845,), (1350092931,), (1350093347,), (1350093381,), (1350093406,), (1350093434,), (1350093468,), (1350093498,), (1350093793,), (1350093808,), (1350093830,), (1350093845,), (1350093884,), (1350093976,), (1350094023,), (1350094040,), (1350094202,), (1350094237,), (1350094272,), (1350094312,), (1350094361,), (1350094414,), (1350094787,), (1350094820,), (1350094847,), (1350094867,), (1350095092,), (1350095112,), (1350095133,), (1350095152,), (1350095279,), (1350095293,), (1350095303,), (1350095314,), (1350095319,), (1350095356,), (1350095363,), (1350095369,), (1350095538,), (1350095541,), (1350095556,), (1350095579,), (1350095598,), (1350095603,), (1350095901,), (1350095948,), (1350095963,), (1350096025,), (1350096581,), (1350096594,), (1350096597,), (1350096598,), (1350096616,), (1350096798,), (1350096728,), (1350096735,), (1350096745,), (1350096788,), (1350097043,), (1350097079,), (1350097117,), (1350097151,), (1350097241,), (1350097252,), (1350097256,), (1350097259,), (1350097264,), (1350097269,), (1350097391,), (1350097411,), (1350097421,), (1350097452,), (1350097473,), (1350097535,), (1350097541,), (1350097548,), (1350097699,), (1350097703,), (1350097707,), (1350097719,), (1350097727,), (1350097735,), (1350097827,), (1350097838,), (1350097860,), (1350097869,), (1350097874,), (1350097903,), (1350097970,), (1350097975,), (1350097980,), (1350097991,), (1350098069,), (1350098074,), (1350098084,), (1350098096,), (1350098186,), (1350098281,), (1350098473,), (1350098477,), (1350098482,), (1350098488,), (1350098538,), (1350098564,), (1350098626,), (1350098677,), (1350098686,), (1350098701,), (1350098783,), (1350098801,), (1350098812,), (1350098818,), (1350098824,), (1350098878,), (1350098905,), (1350098912,), (1350098925,), (1350099284,), (1350099346,), (1350099404,), (1350099453,), (1350099497,), (1350099538,), (1350099782,), (1350099825,), (1350099850,), (1350099879,), (1350100042,), (1350100016,), (1350100021,), (1350100025,), (1350100227,), (1350100257,), (1350100384,), (1350100391,), (1350100396,), (1350100409,), (1350100458,), (1350100559,), (1350100594,), (1350100604,), (1350100611,), (1350100620,), (1350100893,), (1350100906,), (1350100925,), (1350100934,), (1350100946,), (1350101017,), (1350101034,), (1350101059,), (1350103107,), (1350103112,), (1350103116,), (1350103187,), (1350103195,), (1350103197,), (1350103473,), (1350103356,), (1350103366,), (1350103407,), (1350103438,), (1350103570,), (1350103582,), (1350103585,), (1350103589,), (1350103700,), (1350103705,), (1350103715,), (1350103722,), (1350103726,), (1350103729,), (1350103873,), (1350103877,), (1350103917,), (1350103942,), (1350104053,), (1350104057,), (1350104059,), (1350104062,), (1350104065,), (1350104116,), (1350104126,), (1350104137,), (1350104141,), (1350104145,), (1350104243,), (1350104250,), (1350104262,), (1350104538,), (1350104662,), (1350104705,), (1350104924,), (1350104928,), (1350104945,), (1350104952,), (1350104956,), (1350105112,), (1350105124,), (1350105126,), (1350105127,), (1350105137,), (1350105150,), (1350105191,), (1350105198,), (1350105202,), (1350105206,), (1350105265,), (1350105272,), (1350105276,), (1350105278,), (1350105282,), (1350105289,), (1350105361,), (1350105391,), (1350105409,), (1350105433,), (1350105472,), (1350105488,), (1350106197,), (1350106204,), (1350106245,), (1350106282,), (1350107193,), (1350107077,), (1350107153,), (1350107829,), (1350107910,), (1350107958,), (1350108007,), (1350108047,), (1350108314,), (1350108325,), (1350108335,), (1350108345,), (1350108816,), (1350108981,), (1350109061,), (1350109099,), (1350109146,), (1350109173,), (1350109478,), (1350109506,), (1350109514,), (1350109518,), (1350109537,), (1350109630,), (1350109638,), (1350109646,), (1350109651,), (1350109659,), (1350109712,), (1350109745,), (1350109768,), (1350109785,), (1350109823,), (1350109930,), (1350109937,), (1350109950,), (1350109969,), (1350110004,), (1350110016,), (1350110158,), (1350110192,), (1350110207,), (1350110211,), (1350110214,), (1350110219,), (1350110285,), (1350110290,), (1350110292,), (1350110302,), (1350110310,), (1350110484,), (1350110490,), (1350110579,), (1350110607,), (1350110626,), (1350110642,), (1350110741,), (1350110745,), (1350110752,), (1350110762,), (1350110766,), (1350110903,), (1350110931,), (1350110943,), (1350110957,), (1350111012,), (1350111020,), (1350111050,), (1350111054,), (1350111324,), (1350111257,), (1350111293,), (1350111317,), (1350111322,), (1350111391,), (1350111398,), (1350111404,), (1350111573,), (1350111580,), (1350111586,), (1350111608,), (1350111632,), (1350111705,), (1350111714,), (1350111791,), (1350111804,), (1350112040,), (1350112052,), (1350112055,), (1350112062,), (1350112069,), (1350112095,), (1350112100,), (1350112105,), (1350112111,), (1350112121,), (1350112187,), (1350112221,), (1350112250,), (1350112278,), (1350112308,), (1350112331,), (1350112722,), (1350112736,), (1350112746,), (1350112749,), (1350112771,), (1350112947,), (1350112975,), (1350112981,), (1350112995,), (1350113000,), (1350113032,), (1350113091,), (1350113096,), (1350113101,), (1350113115,), (1350113288,), (1350113294,), (1350113299,), (1350113303,), (1350113311,), (1350113316,), (1350113450,), (1350113457,), (1350113464,), (1350113469,), (1350113476,), (1350113572,), (1350113581,), (1350113599,), (1350113619,), (1350113623,), (1350113759,), (1350113793,), (1350113819,), (1350113924,), (1350113931,), (1350113966,), (1350113970,), (1350113984,), (1350113987,), (1350114189,), (1350114065,), (1350114070,), (1350114075,), (1350114131,), (1350114161,), (1350114322,), (1350114325,), (1350114329,), (1350114449,), (1350114477,), (1350114492,), (1350114497,), (1350114548,), (1350114560,), (1350114597,), (1350114599,), (1350114601,), (1350114604,), (1350114613,), (1350114665,), (1350114675,), (1350114680,), (1350114693,), (1350114752,), (1350114773,), (1350114789,), (1350114802,), (1350114809,), (1350114854,), (1350114871,), (1350114888,), (1350114894,), (1350115049,), (1350115066,), (1350115085,), (1350115089,), (1350115130,), (1350115224,), (1350115269,), (1350115278,), (1350115303,), (1350115379,), (1350115402,), (1350115487,), (1350115493,), (1350115496,), (1350115665,), (1350115671,), (1350115677,), (1350115691,), (1350115697,), (1350115702,), (1350115770,), (1350115777,), (1350115787,), (1350115810,), (1350115840,), (1350115872,), (1350116193,), (1350116248,), (1350116289,), (1350116558,), (1350116562,), (1350116566,), (1350116571,), (1350116595,), (1350116676,), (1350116681,), (1350116685,), (1350116689,), (1350116708,), (1350116740,), (1350116929,), (1350116864,), (1350116884,), (1350116906,), (1350117060,), (1350117106,), (1350117156,), (1350117176,), (1350117233,), (1350117248,), (1350117354,), (1350117385,), (1350117389,), (1350117462,), (1350117477,), (1350117486,), (1350117498,), (1350117503,), (1350117671,), (1350117675,), (1350117679,), (1350117683,), (1350117688,), (1350117692,), (1350117753,), (1350117760,), (1350117769,), (1350117847,), (1350117851,), (1350117858,), (1350117884,), (1350117898,), (1350118106,), (1350118112,), (1350118117,), (1350118119,), (1350118123,), (1350118126,), (1350118259,), (1350118268,), (1350118272,), (1350118274,), (1350118464,), (1350118469,), (1350118485,), (1350118509,), (1350118532,), (1350118558,), (1350118634,), (1350118646,), (1350118651,), (1350118657,), (1350118731,), (1350118738,), (1350118754,), (1350118768,), (1350118777,), (1350118780,), (1350118853,), (1350118859,), (1350118862,), (1350118912,), (1350119719,), (1350119753,), (1350119785,), (1350119832,), (1350120684,), (1350120503,), (1350120534,), (1350120609,), (1350121303,), (1350121352,), (1350121387,), (1350121930,), (1350121969,), (1350122020,), (1350122104,), (1350122147,), (1350122175,), (1350122586,), (1350122619,), (1350122641,), (1350122762,), (1350122767,), (1350122773,), (1350122778,), (1350122788,), (1350122793,), (1350123013,), (1350123070,), (1350123099,), (1350123151,), (1350123182,), (1350123202,), (1350123404,), (1350123471,), (1350123510,), (1350123772,), (1350123818,), (1350123850,), (1350123860,), (1350123869,), (1350123894,), (1350123969,), (1350123974,), (1350123986,), (1350124003,), (1350124049,), (1350124059,), (1350124064,), (1350124070,), (1350124086,), (1350124095,), (1350124209,), (1350125701,), (1350125870,), (1350125877,), (1350125881,), (1350125885,), (1350125892,), (1350125896,), (1350126301,), (1350126067,), (1350126202,), (1350126262,), (1350126491,), (1350126503,), (1350126575,), (1350126591,), (1350126630,), (1350126636,), (1350126758,), (1350126772,), (1350126785,), (1350126867,), (1350126879,), (1350126885,), (1350126890,), (1350126910,), (1350126927,), (1350126984,), (1350126994,), (1350127095,), (1350127124,), (1350127137,), (1350127181,), (1350127184,), (1350127192,), (1350127203,), (1350127267,), (1350127272,), (1350127275,), (1350127278,), (1350127283,), (1350127290,), (1350127350,), (1350127356,), (1350127364,), (1350127376,), (1350127529,), (1350127556,), (1350127579,), (1350127603,), (1350127671,), (1350127865,), (1350127869,), (1350127885,), (1350127907,), (1350127923,), (1350127931,), (1350128034,), (1350128036,), (1350128046,), (1350128119,), (1350128123,), (1350128126,), (1350128128,), (1350128133,), (1350128136,), (1350131805,), (1350131776,), (1350131798,), (1350131802,), (1350131996,), (1350132003,), (1350132022,), (1350132033,), (1350132046,), (1350132048,), (1350132101,), (1350132093,), (1350132097,), (1350132127,), (1350132131,), (1350132135,), (1350132140,), (1350132405,), (1350132484,), (1350132537,), (1350132549,), (1350132552,), (1350132555,), (1350132652,), (1350132657,), (1350132661,), (1350132665,), (1350132669,), (1350132698,), (1350132703,), (1350132707,), (1350132711,), (1350132715,), (1350132740,), (1350132754,), (1350132759,), (1350132763,), (1350132768,), (1350132773,), (1350132784,), (1350132788,), (1350132793,), (1350132848,), (1350132855,), (1350132857,), (1350132861,), (1350132866,), (1350132872,), (1350132895,), (1350132902,), (1350132908,), (1350132912,), (1350132918,), (1350132947,), (1350132950,), (1350132964,), (1350132984,), (1350132989,), (1350133013,), (1350133018,), (1350133021,), (1350133026,), (1350133058,), (1350133063,), (1350133067,), (1350133073,), (1350133077,), (1350133081,), (1350133157,), (1350133178,), (1350133186,), (1350133194,), (1350133258,), (1350133239,), (1350133245,), (1350133249,), (1350133254,), (1350133294,), (1350133313,), (1350133316,), (1350133322,), (1350133327,), (1350133331,), (1350133361,), (1350133364,), (1350133369,), (1350133372,), (1350133412,), (1350133417,), (1350133422,), (1350133427,), (1350133431,), (1350133435,), (1350133471,), (1350133476,), (1350133480,), (1350133484,), (1350133489,), (1350133492,), (1350133524,), (1350133529,), (1350133533,), (1350133583,), (1350133587,), (1350133591,), (1350133595,), (1350133600,), (1350133607,), (1350133638,), (1350133643,), (1350133647,), (1350133652,), (1350133657,), (1350133691,), (1350133696,), (1350133774,), (1350133789,), (1350133931,), (1350133935,), (1350133987,), (1350133991,), (1350133995,), (1350133998,), (1350134003,), (1350134009,), (1350134069,), (1350134044,), (1350134050,), (1350134054,), (1350134059,), (1350134064,), (1350134104,), (1350134106,), (1350134110,), (1350134154,), (1350134160,), (1350134165,), (1350134169,), (1350134173,), (1350134176,), (1350134205,), (1350134208,), (1350134210,), (1350134213,), (1350134216,), (1350134219,), (1350134244,), (1350134257,), (1350134262,), (1350134265,), (1350134301,), (1350134303,), (1350134305,), (1350134310,), (1350134314,), (1350134348,), (1350134352,), (1350134356,), (1350134360,), (1350134362,), (1350134367,), (1350134401,), (1350134405,), (1350134408,), (1350134450,), (1350134456,), (1350134461,), (1350134465,), (1350134468,), (1350134509,), (1350134512,), (1350134514,), (1350134516,), (1350134519,), (1350134559,), (1350134563,), (1350134567,), (1350134569,), (1350134574,), (1350134612,), (1350134616,), (1350134620,), (1350134624,), (1350134667,), (1350134673,), (1350134679,), (1350134683,), (1350134686,), (1350134691,), (1350134717,), (1350134719,), (1350134722,), (1350134725,), (1350134773,), (1350134779,), (1350134784,), (1350134789,), (1350134794,), (1350134837,), (1350136258,), (1350136262,), (1350136311,), (1350136315,), (1350136322,), (1350136329,), (1350136374,), (1350136379,), (1350136383,), (1350136387,), (1350136433,), (1350136436,), (1350136439,), (1350136442,), (1350136487,), (1350136491,), (1350136495,), (1350136499,), (1350136503,), (1350136548,), (1350136552,), (1350136554,), (1350136556,), (1350136560,), (1350136597,), (1350136600,), (1350136613,), (1350136615,), (1350136650,), (1350136658,), (1350136663,), (1350136666,), (1350136670,), (1350136706,), (1350136712,), (1350136716,), (1350136718,), (1350136722,), (1350136725,), (1350136763,), (1350136766,), (1350136770,), (1350136813,), (1350136817,), (1350136823,), (1350136826,), (1350136829,), (1350136830,), (1350136856,), (1350136859,), (1350136862,), (1350136866,), (1350136898,), (1350136902,), (1350136905,), (1350136908,), (1350136941,), (1350136947,), (1350136952,), (1350136957,), (1350136962,), (1350137007,), (1350136993,), (1350136996,), (1350137000,), (1350137004,), (1350137038,), (1350137040,), (1350137043,), (1350137045,), (1350137082,), (1350137087,), (1350137091,), (1350137092,), (1350137096,), (1350137100,), (1350137133,), (1350137136,), (1350137139,), (1350137174,), (1350137178,), (1350137182,), (1350137184,), (1350137224,), (1350137226,), (1350137229,), (1350137231,), (1350137234,), (1350137238,), (1350137272,), (1350137276,), (1350137280,), (1350137284,), (1350137319,), (1350137322,), (1350137324,), (1350137326,), (1350137330,), (1350137364,), (1350137369,), (1350137372,), (1350137376,), (1350137405,), (1350137408,), (1350137411,), (1350137414,), (1350137417,), (1350137808,), (1350137784,), (1350137789,), (1350137794,), (1350137798,), (1350137803,), (1350137826,), (1350137829,), (1350137836,), (1350137867,), (1350137905,), (1350137909,), (1350137913,), (1350137917,), (1350137954,), (1350137957,), (1350137989,), (1350137993,), (1350137996,), (1350137998,), (1350138000,), (1350138002,), (1350138034,), (1350138037,), (1350138040,), (1350138043,), (1350138048,), (1350138085,), (1350138090,), (1350138092,), (1350138095,), (1350138098,), (1350138138,), (1350138142,), (1350138144,), (1350138147,), (1350138151,), (1350138192,), (1350138194,), (1350138196,), (1350138198,), (1350138202,), (1350138240,), (1350138243,), (1350138252,), (1350138256,), (1350138262,), (1350138267,), (1350138307,), (1350138298,), (1350138301,), (1350138304,), (1350138347,), (1350138350,), (1350138353,), (1350138357,), (1350138399,), (1350138400,), (1350138401,), (1350138402,), (1350138445,), (1350138449,), (1350138456,), (1350138500,), (1350138504,), (1350138507,), (1350138511,), (1350138517,), (1350138524,), (1350138554,), (1350138562,), (1350138568,), (1350138574,), (1350138582,), (1350138586,), (1350138613,), (1350138619,), (1350138623,), (1350138626,), (1350138630,), (1350138665,), (1350138669,), (1350138675,), (1350138681,), (1350138719,), (1350138724,), (1350138728,), (1350138734,), (1350138740,), (1350138775,), (1350138784,), (1350138789,), (1350138829,), (1350138842,), (1350138847,), (1350138851,), (1350138855,), (1350138886,), (1350138890,), (1350138893,), (1350138897,), (1350138902,), (1350138934,), (1350138939,), (1350138946,), (1350138952,), (1350138957,), (1350139010,), (1350139017,), (1350139026,), (1350139046,), (1350139055,), (1350139061,), (1350139066,), (1350139104,), (1350139088,), (1350139093,), (1350139099,), (1350139149,), (1350139153,), (1350139164,), (1350139171,), (1350139177,), (1350139215,), (1350139219,), (1350139223,), (1350139230,), (1350139237,), (1350139243,), (1350139272,), (1350139279,), (1350139286,), (1350139294,), (1350139337,), (1350139344,), (1350139351,), (1350139357,), (1350139361,), (1350139364,), (1350139398,), (1350139404,), (1350139409,), (1350139414,), (1350139420,), (1350139425,), (1350139455,), (1350139458,), (1350139462,), (1350139466,), (1350139470,), (1350139505,), (1350139508,), (1350139512,), (1350139516,), (1350139522,), (1350139559,), (1350139562,), (1350139566,), (1350139570,), (1350139575,), (1350139578,), (1350139615,), (1350139621,), (1350139626,), (1350139631,), (1350139635,), (1350139672,), (1350139676,), (1350139680,), (1350139684,), (1350139685,), (1350139688,), (1350139718,), (1350139720,), (1350139722,), (1350139724,), (1350139766,), (1350139775,), (1350139780,), (1350139785,), (1350139789,), (1350139811,), (1350139813,), (1350139815,), (1350139817,), (1350139821,), (1350139850,), (1350139853,), (1350139856,), (1350139859,), (1350139865,), (1350139916,), (1350139900,), (1350139903,), (1350139905,), (1350139908,), (1350139913,), (1350139953,), (1350139959,), (1350139962,), (1350139966,), (1350139970,), (1350139972,), (1350140007,), (1350140010,), (1350140012,), (1350140015,), (1350140059,), (1350140070,), (1350140072,), (1350140075,), (1350140079,), (1350140082,), (1350140116,), (1350140120,), (1350140124,), (1350140131,), (1350140135,), (1350140139,), (1350140167,), (1350140172,), (1350140176,), (1350140212,), (1350140214,), (1350140218,), (1350140221,), (1350140226,), (1350140262,), (1350140265,), (1350140270,), (1350140275,), (1350140281,), (1350140287,), (1350140316,), (1350140322,), (1350140326,), (1350140329,), (1350140368,), (1350140373,), (1350140379,), (1350140424,), (1350140427,), (1350140430,), (1350140433,), (1350140439,), (1350140476,), (1350140481,), (1350140484,), (1350140487,), (1350140491,), (1350140529,), (1350140532,), (1350140534,), (1350140537,), (1350140539,), (1350140542,), (1350140580,), (1350140581,), (1350140584,), (1350140587,), (1350140591,), (1350140593,), (1350140629,), (1350140632,), (1350140636,), (1350140639,), (1350140641,), (1350140645,), (1350141200,), (1350141203,), (1350141220,), (1350141225,), (1350141230,), (1350141234,), (1350141242,), (1350140757,), (1350140759,), (1350140762,), (1350140767,), (1350140772,), (1350140776,), (1350140785,), (1350140787,), (1350140792,), (1350140795,), (1350140799,), (1350140801,), (1350140919,), (1350140927,), (1350140933,), (1350140940,), (1350140946,), (1350140949,), (1350140955,), (1350140961,), (1350140966,), (1350140969,), (1350140974,), (1350140978,), (1350140991,), (1350140994,), (1350140999,), (1350141005,), (1350141010,), (1350141019,), (1350141035,), (1350141039,), (1350141041,), (1350141044,), (1350141049,), (1350141054,), (1350141066,), (1350141069,), (1350141074,), (1350141078,), (1350141082,), (1350141088,), (1350141103,), (1350141108,), (1350141110,), (1350141112,), (1350141113,), (1350141117,), (1350141126,), (1350141128,), (1350141133,), (1350141137,), (1350141141,), (1350141145,), (1350141158,), (1350141162,), (1350141165,), (1350141169,), (1350141172,), (1350141175,), (1350141187,), (1350141190,), (1350141194,), (1350141197,), (1350141209,), (1350141215,), (1350141251,), (1350141254,), (1350141258,), (1350141272,), (1350141276,), (1350141296,), (1350141299,), (1350141303,), (1350141307,), (1350141314,), (1350141320,), (1350141361,), (1350141340,), (1350141354,), (1350141357,), (1350141395,), (1350141398,), (1350141401,), (1350141404,), (1350141411,), (1350141418,), (1350141444,), (1350141448,), (1350141453,), (1350141458,), (1350141464,), (1350141469,), (1350141494,), (1350141497,), (1350141500,), (1350141538,), (1350141544,), (1350141551,), (1350141556,), (1350141563,), (1350141567,), (1350141588,), (1350141592,), (1350141596,), (1350141600,), (1350141606,), (1350141645,), (1350141651,), (1350141655,), (1350141695,), (1350141700,), (1350141705,), (1350141708,), (1350141715,), (1350141720,), (1350141750,), (1350141756,), (1350141762,), (1350141766,), (1350141770,), (1350141774,), (1350141804,), (1350141809,), (1350141813,), (1350141815,), (1350141852,), (1350141858,), (1350141864,), (1350141869,), (1350141873,), (1350141877,), (1350141909,), (1350141913,), (1350141917,), (1350141921,), (1350141959,), (1350141962,), (1350141966,), (1350141970,), (1350142018,), (1350142025,), (1350142032,), (1350142042,), (1350142053,), (1350142073,), (1350142074,), (1350142078,), (1350142079,), (1350142080,), (1350142081,), (1350142086,), (1350142087,), (1350142091,), (1350142093,), (1350142119,), (1350142109,), (1350142114,), (1350142160,), (1350142166,), (1350142173,), (1350142179,), (1350142184,), (1350142225,), (1350142227,), (1350142232,), (1350142237,), (1350142243,), (1350142249,), (1350142279,), (1350142283,), (1350142290,), (1350142294,), (1350142299,), (1350142330,), (1350142332,), (1350142336,), (1350142340,), (1350142346,), (1350142381,), (1350142385,), (1350142389,), (1350142393,), (1350142397,), (1350142402,), (1350142428,), (1350142431,), (1350142435,), (1350142468,), (1350142472,), (1350142478,), (1350142484,), (1350142490,), (1350142494,), (1350142520,), (1350142524,), (1350142527,), (1350142530,), (1350142535,), (1350142539,), (1350142565,), (1350142570,), (1350142575,), (1350142577,), (1350142615,), (1350142619,), (1350142623,), (1350142627,), (1350142633,), (1350142668,), (1350142673,), (1350142677,), (1350142682,), (1350142689,), (1350142693,), (1350142719,), (1350142723,), (1350142727,), (1350142766,), (1350142770,), (1350142775,), (1350142779,), (1350142819,), (1350142821,), (1350142825,), (1350142831,), (1350142837,), (1350142843,), (1350142881,), (1350142870,), (1350142875,), (1350142919,), (1350142926,), (1350142930,), (1350142934,), (1350142938,), (1350142942,), (1350142975,), (1350142979,), (1350142983,), (1350142986,), (1350142992,), (1350142997,), (1350143028,), (1350143031,), (1350143035,), (1350143075,), (1350143080,), (1350143083,), (1350143086,), (1350143089,), (1350143095,), (1350143128,), (1350143131,), (1350143135,), (1350143138,), (1350143145,), (1350143154,), (1350143179,), (1350143182,), (1350143186,), (1350143222,), (1350143241,), (1350143246,), (1350143252,), (1350143258,), (1350143262,), (1350143283,), (1350143288,), (1350143293,), (1350143297,), (1350143300,), (1350143305,), (1350143336,), (1350143339,), (1350143342,), (1350143382,), (1350143390,), (1350143394,), (1350143397,), (1350143433,), (1350143437,), (1350143440,), (1350143446,), (1350143449,), (1350143454,), (1350143475,), (1350143480,), (1350143484,), (1350143488,), (1350143523,), (1350143528,), (1350143532,), (1350143536,), (1350143541,), (1350143545,), (1350143573,), (1350143577,), (1350143581,), (1350143584,), (1350143588,), (1350143630,), (1350143622,), (1350143625,), (1350143627,), (1350143669,), (1350143671,), (1350143672,), (1350143673,), (1350143677,), (1350143682,), (1350143714,), (1350143716,), (1350143719,), (1350143722,), (1350143756,), (1350143757,), (1350143760,), (1350143763,), (1350143767,), (1350143803,), (1350143807,), (1350143812,), (1350143816,), (1350143854,), (1350143855,), (1350143858,), (1350143900,), (1350143905,), (1350143911,), (1350143917,), (1350143921,), (1350143926,), (1350143947,), (1350143950,), (1350143953,), (1350143957,), (1350143961,), (1350143963,), (1350143992,), (1350143994,), (1350144027,), (1350144030,), (1350144035,), (1350144039,), (1350144042,), (1350144046,), (1350144077,), (1350144079,), (1350144082,), (1350144085,), (1350144089,), (1350144093,), (1350144968,), (1350144963,), (1350144966,), (1350144996,), (1350145061,), (1350145094,), (1350145096,), (1350145157,), (1350145185,), (1350145216,), (1350145219,), (1350145242,), (1350145275,), (1350145274,), (1350145301,), (1350145303,), (1350145343,), (1350145426,), (1350145457,), (1350145458,), (1350145545,), (1350145576,), (1350145640,), (1350145643,), (1350145670,), (1350145672,), (1350145697,), (1350145727,), (1350145724,), (1350145750,), (1350145834,), (1350145915,), (1350145946,), (1350145947,), (1350145950,), (1350146132,), (1350146516,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04042025': {'nb_upload': 46, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22087637]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] map_info['map_portfolio_photo'] : {22087637: [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993]} final : True mtd_id 4302 list_pids : [1350137808, 1350137417, 1350137414, 1350137411, 1350137408, 1350137405, 1350137376, 1350137372, 1350137369, 1350137364, 1350137330, 1350137326, 1350137324, 1350137322, 1350137319, 1350137284, 1350137280, 1350137276, 1350137272, 1350137238, 1350137234, 1350137231, 1350137229, 1350137226, 1350137224, 1350137184, 1350137182, 1350137178, 1350137174, 1350137139, 1350137136, 1350137133, 1350137100, 1350137096, 1350137092, 1350137091, 1350137087, 1350137082, 1350137045, 1350137043, 1350137040, 1350137038, 1350137004, 1350137000, 1350136996, 1350136993] Looping around the photos to save general results len do output : 1 /22087637Didn'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, '2733363') ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363') ('4302', None, None, None, None, None, None, None, '2733363') ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22087637', 'None', None, None, None, None, '2733363'), ('4302', '22087637', '1350137808', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137417', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137414', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137411', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137408', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137405', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137376', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137372', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137369', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137364', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137330', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137326', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137324', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137322', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137319', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137284', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137280', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137276', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137272', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137238', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137234', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137231', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137229', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137226', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137224', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137184', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137182', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137178', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137174', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137139', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137136', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137133', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137100', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137096', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137092', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137091', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137087', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137082', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137045', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137043', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137040', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137038', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137004', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350137000', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136996', None, None, None, None, None, '2733363'), ('4302', '22087637', '1350136993', None, None, None, None, None, '2733363')] time used for this insertion : 0.018558740615844727 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.097512722015381 time spend to save output : 0.019036293029785156 total time spend for step 5 : 4.116549015045166 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 (2733363) 3.51user 2.69system 0:18.46elapsed 33%CPU (0avgtext+0avgdata 170444maxresident)k 600inputs+36936outputs (8major+87770minor)pagefaults 0swaps