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 : 1886170 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 (2561282) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2561282) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20316827 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2561282'] with mtr_portfolio_ids : ['20316827'] and first list_photo_ids : [] new path : /proc/1886170/ Name: python3 Umask: 0002 State: R (running) Tgid: 1886170 Ngid: 0 Pid: 1886170 PPid: 1886169 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1886170 NSpid: 1886170 NSpgid: 1867038 NSsid: 1867038 VmPeak: 1106660 kB VmSize: 1106660 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 95612 kB VmRSS: 95612 kB RssAnon: 59732 kB RssFile: 35880 kB RssShmem: 0 kB VmData: 865412 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 37 nonvoluntary_ctxt_switches: 83 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1886170', 'Ngid': '0', 'Pid': '1886170', 'PPid': '1886169', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1886170', 'NSpid': '1886170', 'NSpgid': '1867038', 'NSsid': '1867038', 'VmPeak': '1106660 kB', 'VmSize': '1106660 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '95612 kB', 'VmRSS': '95612 kB', 'RssAnon': '59732 kB', 'RssFile': '35880 kB', 'RssShmem': '0 kB', 'VmData': '865412 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '37', 'nonvoluntary_ctxt_switches': '83'} ('datou_batch_current', '1886170', '1106660', '0', '1106660', '865412', '95612', b'', 'marlene', '2561282') 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 (20316827) 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 (2561282 ) ) 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 (20316827) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1335084135, 'portfolio_id': 20316827}, {'photo_id': 1335084130, 'portfolio_id': 20316827}, {'photo_id': 1335084124, 'portfolio_id': 20316827}, {'photo_id': 1335084105, 'portfolio_id': 20316827}, {'photo_id': 1335084104, 'portfolio_id': 20316827}, {'photo_id': 1335084098, 'portfolio_id': 20316827}, {'photo_id': 1335084091, 'portfolio_id': 20316827}, {'photo_id': 1335084079, 'portfolio_id': 20316827}, {'photo_id': 1335084077, 'portfolio_id': 20316827}, {'photo_id': 1335084058, 'portfolio_id': 20316827}, {'photo_id': 1335084054, 'portfolio_id': 20316827}, {'photo_id': 1335084049, 'portfolio_id': 20316827}, {'photo_id': 1335084045, 'portfolio_id': 20316827}, {'photo_id': 1335084042, 'portfolio_id': 20316827}, {'photo_id': 1335084038, 'portfolio_id': 20316827}, {'photo_id': 1335083911, 'portfolio_id': 20316827}, {'photo_id': 1335083909, 'portfolio_id': 20316827}, {'photo_id': 1335083907, 'portfolio_id': 20316827}, {'photo_id': 1335083905, 'portfolio_id': 20316827}, {'photo_id': 1335083900, 'portfolio_id': 20316827}, {'photo_id': 1335083896, 'portfolio_id': 20316827}, {'photo_id': 1335083888, 'portfolio_id': 20316827}, {'photo_id': 1335083886, 'portfolio_id': 20316827}, {'photo_id': 1335083884, 'portfolio_id': 20316827}, {'photo_id': 1335083881, 'portfolio_id': 20316827}, {'photo_id': 1335083880, 'portfolio_id': 20316827}, {'photo_id': 1335083879, 'portfolio_id': 20316827}, {'photo_id': 1335083874, 'portfolio_id': 20316827}, {'photo_id': 1335083863, 'portfolio_id': 20316827}, {'photo_id': 1335083860, 'portfolio_id': 20316827}, {'photo_id': 1335083855, 'portfolio_id': 20316827}, {'photo_id': 1335083841, 'portfolio_id': 20316827}, {'photo_id': 1335083830, 'portfolio_id': 20316827}, {'photo_id': 1335083829, 'portfolio_id': 20316827}, {'photo_id': 1335083828, 'portfolio_id': 20316827}, {'photo_id': 1335083827, 'portfolio_id': 20316827}, {'photo_id': 1335083825, 'portfolio_id': 20316827}, {'photo_id': 1335083823, 'portfolio_id': 20316827}, {'photo_id': 1335083816, 'portfolio_id': 20316827}, {'photo_id': 1335083812, 'portfolio_id': 20316827}, {'photo_id': 1335083809, 'portfolio_id': 20316827}, {'photo_id': 1335083767, 'portfolio_id': 20316827}, {'photo_id': 1335083758, 'portfolio_id': 20316827}, {'photo_id': 1335083755, 'portfolio_id': 20316827}, {'photo_id': 1335083689, 'portfolio_id': 20316827}, {'photo_id': 1335083687, 'portfolio_id': 20316827}, {'photo_id': 1335083628, 'portfolio_id': 20316827}, {'photo_id': 1335083575, 'portfolio_id': 20316827}, {'photo_id': 1335083573, 'portfolio_id': 20316827}, {'photo_id': 1335083570, 'portfolio_id': 20316827}, {'photo_id': 1335083491, 'portfolio_id': 20316827}] map_portfolio_id_photo_id: {20316827: [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491]} ##### 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.0174252986907959 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Feb 7 05:40: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 (20316827) 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 : 20316827 get user id for portfolio 20316827 get sub ptf for main ptf 20316827, type 3726 and hashtags ['environnement', 'Teint_Dans_La_Masse', 'Carton_brun', 'plastique', 'papier', 'autre_refus', 'kraft', 'metal', 'cartonnette', 'Carton_gris', 'mal_croppe', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20316827 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','Carton_brun','plastique','papier','autre_refus','kraft','metal','cartonnette','Carton_gris','mal_croppe','flou')) 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`=20316827 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','Carton_brun','plastique','papier','autre_refus','kraft','metal','cartonnette','Carton_gris','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20316827, 'sub_port_id': 20317298, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005492, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'flou': {'main_port_id': 20316827, 'sub_port_id': 20317299, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005493, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'environnement': {'main_port_id': 20316827, 'sub_port_id': 20317300, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005494, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'plastique': {'main_port_id': 20316827, 'sub_port_id': 20317301, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005495, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'papier': {'main_port_id': 20316827, 'sub_port_id': 20317302, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005496, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'Carton_gris': {'main_port_id': 20316827, 'sub_port_id': 20317303, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005497, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'autre_refus': {'main_port_id': 20316827, 'sub_port_id': 20317304, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005498, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20316827, 'sub_port_id': 20317305, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005499, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'metal': {'main_port_id': 20316827, 'sub_port_id': 20317306, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005500, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'mal_croppe': {'main_port_id': 20316827, 'sub_port_id': 20317307, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005501, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'Carton_brun': {'main_port_id': 20316827, 'sub_port_id': 20317308, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005502, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}, 'kraft': {'main_port_id': 20316827, 'sub_port_id': 20317309, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005503, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 41, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20317298 , 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=20316827 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 (20317298) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317299 , 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=20316827 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 (20317299) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317300 , 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=20316827 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 (20317300) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317301 , 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=20316827 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 (20317301) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317302 , 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=20316827 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 (20317302) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317303 , 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=20316827 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 (20317303) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317304 , 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=20316827 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 (20317304) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317305 , 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=20316827 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 (20317305) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317306 , 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=20316827 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 (20317306) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317307 , 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=20316827 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 (20317307) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317308 , 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=20316827 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 (20317308) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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 20317309 , 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=20316827 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 (20317309) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316827) result : ((1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,)) 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 (1335083900) 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`=20316827 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','Carton_brun','plastique','papier','autre_refus','kraft','metal','cartonnette','Carton_gris','mal_croppe','flou')) 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`=20316827 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','Teint_Dans_La_Masse','Carton_brun','plastique','papier','autre_refus','kraft','metal','cartonnette','Carton_gris','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 20316827, 'sub_port_id': 20317310, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005504, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'flou': {'main_port_id': 20316827, 'sub_port_id': 20317311, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005505, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'environnement': {'main_port_id': 20316827, 'sub_port_id': 20317312, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005506, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'plastique': {'main_port_id': 20316827, 'sub_port_id': 20317313, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005507, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'papier': {'main_port_id': 20316827, 'sub_port_id': 20317314, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005508, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'Carton_gris': {'main_port_id': 20316827, 'sub_port_id': 20317315, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005509, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'autre_refus': {'main_port_id': 20316827, 'sub_port_id': 20317316, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005510, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'Teint_Dans_La_Masse': {'main_port_id': 20316827, 'sub_port_id': 20317317, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005511, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'metal': {'main_port_id': 20316827, 'sub_port_id': 20317318, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005512, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'mal_croppe': {'main_port_id': 20316827, 'sub_port_id': 20317319, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005513, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'Carton_brun': {'main_port_id': 20316827, 'sub_port_id': 20317320, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005514, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}, 'kraft': {'main_port_id': 20316827, 'sub_port_id': 20317321, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13005515, 'last_updated_at': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_desc': datetime.datetime(2025, 2, 7, 3, 42), 'last_updated_at_asc': datetime.datetime(2025, 2, 7, 3, 42)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317310,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317298 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317311,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317299 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317312,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317300 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317313,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317301 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317314,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317302 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317315,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317303 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317316,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317304 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317317,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317305 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317318,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317306 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317319,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317307 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317320,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317308 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20317321,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20317309 lien utilise dans velours : https://www.fotonower.com/velours/20317310,20317311,20317312,20317313,20317314,20317315,20317316,20317317,20317318,20317319,20317320,20317321?tags=cartonnette,flou,environnement,plastique,papier,Carton_gris,autre_refus,Teint_Dans_La_Masse,metal,mal_croppe,Carton_brun,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20316827]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] map_info['map_portfolio_photo'] : {20316827: [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491]} final : False mtd_id 4302 list_pids : [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] Looping around the photos to save general results len do output : 1 /20316827. 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, '2561282') ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 52 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, '20316827', "{'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309}", None, None, None, None, '2561282'), ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282')] time used for this insertion : 0.022013187408447266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6115057468414307 time spend to save output : 0.022524118423461914 total time spend for step 1 : 0.6340298652648926 step2:final Fri Feb 7 05:40: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 (20316827) 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 20316827 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1335083491,1335084135,1335084130,1335084124,1335084105,1335084104,1335084098,1335084091,1335084079,1335084077,1335084058,1335084054,1335084049,1335084045,1335084042,1335084038,1335083911,1335083909,1335083689,1335083687,1335083628,1335083575,1335083573,1335083570,1335083907,1335083905,1335083900,1335083896,1335083888,1335083886,1335083884,1335083881,1335083880,1335083879,1335083830,1335083829,1335083828,1335083827,1335083825,1335083823,1335083816,1335083812,1335083809,1335083767,1335083758,1335083755,1335083874,1335083863,1335083860,1335083855,1335083841); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20316827]) Inside saveOutput : final : False verbose : True original output for save of step final : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} new output for save of step final : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] map_info['map_portfolio_photo'] : {20316827: [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491]} final : False mtd_id 4302 list_pids : [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] Looping around the photos to save general results len do output : 51 /1335084135.Didn't retrieve data . /1335084130.Didn't retrieve data . /1335084124.Didn't retrieve data . /1335084105.Didn't retrieve data . /1335084104.Didn't retrieve data . /1335084098.Didn't retrieve data . /1335084091.Didn't retrieve data . /1335084079.Didn't retrieve data . /1335084077.Didn't retrieve data . /1335084058.Didn't retrieve data . /1335084054.Didn't retrieve data . /1335084049.Didn't retrieve data . /1335084045.Didn't retrieve data . /1335084042.Didn't retrieve data . /1335084038.Didn't retrieve data . /1335083911.Didn't retrieve data . /1335083909.Didn't retrieve data . /1335083907.Didn't retrieve data . /1335083905.Didn't retrieve data . /1335083900.Didn't retrieve data . /1335083896.Didn't retrieve data . /1335083888.Didn't retrieve data . /1335083886.Didn't retrieve data . /1335083884.Didn't retrieve data . /1335083881.Didn't retrieve data . /1335083880.Didn't retrieve data . /1335083879.Didn't retrieve data . /1335083874.Didn't retrieve data . /1335083863.Didn't retrieve data . /1335083860.Didn't retrieve data . /1335083855.Didn't retrieve data . /1335083841.Didn't retrieve data . /1335083830.Didn't retrieve data . /1335083829.Didn't retrieve data . /1335083828.Didn't retrieve data . /1335083827.Didn't retrieve data . /1335083825.Didn't retrieve data . /1335083823.Didn't retrieve data . /1335083816.Didn't retrieve data . /1335083812.Didn't retrieve data . /1335083809.Didn't retrieve data . /1335083767.Didn't retrieve data . /1335083758.Didn't retrieve data . /1335083755.Didn't retrieve data . /1335083689.Didn't retrieve data . /1335083687.Didn't retrieve data . /1335083628.Didn't retrieve data . /1335083575.Didn't retrieve data . /1335083573.Didn't retrieve data . /1335083570.Didn't retrieve data . /1335083491.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, '2561282') ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 153 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', '20316827', '1335084135', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084130', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084124', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084105', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084104', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084098', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084091', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084079', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084077', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084058', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084054', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084049', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084045', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084042', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335084038', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083911', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083909', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083907', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083905', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083900', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083896', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083888', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083886', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083884', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083881', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083880', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083879', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083874', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083863', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083860', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083855', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083841', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083830', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083829', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083828', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083827', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083825', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083823', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083816', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083812', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083809', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083767', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083758', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083755', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083689', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083687', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083628', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083575', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083573', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083570', '0.0', None, None, None, None, '2561282'), ('4302', '20316827', '1335083491', '0.0', None, None, None, None, '2561282')] time used for this insertion : 0.3898308277130127 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.051711320877075195 time spend to save output : 0.39177894592285156 total time spend for step 2 : 0.44349026679992676 step3:velours_tree Fri Feb 7 05:40:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20316827: [{'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309}]} input_args_next_step : {20316827: ()} output_args : {20316827: [{'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309}]} args : 20316827 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 : ({'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20316827) 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([20316827]) 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.5297219753265381 time spend to save output : 4.5299530029296875e-05 total time spend for step 3 : 0.5297672748565674 step4:send_mail_cod Fri Feb 7 05:40: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 : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} input_args_next_step : {1335084135: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084135 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084130 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084124 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084105 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084104 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084098 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084091 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084079 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084077 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084058 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084054 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084049 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084045 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084042 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335084038 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083911 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083909 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083907 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083905 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083900 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083896 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083888 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083886 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083884 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083881 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083880 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083879 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083874 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083863 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083860 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083855 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083841 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083830 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083829 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083828 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083827 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083825 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083823 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083816 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083812 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083809 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083767 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083758 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083755 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083689 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083687 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083628 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083575 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083573 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083570 depend.output_id : 0 input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ()} output_args : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',)} args : 1335083491 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 : {20316827: [{'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309}]} input_args_next_step : {1335084135: ('0.0',), 1335084130: ('0.0',), 1335084124: ('0.0',), 1335084105: ('0.0',), 1335084104: ('0.0',), 1335084098: ('0.0',), 1335084091: ('0.0',), 1335084079: ('0.0',), 1335084077: ('0.0',), 1335084058: ('0.0',), 1335084054: ('0.0',), 1335084049: ('0.0',), 1335084045: ('0.0',), 1335084042: ('0.0',), 1335084038: ('0.0',), 1335083911: ('0.0',), 1335083909: ('0.0',), 1335083907: ('0.0',), 1335083905: ('0.0',), 1335083900: ('0.0',), 1335083896: ('0.0',), 1335083888: ('0.0',), 1335083886: ('0.0',), 1335083884: ('0.0',), 1335083881: ('0.0',), 1335083880: ('0.0',), 1335083879: ('0.0',), 1335083874: ('0.0',), 1335083863: ('0.0',), 1335083860: ('0.0',), 1335083855: ('0.0',), 1335083841: ('0.0',), 1335083830: ('0.0',), 1335083829: ('0.0',), 1335083828: ('0.0',), 1335083827: ('0.0',), 1335083825: ('0.0',), 1335083823: ('0.0',), 1335083816: ('0.0',), 1335083812: ('0.0',), 1335083809: ('0.0',), 1335083767: ('0.0',), 1335083758: ('0.0',), 1335083755: ('0.0',), 1335083689: ('0.0',), 1335083687: ('0.0',), 1335083628: ('0.0',), 1335083575: ('0.0',), 1335083573: ('0.0',), 1335083570: ('0.0',), 1335083491: ('0.0',), 20316827: ()} output_args : {20316827: [{'cartonnette': 20317298, 'flou': 20317299, 'environnement': 20317300, 'plastique': 20317301, 'papier': 20317302, 'Carton_gris': 20317303, 'autre_refus': 20317304, 'Teint_Dans_La_Masse': 20317305, 'metal': 20317306, 'mal_croppe': 20317307, 'Carton_brun': 20317308, 'kraft': 20317309}]} args : 20316827 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 :52, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20316827) 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 (1335084135,1335084130,1335084124,1335084105,1335084104,1335084098,1335084091,1335084079,1335084077,1335084058,1335084054,1335084049,1335084045,1335084042,1335084038,1335083911,1335083909,1335083907,1335083905,1335083900,1335083896,1335083888,1335083886,1335083884,1335083881,1335083880,1335083879,1335083874,1335083863,1335083860,1335083855,1335083841,1335083830,1335083829,1335083828,1335083827,1335083825,1335083823,1335083816,1335083812,1335083809,1335083767,1335083758,1335083755,1335083689,1335083687,1335083628,1335083575,1335083573,1335083570,1335083491) Found this number of photos: 51 ##### Call download_photos : nb_thread : 5 begin to download photo : 1335083491 begin to download photo : 1335083812 begin to download photo : 1335083863 begin to download photo : 1335083907 begin to download photo : 1335084091 download finish for photo 1335083812 begin to download photo : 1335083816 download finish for photo 1335083907 begin to download photo : 1335083909 download finish for photo 1335084091 begin to download photo : 1335084098 download finish for photo 1335083816 begin to download photo : 1335083823 download finish for photo 1335083491 begin to download photo : 1335083570 download finish for photo 1335083863 begin to download photo : 1335083874 download finish for photo 1335083909 begin to download photo : 1335083911 download finish for photo 1335083823 begin to download photo : 1335083825 download finish for photo 1335083570 begin to download photo : 1335083573 download finish for photo 1335083874 begin to download photo : 1335083879 download finish for photo 1335084098 begin to download photo : 1335084104 download finish for photo 1335083911 begin to download photo : 1335084038 download finish for photo 1335083825 begin to download photo : 1335083827 download finish for photo 1335083879 begin to download photo : 1335083880 download finish for photo 1335083573 begin to download photo : 1335083575 download finish for photo 1335084104 begin to download photo : 1335084105 download finish for photo 1335084038 begin to download photo : 1335084042 download finish for photo 1335083827 begin to download photo : 1335083828 download finish for photo 1335083880 begin to download photo : 1335083881 download finish for photo 1335083575 begin to download photo : 1335083628 download finish for photo 1335084042 begin to download photo : 1335084045 download finish for photo 1335084105 begin to download photo : 1335084124 download finish for photo 1335083828 begin to download photo : 1335083829 download finish for photo 1335083881 begin to download photo : 1335083884 download finish for photo 1335083628 begin to download photo : 1335083687 download finish for photo 1335084124 begin to download photo : 1335084130 download finish for photo 1335083829 begin to download photo : 1335083830 download finish for photo 1335084045 begin to download photo : 1335084049 download finish for photo 1335083687 begin to download photo : 1335083689 download finish for photo 1335083884 begin to download photo : 1335083886 download finish for photo 1335084049 begin to download photo : 1335084054 download finish for photo 1335084130 begin to download photo : 1335084135 download finish for photo 1335083689 begin to download photo : 1335083755 download finish for photo 1335083830 begin to download photo : 1335083841 download finish for photo 1335083886 begin to download photo : 1335083888 download finish for photo 1335084054 begin to download photo : 1335084058 download finish for photo 1335084135 download finish for photo 1335083841 begin to download photo : 1335083855 download finish for photo 1335083755 begin to download photo : 1335083758 download finish for photo 1335083888 begin to download photo : 1335083896 download finish for photo 1335084058 begin to download photo : 1335084077 download finish for photo 1335083896 begin to download photo : 1335083900 download finish for photo 1335083855 begin to download photo : 1335083860 download finish for photo 1335084077 begin to download photo : 1335084079 download finish for photo 1335083758 begin to download photo : 1335083767 download finish for photo 1335083900 begin to download photo : 1335083905 download finish for photo 1335083860 download finish for photo 1335083767 begin to download photo : 1335083809 download finish for photo 1335084079 download finish for photo 1335083905 download finish for photo 1335083809 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203172981738903261/ imagette203172991738903261/ imagette203173011738903261/ imagette203173041738903261/ imagette203173061738903261/ imagette203173071738903261/ imagette203173091738903261/ imagette203173031738903261/ imagette203173051738903261/ imagette203173081738903261/ length of list_filenames : 51 ; length of list_pids : 51 ; length of list_args : 51 results_Auto_P20316827_07-02-2025_05_41_01.pdf 20317298 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=20317298 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203172981738903261 20317299 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=20317299 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203172991738903261 20317301 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=20317301 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173011738903261 20317304 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=20317304 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173041738903261 20317306 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=20317306 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173061738903261 20317307 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=20317307 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173071738903261 20317309 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=20317309 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173091738903261 20317303 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=20317303 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173031738903261 20317305 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=20317305 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173051738903261 20317308 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=20317308 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203173081738903261 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20316827 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20317310,20317311,20317312,20317313,20317314,20317315,20317316,20317317,20317318,20317319,20317320,20317321?tags=cartonnette,flou,environnement,plastique,papier,Carton_gris,autre_refus,Teint_Dans_La_Masse,metal,mal_croppe,Carton_brun,kraft your option no_mail is active, we will not send the real mail to your client args[1335084135] : ('0.0',) no score found for photo 1335084135 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084130] : ('0.0',) no score found for photo 1335084130 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084124] : ('0.0',) no score found for photo 1335084124 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084105] : ('0.0',) no score found for photo 1335084105 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084104] : ('0.0',) no score found for photo 1335084104 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084098] : ('0.0',) no score found for photo 1335084098 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084091] : ('0.0',) no score found for photo 1335084091 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084079] : ('0.0',) no score found for photo 1335084079 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084077] : ('0.0',) no score found for photo 1335084077 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084058] : ('0.0',) no score found for photo 1335084058 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084054] : ('0.0',) no score found for photo 1335084054 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084049] : ('0.0',) no score found for photo 1335084049 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084045] : ('0.0',) no score found for photo 1335084045 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084042] : ('0.0',) no score found for photo 1335084042 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335084038] : ('0.0',) no score found for photo 1335084038 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083911] : ('0.0',) no score found for photo 1335083911 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083909] : ('0.0',) no score found for photo 1335083909 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083907] : ('0.0',) no score found for photo 1335083907 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083905] : ('0.0',) no score found for photo 1335083905 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083900] : ('0.0',) no score found for photo 1335083900 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083896] : ('0.0',) no score found for photo 1335083896 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083888] : ('0.0',) no score found for photo 1335083888 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083886] : ('0.0',) no score found for photo 1335083886 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083884] : ('0.0',) no score found for photo 1335083884 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083881] : ('0.0',) no score found for photo 1335083881 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083880] : ('0.0',) no score found for photo 1335083880 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083879] : ('0.0',) no score found for photo 1335083879 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083874] : ('0.0',) no score found for photo 1335083874 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083863] : ('0.0',) no score found for photo 1335083863 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083860] : ('0.0',) no score found for photo 1335083860 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083855] : ('0.0',) no score found for photo 1335083855 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083841] : ('0.0',) no score found for photo 1335083841 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083830] : ('0.0',) no score found for photo 1335083830 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083829] : ('0.0',) no score found for photo 1335083829 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083828] : ('0.0',) no score found for photo 1335083828 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083827] : ('0.0',) no score found for photo 1335083827 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083825] : ('0.0',) no score found for photo 1335083825 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083823] : ('0.0',) no score found for photo 1335083823 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083816] : ('0.0',) no score found for photo 1335083816 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083812] : ('0.0',) no score found for photo 1335083812 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083809] : ('0.0',) no score found for photo 1335083809 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083767] : ('0.0',) no score found for photo 1335083767 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083758] : ('0.0',) no score found for photo 1335083758 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083755] : ('0.0',) no score found for photo 1335083755 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083689] : ('0.0',) no score found for photo 1335083689 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083687] : ('0.0',) no score found for photo 1335083687 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083628] : ('0.0',) no score found for photo 1335083628 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083575] : ('0.0',) no score found for photo 1335083575 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083573] : ('0.0',) no score found for photo 1335083573 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083570] : ('0.0',) no score found for photo 1335083570 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1335083491] : ('0.0',) no score found for photo 1335083491 apple ('0.0',) We are sending mail with results at report@fotonower.com refus_total : 0.0 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=20316827 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_P20316827_07-02-2025_05_41_01.pdf results_Auto_P20316827_07-02-2025_05_41_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_05_41_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','20316827','results_Auto_P20316827_07-02-2025_05_41_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_05_41_01.pdf','pdf','','0.39','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20316827]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] map_info['map_portfolio_photo'] : {20316827: [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491]} final : False mtd_id 4302 list_pids : [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] 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, '2561282') ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 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', '20316827', '1335084135', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282')] time used for this insertion : 0.021491289138793945 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.226747512817383 time spend to save output : 0.021975040435791016 total time spend for step 4 : 4.248722553253174 step5:split_time_score Fri Feb 7 05:41:03 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 : ['20316827'] 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 : [('20316827',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20316827) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1335084091: {'path': 'temp/1738903259_1886170_1335084091_e83471a7802911ddd8cd649781ce5f89.jpg', 'extension': 'jpg'}, 1335084098: {'path': 'temp/1738903259_1886170_1335084098_0228b229fd98f33cc21f9aa5af9f071d.jpg', 'extension': 'jpg'}, 1335084104: {'path': 'temp/1738903259_1886170_1335084104_0d3de7a34295bb7de5cd23a472654a63.jpg', 'extension': 'jpg'}, 1335084105: {'path': 'temp/1738903259_1886170_1335084105_0d48ebdeeccbe469ed3a49ebb14cabfb.jpg', 'extension': 'jpg'}, 1335084124: {'path': 'temp/1738903259_1886170_1335084124_6c9784ad818cf1e38eab27b25d60bb65.jpg', 'extension': 'jpg'}, 1335084130: {'path': 'temp/1738903259_1886170_1335084130_a7adf59d2729d5845383670584260fe5.jpg', 'extension': 'jpg'}, 1335084135: {'path': 'temp/1738903259_1886170_1335084135_abfeeda20cdf168c5dba2daee924c16f.jpg', 'extension': 'jpg'}, 1335083812: {'path': 'temp/1738903259_1886170_1335083812_ae9c4d78e4fcbd0c0794f518dbfc2f4f.jpg', 'extension': 'jpg'}, 1335083816: {'path': 'temp/1738903259_1886170_1335083816_f6f0a3063a580349d1e473df3b8eda75.jpg', 'extension': 'jpg'}, 1335083823: {'path': 'temp/1738903259_1886170_1335083823_a5a9da03c8f13fcd9f86774b6d9c4132.jpg', 'extension': 'jpg'}, 1335083825: {'path': 'temp/1738903259_1886170_1335083825_b95d8f9079a2df36f505f71cfd83f068.jpg', 'extension': 'jpg'}, 1335083827: {'path': 'temp/1738903259_1886170_1335083827_61ae74bd839ca3fa9df9c5652c6df097.jpg', 'extension': 'jpg'}, 1335083828: {'path': 'temp/1738903259_1886170_1335083828_2d93577a4b592186e839ce2976a9bba7.jpg', 'extension': 'jpg'}, 1335083829: {'path': 'temp/1738903259_1886170_1335083829_687381f1e87fc7df61a640c471c4a9ba.jpg', 'extension': 'jpg'}, 1335083830: {'path': 'temp/1738903259_1886170_1335083830_5f96c1d45670411bd462717acabd5400.jpg', 'extension': 'jpg'}, 1335083841: {'path': 'temp/1738903259_1886170_1335083841_7ba4a22e6177b8b93b37cb091e422e11.jpg', 'extension': 'jpg'}, 1335083855: {'path': 'temp/1738903259_1886170_1335083855_ab5a6dd06d3159b53b836035fda0e782.jpg', 'extension': 'jpg'}, 1335083860: {'path': 'temp/1738903259_1886170_1335083860_767e1d62040c727a6933c6ee406073a6.jpg', 'extension': 'jpg'}, 1335083907: {'path': 'temp/1738903259_1886170_1335083907_151b3d75f9c018549ff2682658d68496.jpg', 'extension': 'jpg'}, 1335083909: {'path': 'temp/1738903259_1886170_1335083909_d8e8c9defdda1cad4e3529fb72d11a7d.jpg', 'extension': 'jpg'}, 1335083911: {'path': 'temp/1738903259_1886170_1335083911_47c0567ca74000b63ed19f664fbee61c.jpg', 'extension': 'jpg'}, 1335084038: {'path': 'temp/1738903259_1886170_1335084038_89c85d573d24c77fcd5287e594cf802d.jpg', 'extension': 'jpg'}, 1335084042: {'path': 'temp/1738903259_1886170_1335084042_e4f36ae2a2f90fb8121ce38abd271ea1.jpg', 'extension': 'jpg'}, 1335084045: {'path': 'temp/1738903259_1886170_1335084045_af313e8cf6291d736773f766c15191df.jpg', 'extension': 'jpg'}, 1335084049: {'path': 'temp/1738903259_1886170_1335084049_8bfac8307d33796ffa1a325c5e3ff7e9.jpg', 'extension': 'jpg'}, 1335084054: {'path': 'temp/1738903259_1886170_1335084054_831b25ab7dc0225e189b59459348cd22.jpg', 'extension': 'jpg'}, 1335084058: {'path': 'temp/1738903259_1886170_1335084058_abe592396820df268e25d87aca028166.jpg', 'extension': 'jpg'}, 1335084077: {'path': 'temp/1738903259_1886170_1335084077_ce434012d376118997de87f6f46d219a.jpg', 'extension': 'jpg'}, 1335084079: {'path': 'temp/1738903259_1886170_1335084079_43341727b20d86c5706d9d59aaef425c.jpg', 'extension': 'jpg'}, 1335083863: {'path': 'temp/1738903259_1886170_1335083863_bbf24a0b21ffb71a3bdd27ee58e2733d.jpg', 'extension': 'jpg'}, 1335083874: {'path': 'temp/1738903259_1886170_1335083874_eaba0431fe616f0fae75d8fab4d23f08.jpg', 'extension': 'jpg'}, 1335083879: {'path': 'temp/1738903259_1886170_1335083879_d26984cc0d297efacf808c0b11ddfde3.jpg', 'extension': 'jpg'}, 1335083880: {'path': 'temp/1738903259_1886170_1335083880_58c3f44b1216f9bb7a4d06fe20e9a1e6.jpg', 'extension': 'jpg'}, 1335083881: {'path': 'temp/1738903259_1886170_1335083881_b32d6b9beff065ea42f7a1dc5907f8da.jpg', 'extension': 'jpg'}, 1335083884: {'path': 'temp/1738903259_1886170_1335083884_023f464cb7f85aa3268ce75814890edf.jpg', 'extension': 'jpg'}, 1335083886: {'path': 'temp/1738903259_1886170_1335083886_b54b9cc363f70ff31246996393210dc7.jpg', 'extension': 'jpg'}, 1335083888: {'path': 'temp/1738903259_1886170_1335083888_e3f6976cc18eeccfe049d082bedf07f9.jpg', 'extension': 'jpg'}, 1335083896: {'path': 'temp/1738903259_1886170_1335083896_d038e04cf807b989e7c8c12ec11ed42e.jpg', 'extension': 'jpg'}, 1335083900: {'path': 'temp/1738903259_1886170_1335083900_f356a329309cf6d9f5fea465bc35f647.jpg', 'extension': 'jpg'}, 1335083905: {'path': 'temp/1738903259_1886170_1335083905_ce1ea313011f5bc8ef44e98cf89bb5e1.jpg', 'extension': 'jpg'}, 1335083491: {'path': 'temp/1738903259_1886170_1335083491_9e0c2ff96ed9268e139192b5d143a804.jpg', 'extension': 'jpg'}, 1335083570: {'path': 'temp/1738903259_1886170_1335083570_d7136e2dc351098d09a356593b119a19.jpg', 'extension': 'jpg'}, 1335083573: {'path': 'temp/1738903259_1886170_1335083573_9fb143bcf68c68fe2f43d24238edee26.jpg', 'extension': 'jpg'}, 1335083575: {'path': 'temp/1738903259_1886170_1335083575_ed4e7f026b124acabe1efcaec41442f9.jpg', 'extension': 'jpg'}, 1335083628: {'path': 'temp/1738903259_1886170_1335083628_ff7e11827b4ae2201221b83238007ebe.jpg', 'extension': 'jpg'}, 1335083687: {'path': 'temp/1738903259_1886170_1335083687_e5f346584760e5637d484d1e816d0793.jpg', 'extension': 'jpg'}, 1335083689: {'path': 'temp/1738903259_1886170_1335083689_622a0134cd4e7dfcb8aa873f615e2fec.jpg', 'extension': 'jpg'}, 1335083755: {'path': 'temp/1738903259_1886170_1335083755_a9152e757a7f3da99a0b072bffa5b81e.jpg', 'extension': 'jpg'}, 1335083758: {'path': 'temp/1738903259_1886170_1335083758_831dc9a9bfad3c0fab089a5008174378.jpg', 'extension': 'jpg'}, 1335083767: {'path': 'temp/1738903259_1886170_1335083767_4bcb90601b55f65a6e9f187abb79658c.jpg', 'extension': 'jpg'}, 1335083809: {'path': 'temp/1738903259_1886170_1335083809_665445b8aa9aeab17f0f88b9c15ebd6c.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 = 20316827; (('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 = 20316827 group by h (('00', 51),) 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=20316827 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 (20316827) 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 (20316827) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06022025 20316827 Nombre de photos uploadées : 51 / 23040 (0%) 06022025 20316827 Nombre de photos taguées (types de déchets): 0 / 51 (0%) 06022025 20316827 Nombre de photos taguées (volume) : 0 / 51 (0%) [{'photo_id': 1335083491, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/9e0c2ff96ed9268e139192b5d143a804.jpg', 'username': None, 'uploaded_at': 1738804527, 'text': 'image_06022025_00_45_04_10150.jpg'}, {'photo_id': 1335084135, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/abfeeda20cdf168c5dba2daee924c16f.jpg', 'username': None, 'uploaded_at': 1738804878, 'text': 'image_06022025_00_45_14_10136.jpg'}, {'photo_id': 1335084130, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/a7adf59d2729d5845383670584260fe5.jpg', 'username': None, 'uploaded_at': 1738804878, 'text': 'image_06022025_00_45_24_10137.jpg'}, {'photo_id': 1335084124, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/6/6c9784ad818cf1e38eab27b25d60bb65.jpg', 'username': None, 'uploaded_at': 1738804878, 'text': 'image_06022025_00_45_44_9137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022466182708740234 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20316827, '2025-02-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1581747,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03025197982788086 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= 1581747 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316824, 'dashboard_result_id': 8749968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316824_07-02-2025_05_34_34.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316825, 'dashboard_result_id': 8749969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316825_07-02-2025_05_35_04.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316826, 'dashboard_result_id': 8749970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316826_07-02-2025_05_35_31.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316827, 'dashboard_result_id': 8749971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_03_42_03.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20278854, 'dashboard_result_id': 8749972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_03_41_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20278856, 'dashboard_result_id': 8749973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_03_41_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20279015, 'dashboard_result_id': 8749974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_06-02-2025_02_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20279159, 'dashboard_result_id': 8749975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_06-02-2025_02_41_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20279384, 'dashboard_result_id': 8749976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_06-02-2025_02_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20280224, 'dashboard_result_id': 8749977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_06-02-2025_03_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20281066, 'dashboard_result_id': 8749978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_06-02-2025_03_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20281877, 'dashboard_result_id': 8749979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_06-02-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20282516, 'dashboard_result_id': 8749980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_06-02-2025_03_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20283028, 'dashboard_result_id': 8749981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_06-02-2025_04_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20283606, 'dashboard_result_id': 8749982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_06-02-2025_04_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20284556, 'dashboard_result_id': 8749983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_06-02-2025_04_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20285219, 'dashboard_result_id': 8749984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_06-02-2025_05_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20286053, 'dashboard_result_id': 8749985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_06-02-2025_05_34_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20286533, 'dashboard_result_id': 8749986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20286862, 'dashboard_result_id': 8749987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20287423, 'dashboard_result_id': 8749988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20288163, 'dashboard_result_id': 8749989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_06-02-2025_06_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20288603, 'dashboard_result_id': 8749990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_06-02-2025_06_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20289032, 'dashboard_result_id': 8749991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_06-02-2025_06_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20289745, 'dashboard_result_id': 8749992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_06-02-2025_07_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20290351, 'dashboard_result_id': 8749993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_06-02-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20290772, 'dashboard_result_id': 8749994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_06-02-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20291438, 'dashboard_result_id': 8749995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_06-02-2025_07_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20292165, 'dashboard_result_id': 8749996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_06-02-2025_08_03_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20292813, 'dashboard_result_id': 8749997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_06-02-2025_08_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20293389, 'dashboard_result_id': 8749998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_06-02-2025_08_33_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20293740, 'dashboard_result_id': 8749999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_06-02-2025_08_46_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20294672, 'dashboard_result_id': 8750000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_06-02-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316828, 'dashboard_result_id': 8750001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316828_07-02-2025_03_41_01.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316829, 'dashboard_result_id': 8750002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316829_07-02-2025_03_40_32.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316830, 'dashboard_result_id': 8750003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316830_07-02-2025_03_40_03.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316831, 'dashboard_result_id': 8750004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316831_07-02-2025_03_38_39.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316832, 'dashboard_result_id': 8750005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316832_07-02-2025_03_39_03.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316833, 'dashboard_result_id': 8750006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316833_07-02-2025_03_39_31.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316834, 'dashboard_result_id': 8750007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316834_07-02-2025_03_37_36.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316835, 'dashboard_result_id': 8750008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316835_07-02-2025_03_37_04.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20299387, 'dashboard_result_id': 8750009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299387_07-02-2025_03_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299417, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20299216, 'dashboard_result_id': 8750010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299216_06-02-2025_17_17_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20299279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299290, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20298776, 'dashboard_result_id': 8750011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_06-02-2025_17_15_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20298550, 'dashboard_result_id': 8750012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_06-02-2025_17_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20299457, 'dashboard_result_id': 8750013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_06-02-2025_17_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20300876, 'dashboard_result_id': 8750014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_06-02-2025_18_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20301677, 'dashboard_result_id': 8750015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_06-02-2025_18_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20302042, 'dashboard_result_id': 8750016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_06-02-2025_18_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20302815, 'dashboard_result_id': 8750017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_06-02-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20303438, 'dashboard_result_id': 8750018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_06-02-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20303638, 'dashboard_result_id': 8750019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_06-02-2025_19_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20304311, 'dashboard_result_id': 8750020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_06-02-2025_19_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20305090, 'dashboard_result_id': 8750021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_06-02-2025_20_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20305947, 'dashboard_result_id': 8750022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_06-02-2025_20_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20306665, 'dashboard_result_id': 8750023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_06-02-2025_20_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20307225, 'dashboard_result_id': 8750024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_06-02-2025_21_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20308646, 'dashboard_result_id': 8750025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_06-02-2025_21_16_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20309020, 'dashboard_result_id': 8750026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_06-02-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20309611, 'dashboard_result_id': 8750027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_06-02-2025_21_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20310329, 'dashboard_result_id': 8750028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_06-02-2025_22_16_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20311140, 'dashboard_result_id': 8750029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_06-02-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20312031, 'dashboard_result_id': 8750030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_06-02-2025_22_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20312714, 'dashboard_result_id': 8750031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, 'pht': 3726}}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316836, 'dashboard_result_id': 8750032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316836_07-02-2025_03_35_32.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316837, 'dashboard_result_id': 8750033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316837_07-02-2025_03_36_02.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316838, 'dashboard_result_id': 8750034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316838_07-02-2025_03_36_38.pdf'}"}, {'dashboat_entry_day': 1581747, 'dashboard_run_id': 1592390, 'mtr_portfolio_id': 20316839, 'dashboard_result_id': 8750035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316839_07-02-2025_03_34_30.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316824 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 = 20316824 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 = 20316824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316824 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 = 20316824 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 = 20316824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316824_07-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316824_07-02-2025_05_34_34.pdf'}" where mtr_portfolio_id = 20316824 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 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 = 20316825 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 = 20316825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316825 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 = 20316825 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 = 20316825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316825_07-02-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316825_07-02-2025_05_35_04.pdf'}" where mtr_portfolio_id = 20316825 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 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 = 20316826 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 = 20316826 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316826 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 = 20316826 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 = 20316826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316826_07-02-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316826_07-02-2025_05_35_31.pdf'}" where mtr_portfolio_id = 20316826 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 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 = 20316827 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 = 20316827 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316827 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 = 20316827 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 = 20316827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316827_07-02-2025_05_41_01.pdf'}" where mtr_portfolio_id = 20316827 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20278854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557323, 'mtr_portfolio_id': 20278854, 'created_at': datetime.datetime(2025, 2, 7, 3, 41, 5), 'result': '0.03888432239120224', 'result_long': None, 'result_double': None}] Qualite : 0.03888432239120224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20278854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_03_41_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20278854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_03_41_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, 'pht': 3726}}" where mtr_portfolio_id = 20278854 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20278854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749972, 0.03888432239120224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278854_07-02-2025_03_41_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278913, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20278856 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557324, 'mtr_portfolio_id': 20278856, 'created_at': datetime.datetime(2025, 2, 7, 3, 41, 30), 'result': '0.07774493339029574', 'result_long': None, 'result_double': None}] Qualite : 0.07774493339029574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20278856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_03_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20278856 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_03_41_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, 'pht': 3726}}" where mtr_portfolio_id = 20278856 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20278856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749973, 0.07774493339029574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20278856_07-02-2025_03_41_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20278931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20278932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20278933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20278934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20278935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20278936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20278937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20278938, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20278939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20278940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20278941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20278942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20279015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557331, 'mtr_portfolio_id': 20279015, 'created_at': datetime.datetime(2025, 2, 6, 2, 47, 30), 'result': '0.04954117668500577', 'result_long': None, 'result_double': None}] Qualite : 0.04954117668500577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_06-02-2025_02_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_06-02-2025_02_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, 'pht': 3726}}" where mtr_portfolio_id = 20279015 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20279015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749974, 0.04954117668500577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279015_06-02-2025_02_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20279096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279107, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20279159 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557341, 'mtr_portfolio_id': 20279159, 'created_at': datetime.datetime(2025, 2, 6, 2, 41, 5), 'result': '0.04048153135804388', 'result_long': None, 'result_double': None}] Qualite : 0.04048153135804388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279159 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_06-02-2025_02_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279159 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_06-02-2025_02_41_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, 'pht': 3726}}" where mtr_portfolio_id = 20279159 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20279159 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749975, 0.04048153135804388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279159_06-02-2025_02_41_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20279384 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557366, 'mtr_portfolio_id': 20279384, 'created_at': datetime.datetime(2025, 2, 6, 2, 48, 57), 'result': '0.04099537487181568', 'result_long': None, 'result_double': None}] Qualite : 0.04099537487181568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20279384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_06-02-2025_02_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20279384 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_06-02-2025_02_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, 'pht': 3726}}" where mtr_portfolio_id = 20279384 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20279384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749976, 0.04099537487181568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20279384_06-02-2025_02_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20279457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20279458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20279459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20279460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20279461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20279462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20279463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20279464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20279465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20279466, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20279467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20279468, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20280224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557481, 'mtr_portfolio_id': 20280224, 'created_at': datetime.datetime(2025, 2, 6, 3, 3), 'result': '0.04583758003179978', 'result_long': None, 'result_double': None}] Qualite : 0.04583758003179978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20280224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_06-02-2025_03_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20280224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_06-02-2025_03_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, 'pht': 3726}}" where mtr_portfolio_id = 20280224 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20280224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749977, 0.04583758003179978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20280224_06-02-2025_03_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20280267, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20280268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20280269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20280270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20280271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20280272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20280273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20280274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20280275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20280276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20280277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20280278, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20281066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557610, 'mtr_portfolio_id': 20281066, 'created_at': datetime.datetime(2025, 2, 6, 3, 19, 29), 'result': '0.05210777836038972', 'result_long': None, 'result_double': None}] Qualite : 0.05210777836038972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20281066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_06-02-2025_03_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20281066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_06-02-2025_03_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, 'pht': 3726}}" where mtr_portfolio_id = 20281066 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20281066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749978, 0.05210777836038972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281066_06-02-2025_03_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20281126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281130, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20281877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557658, 'mtr_portfolio_id': 20281877, 'created_at': datetime.datetime(2025, 2, 6, 3, 32, 58), 'result': '0.033981112216072154', 'result_long': None, 'result_double': None}] Qualite : 0.033981112216072154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20281877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_06-02-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20281877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_06-02-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, 'pht': 3726}}" where mtr_portfolio_id = 20281877 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20281877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749979, 0.033981112216072154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20281877_06-02-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20281906, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20281907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20281908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20281909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20281910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20281911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20281912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20281913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20281914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20281915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20281916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20281917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20282516 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557695, 'mtr_portfolio_id': 20282516, 'created_at': datetime.datetime(2025, 2, 6, 3, 49, 1), 'result': '0.06266008398847629', 'result_long': None, 'result_double': None}] Qualite : 0.06266008398847629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20282516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_06-02-2025_03_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20282516 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_06-02-2025_03_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, 'pht': 3726}}" where mtr_portfolio_id = 20282516 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20282516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749980, 0.06266008398847629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20282516_06-02-2025_03_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20282568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20282569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20282570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20282571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20282572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20282573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20282574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20282575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20282576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20282577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20282578, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20282579, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20283028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557731, 'mtr_portfolio_id': 20283028, 'created_at': datetime.datetime(2025, 2, 6, 4, 3, 30), 'result': '0.034869800985590435', 'result_long': None, 'result_double': None}] Qualite : 0.034869800985590435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20283028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_06-02-2025_04_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20283028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_06-02-2025_04_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, 'pht': 3726}}" where mtr_portfolio_id = 20283028 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20283028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749981, 0.034869800985590435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283028_06-02-2025_04_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283044, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283046, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20283606 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557776, 'mtr_portfolio_id': 20283606, 'created_at': datetime.datetime(2025, 2, 6, 4, 17), 'result': '0.040992556765897484', 'result_long': None, 'result_double': None}] Qualite : 0.040992556765897484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20283606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_06-02-2025_04_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20283606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_06-02-2025_04_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, 'pht': 3726}}" where mtr_portfolio_id = 20283606 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20283606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749982, 0.040992556765897484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20283606_06-02-2025_04_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20283666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20283667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20283668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20283669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20283670, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20283671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20283672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20283673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20283674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20283675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20283676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20283677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20284556 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557853, 'mtr_portfolio_id': 20284556, 'created_at': datetime.datetime(2025, 2, 6, 4, 32, 57), 'result': '0.05806768104778496', 'result_long': None, 'result_double': None}] Qualite : 0.05806768104778496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20284556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_06-02-2025_04_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20284556 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_06-02-2025_04_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, 'pht': 3726}}" where mtr_portfolio_id = 20284556 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20284556 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749983, 0.05806768104778496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20284556_06-02-2025_04_32_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20284586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20284587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20284588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20284589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20284590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20284591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20284592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20284593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20284594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20284595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20284596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20284597, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20285219 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2557898, 'mtr_portfolio_id': 20285219, 'created_at': datetime.datetime(2025, 2, 6, 5, 3, 1), 'result': '0.04522743915893965', 'result_long': None, 'result_double': None}] Qualite : 0.04522743915893965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20285219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_06-02-2025_05_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20285219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_06-02-2025_05_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, 'pht': 3726}}" where mtr_portfolio_id = 20285219 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20285219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749984, 0.04522743915893965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20285219_06-02-2025_05_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20285227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20285228, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20285229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20285230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20285231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20285232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20285233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20285234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20285235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20285236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20285237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20285238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20286053 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558062, 'mtr_portfolio_id': 20286053, 'created_at': datetime.datetime(2025, 2, 6, 5, 34, 31), 'result': '0.06948830870704756', 'result_long': None, 'result_double': None}] Qualite : 0.06948830870704756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_06-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_06-02-2025_05_34_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, 'pht': 3726}}" where mtr_portfolio_id = 20286053 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20286053 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749985, 0.06948830870704756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286053_06-02-2025_05_34_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286058, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286064, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286066, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20286533 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558063, 'mtr_portfolio_id': 20286533, 'created_at': datetime.datetime(2025, 2, 6, 5, 35, 29), 'result': '0.046791189441601384', 'result_long': None, 'result_double': None}] Qualite : 0.046791189441601384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286533 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}" where mtr_portfolio_id = 20286533 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20286533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749986, 0.046791189441601384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286533_06-02-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286537, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286547, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286548, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20286862 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558064, 'mtr_portfolio_id': 20286862, 'created_at': datetime.datetime(2025, 2, 6, 5, 47), 'result': '0.03997582434087976', 'result_long': None, 'result_double': None}] Qualite : 0.03997582434087976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20286862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286862 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}" where mtr_portfolio_id = 20286862 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20286862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749987, 0.03997582434087976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286862_06-02-2025_05_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20286868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20286869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20286870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20286871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20286872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20286873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20286874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20286875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20286876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20286877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20286878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20286879, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20287423 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558120, 'mtr_portfolio_id': 20287423, 'created_at': datetime.datetime(2025, 2, 6, 6, 2, 57), 'result': '0.05066019743638997', 'result_long': None, 'result_double': None}] Qualite : 0.05066019743638997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20287423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20287423 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}" where mtr_portfolio_id = 20287423 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20287423 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749988, 0.05066019743638997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20287423_06-02-2025_06_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20287430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20287431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20287432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20287433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20287434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20287435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20287436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20287437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20287438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20287439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20287440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20287441, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20288163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558185, 'mtr_portfolio_id': 20288163, 'created_at': datetime.datetime(2025, 2, 6, 6, 19, 30), 'result': '0.047718729199954894', 'result_long': None, 'result_double': None}] Qualite : 0.047718729199954894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20288163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_06-02-2025_06_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20288163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_06-02-2025_06_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, 'pht': 3726}}" where mtr_portfolio_id = 20288163 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20288163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749989, 0.047718729199954894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288163_06-02-2025_06_19_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20288603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558221, 'mtr_portfolio_id': 20288603, 'created_at': datetime.datetime(2025, 2, 6, 6, 35, 1), 'result': '0.058635985533099455', 'result_long': None, 'result_double': None}] Qualite : 0.058635985533099455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20288603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_06-02-2025_06_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20288603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_06-02-2025_06_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, 'pht': 3726}}" where mtr_portfolio_id = 20288603 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20288603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749990, 0.058635985533099455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20288603_06-02-2025_06_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20288632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20288633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20288634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20288635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20288636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20288637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20288638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20288639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20288640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20288641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20288642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20288643, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20289032 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558300, 'mtr_portfolio_id': 20289032, 'created_at': datetime.datetime(2025, 2, 6, 6, 46, 57), 'result': '0.04159714460298843', 'result_long': None, 'result_double': None}] Qualite : 0.04159714460298843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20289032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_06-02-2025_06_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20289032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_06-02-2025_06_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, 'pht': 3726}}" where mtr_portfolio_id = 20289032 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20289032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749991, 0.04159714460298843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289032_06-02-2025_06_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20289033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289042, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289043, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289044, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20289745 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558372, 'mtr_portfolio_id': 20289745, 'created_at': datetime.datetime(2025, 2, 6, 7, 3, 29), 'result': '0.045709068374573225', 'result_long': None, 'result_double': None}] Qualite : 0.045709068374573225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20289745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_06-02-2025_07_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20289745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_06-02-2025_07_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, 'pht': 3726}}" where mtr_portfolio_id = 20289745 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20289745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749992, 0.045709068374573225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20289745_06-02-2025_07_03_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20289787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20289788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20289789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20289791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20289792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20289793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20289794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20289795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20289796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20289797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20289798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20289799, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20290351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558458, 'mtr_portfolio_id': 20290351, 'created_at': datetime.datetime(2025, 2, 6, 7, 18, 59), 'result': '0.059361487642291676', 'result_long': None, 'result_double': None}] Qualite : 0.059361487642291676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20290351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_06-02-2025_07_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20290351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_06-02-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, 'pht': 3726}}" where mtr_portfolio_id = 20290351 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20290351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749993, 0.059361487642291676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290351_06-02-2025_07_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20290772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558503, 'mtr_portfolio_id': 20290772, 'created_at': datetime.datetime(2025, 2, 6, 7, 33, 1), 'result': '0.0435240475066284', 'result_long': None, 'result_double': None}] Qualite : 0.0435240475066284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20290772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_06-02-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20290772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_06-02-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, 'pht': 3726}}" where mtr_portfolio_id = 20290772 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20290772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749994, 0.0435240475066284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20290772_06-02-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20290823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20290824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20290825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20290826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20290827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20290828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20290829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20290830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20290831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20290832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20290833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20290834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20291438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558551, 'mtr_portfolio_id': 20291438, 'created_at': datetime.datetime(2025, 2, 6, 7, 49), 'result': '0.05197906708259936', 'result_long': None, 'result_double': None}] Qualite : 0.05197906708259936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20291438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_06-02-2025_07_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20291438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_06-02-2025_07_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, 'pht': 3726}}" where mtr_portfolio_id = 20291438 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20291438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749995, 0.05197906708259936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20291438_06-02-2025_07_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20291490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20291491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20291492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20291493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20291494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20291495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20291497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20291498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20291499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20291500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20291501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20292165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558596, 'mtr_portfolio_id': 20292165, 'created_at': datetime.datetime(2025, 2, 6, 8, 3, 3), 'result': '0.05883959624759791', 'result_long': None, 'result_double': None}] Qualite : 0.05883959624759791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20292165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_06-02-2025_08_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20292165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_06-02-2025_08_03_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, 'pht': 3726}}" where mtr_portfolio_id = 20292165 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20292165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749996, 0.05883959624759791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292165_06-02-2025_08_03_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20292813 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558678, 'mtr_portfolio_id': 20292813, 'created_at': datetime.datetime(2025, 2, 6, 8, 18, 59), 'result': '0.052916176377447124', 'result_long': None, 'result_double': None}] Qualite : 0.052916176377447124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20292813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_06-02-2025_08_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20292813 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_06-02-2025_08_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, 'pht': 3726}}" where mtr_portfolio_id = 20292813 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20292813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749997, 0.052916176377447124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20292813_06-02-2025_08_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20292868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20292869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20292870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20292871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20292872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20292873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20292874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20292875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20292876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20292877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20292878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20292879, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20293389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558719, 'mtr_portfolio_id': 20293389, 'created_at': datetime.datetime(2025, 2, 6, 8, 33, 28), 'result': '0.03649676263827339', 'result_long': None, 'result_double': None}] Qualite : 0.03649676263827339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20293389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_06-02-2025_08_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20293389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_06-02-2025_08_33_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, 'pht': 3726}}" where mtr_portfolio_id = 20293389 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20293389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749998, 0.03649676263827339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293389_06-02-2025_08_33_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293425, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293429, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20293740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558801, 'mtr_portfolio_id': 20293740, 'created_at': datetime.datetime(2025, 2, 6, 8, 46, 57), 'result': '0.03775953704358616', 'result_long': None, 'result_double': None}] Qualite : 0.03775953704358616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20293740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_06-02-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20293740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_06-02-2025_08_46_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, 'pht': 3726}}" where mtr_portfolio_id = 20293740 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20293740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8749999, 0.03775953704358616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20293740_06-02-2025_08_46_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20293771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20293772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20293773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20293774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20293775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20293776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20293777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20293778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20293779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20293780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20293781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20293782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20294672 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2558928, 'mtr_portfolio_id': 20294672, 'created_at': datetime.datetime(2025, 2, 6, 9, 3), 'result': '0.04793097063469584', 'result_long': None, 'result_double': None}] Qualite : 0.04793097063469584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20294672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_06-02-2025_09_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20294672 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_06-02-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, 'pht': 3726}}" where mtr_portfolio_id = 20294672 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20294672 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750000, 0.04793097063469584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20294672_06-02-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20294678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20294679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20294680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20294681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20294682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20294683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20294684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20294685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20294686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20294687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20294688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20294689, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316828 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 = 20316828 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 = 20316828 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316828 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 = 20316828 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 = 20316828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316828_07-02-2025_03_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316828_07-02-2025_03_41_01.pdf'}" where mtr_portfolio_id = 20316828 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 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 = 20316829 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 = 20316829 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316829 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 = 20316829 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 = 20316829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316829_07-02-2025_03_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316829_07-02-2025_03_40_32.pdf'}" where mtr_portfolio_id = 20316829 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 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 = 20316830 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 = 20316830 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316830 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 = 20316830 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 = 20316830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316830_07-02-2025_03_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316830_07-02-2025_03_40_03.pdf'}" where mtr_portfolio_id = 20316830 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 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 = 20316831 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 = 20316831 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316831 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 = 20316831 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 = 20316831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316831_07-02-2025_03_38_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316831_07-02-2025_03_38_39.pdf'}" where mtr_portfolio_id = 20316831 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 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 = 20316832 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 = 20316832 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316832 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 = 20316832 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 = 20316832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316832_07-02-2025_03_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316832 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316832_07-02-2025_03_39_03.pdf'}" where mtr_portfolio_id = 20316832 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 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 = 20316833 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 = 20316833 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316833 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 = 20316833 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 = 20316833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316833_07-02-2025_03_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316833_07-02-2025_03_39_31.pdf'}" where mtr_portfolio_id = 20316833 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 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 = 20316834 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 = 20316834 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316834 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 = 20316834 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 = 20316834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316834_07-02-2025_03_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316834 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316834_07-02-2025_03_37_36.pdf'}" where mtr_portfolio_id = 20316834 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 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 = 20316835 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 = 20316835 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316835 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 = 20316835 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 = 20316835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316835_07-02-2025_03_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316835_07-02-2025_03_37_04.pdf'}" where mtr_portfolio_id = 20316835 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 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 = 20299387 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 = 20299387 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299387 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 = 20299387 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 = 20299387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299387_07-02-2025_03_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299387_07-02-2025_03_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299417, 'pht': 3726}}" where mtr_portfolio_id = 20299387 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299216 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 = 20299216 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 = 20299216 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299216 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 = 20299216 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 = 20299216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299216_06-02-2025_17_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299216_06-02-2025_17_17_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20299279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299290, 'pht': 3726}}" where mtr_portfolio_id = 20299216 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20298776 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559420, 'mtr_portfolio_id': 20298776, 'created_at': datetime.datetime(2025, 2, 6, 17, 15, 27), 'result': '0.028696965278399236', 'result_long': None, 'result_double': None}] Qualite : 0.028696965278399236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20298776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_06-02-2025_17_15_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20298776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_06-02-2025_17_15_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, 'pht': 3726}}" where mtr_portfolio_id = 20298776 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20298776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750011, 0.028696965278399236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298776_06-02-2025_17_15_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20298791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20298550 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559407, 'mtr_portfolio_id': 20298550, 'created_at': datetime.datetime(2025, 2, 6, 17, 18, 57), 'result': '0.0394195583777233', 'result_long': None, 'result_double': None}] Qualite : 0.0394195583777233 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20298550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_06-02-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20298550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_06-02-2025_17_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, 'pht': 3726}}" where mtr_portfolio_id = 20298550 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20298550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750012, 0.0394195583777233, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20298550_06-02-2025_17_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20298563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20298564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20298565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20298566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20298567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20298568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20298569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20298570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20298571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20298572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20298573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20298574, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20299457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559499, 'mtr_portfolio_id': 20299457, 'created_at': datetime.datetime(2025, 2, 6, 17, 32, 59), 'result': '0.027629300254894146', 'result_long': None, 'result_double': None}] Qualite : 0.027629300254894146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20299457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_06-02-2025_17_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20299457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_06-02-2025_17_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, 'pht': 3726}}" where mtr_portfolio_id = 20299457 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20299457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750013, 0.027629300254894146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20299457_06-02-2025_17_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20299490, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20299491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20299492, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20299493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20299494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20299495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20299497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20299498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20299499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20299500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20299501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20299502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20300876 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559678, 'mtr_portfolio_id': 20300876, 'created_at': datetime.datetime(2025, 2, 6, 18, 16, 56), 'result': '0.05259099262042493', 'result_long': None, 'result_double': None}] Qualite : 0.05259099262042493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20300876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_06-02-2025_18_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20300876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_06-02-2025_18_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, 'pht': 3726}}" where mtr_portfolio_id = 20300876 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20300876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750014, 0.05259099262042493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20300876_06-02-2025_18_16_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20300881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20300882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20300883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20300884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20300885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20300886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20300887, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20300888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20300889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20300890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20300891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20300892, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20301677 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559761, 'mtr_portfolio_id': 20301677, 'created_at': datetime.datetime(2025, 2, 6, 18, 32, 59), 'result': '0.04311734899617192', 'result_long': None, 'result_double': None}] Qualite : 0.04311734899617192 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20301677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_06-02-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20301677 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_06-02-2025_18_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, 'pht': 3726}}" where mtr_portfolio_id = 20301677 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20301677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750015, 0.04311734899617192, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20301677_06-02-2025_18_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20301720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20301721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20301722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20301723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20301724, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20301725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20301726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20301727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20301728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20301729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20301730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20301731, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20302042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559804, 'mtr_portfolio_id': 20302042, 'created_at': datetime.datetime(2025, 2, 6, 18, 46, 59), 'result': '0.037689268361030974', 'result_long': None, 'result_double': None}] Qualite : 0.037689268361030974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20302042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_06-02-2025_18_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20302042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_06-02-2025_18_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, 'pht': 3726}}" where mtr_portfolio_id = 20302042 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20302042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750016, 0.037689268361030974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302042_06-02-2025_18_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20302815 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559865, 'mtr_portfolio_id': 20302815, 'created_at': datetime.datetime(2025, 2, 6, 19, 2, 58), 'result': '0.04361191052692809', 'result_long': None, 'result_double': None}] Qualite : 0.04361191052692809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20302815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_06-02-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20302815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_06-02-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, 'pht': 3726}}" where mtr_portfolio_id = 20302815 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20302815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750017, 0.04361191052692809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20302815_06-02-2025_19_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20302818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20302819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20302820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20302821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20302822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20302823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20302824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20302825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20302826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20302827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20302828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20302829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20303438 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559929, 'mtr_portfolio_id': 20303438, 'created_at': datetime.datetime(2025, 2, 6, 19, 16, 59), 'result': '0.10824199207156028', 'result_long': None, 'result_double': None}] Qualite : 0.10824199207156028 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20303438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_06-02-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20303438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_06-02-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, 'pht': 3726}}" where mtr_portfolio_id = 20303438 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20303438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750018, 0.10824199207156028, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303438_06-02-2025_19_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303464, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20303638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559951, 'mtr_portfolio_id': 20303638, 'created_at': datetime.datetime(2025, 2, 6, 19, 33), 'result': '0.07019858386555666', 'result_long': None, 'result_double': None}] Qualite : 0.07019858386555666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20303638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_06-02-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20303638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_06-02-2025_19_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, 'pht': 3726}}" where mtr_portfolio_id = 20303638 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20303638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750019, 0.07019858386555666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20303638_06-02-2025_19_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20303645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20303646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20303647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20303648, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20303649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20303650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20303651, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20303652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20303653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20303655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20303660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20303666, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20304311 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2559989, 'mtr_portfolio_id': 20304311, 'created_at': datetime.datetime(2025, 2, 6, 19, 49, 1), 'result': '0.05273682362219216', 'result_long': None, 'result_double': None}] Qualite : 0.05273682362219216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20304311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_06-02-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20304311 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_06-02-2025_19_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, 'pht': 3726}}" where mtr_portfolio_id = 20304311 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20304311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750020, 0.05273682362219216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20304311_06-02-2025_19_49_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20304331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20304332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20304333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20304334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20304335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20304336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20304337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20304338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20304339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20304340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20304341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20304342, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20305090 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560063, 'mtr_portfolio_id': 20305090, 'created_at': datetime.datetime(2025, 2, 6, 20, 2, 58), 'result': '0.05500049867831724', 'result_long': None, 'result_double': None}] Qualite : 0.05500049867831724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20305090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_06-02-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20305090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_06-02-2025_20_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, 'pht': 3726}}" where mtr_portfolio_id = 20305090 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20305090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750021, 0.05500049867831724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305090_06-02-2025_20_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305107, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20305947 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560147, 'mtr_portfolio_id': 20305947, 'created_at': datetime.datetime(2025, 2, 6, 20, 16, 59), 'result': '0.048289086441097355', 'result_long': None, 'result_double': None}] Qualite : 0.048289086441097355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20305947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_06-02-2025_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20305947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_06-02-2025_20_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, 'pht': 3726}}" where mtr_portfolio_id = 20305947 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20305947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750022, 0.048289086441097355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20305947_06-02-2025_20_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20305976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20305977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20305978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20305979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20305980, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20305981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20305982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20305983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20305984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20305985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20305986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20305987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20306665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560202, 'mtr_portfolio_id': 20306665, 'created_at': datetime.datetime(2025, 2, 6, 20, 32, 58), 'result': '0.050000146392156594', 'result_long': None, 'result_double': None}] Qualite : 0.050000146392156594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20306665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_06-02-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20306665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_06-02-2025_20_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, 'pht': 3726}}" where mtr_portfolio_id = 20306665 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20306665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750023, 0.050000146392156594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20306665_06-02-2025_20_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20306718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20306719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20306720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20306721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20306722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20306723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20306724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20306725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20306726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20306727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20306728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20306729, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20307225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560240, 'mtr_portfolio_id': 20307225, 'created_at': datetime.datetime(2025, 2, 6, 21, 4, 59), 'result': '0.02993950492534474', 'result_long': None, 'result_double': None}] Qualite : 0.02993950492534474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20307225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_06-02-2025_21_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20307225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_06-02-2025_21_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, 'pht': 3726}}" where mtr_portfolio_id = 20307225 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20307225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750024, 0.02993950492534474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20307225_06-02-2025_21_05_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20307330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20307331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20307332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20307333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20307334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20307335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20307336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20307337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20307338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20307339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20307340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20307341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20308646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560369, 'mtr_portfolio_id': 20308646, 'created_at': datetime.datetime(2025, 2, 6, 21, 16, 31), 'result': '0.07539889215117791', 'result_long': None, 'result_double': None}] Qualite : 0.07539889215117791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20308646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_06-02-2025_21_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20308646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_06-02-2025_21_16_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, 'pht': 3726}}" where mtr_portfolio_id = 20308646 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20308646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750025, 0.07539889215117791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20308646_06-02-2025_21_16_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20308685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20308686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20308687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20308688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20308689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20308690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20308691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20308692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20308693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20308694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20308695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20308696, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20309020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560388, 'mtr_portfolio_id': 20309020, 'created_at': datetime.datetime(2025, 2, 6, 21, 32, 58), 'result': '0.0374027234116697', 'result_long': None, 'result_double': None}] Qualite : 0.0374027234116697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20309020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_06-02-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20309020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_06-02-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, 'pht': 3726}}" where mtr_portfolio_id = 20309020 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20309020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750026, 0.0374027234116697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309020_06-02-2025_21_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309058, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20309611 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560440, 'mtr_portfolio_id': 20309611, 'created_at': datetime.datetime(2025, 2, 6, 21, 48, 59), 'result': '0.03137936633814062', 'result_long': None, 'result_double': None}] Qualite : 0.03137936633814062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20309611 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_06-02-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20309611 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_06-02-2025_21_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, 'pht': 3726}}" where mtr_portfolio_id = 20309611 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20309611 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750027, 0.03137936633814062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20309611_06-02-2025_21_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20309615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20309616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20309617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20309618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20309619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20309620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20309621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20309622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20309623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20309624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20309625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20309626, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20310329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560477, 'mtr_portfolio_id': 20310329, 'created_at': datetime.datetime(2025, 2, 6, 22, 16, 30), 'result': '0.056010128091721', 'result_long': None, 'result_double': None}] Qualite : 0.056010128091721 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20310329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_06-02-2025_22_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20310329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_06-02-2025_22_16_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, 'pht': 3726}}" where mtr_portfolio_id = 20310329 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20310329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750028, 0.056010128091721, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20310329_06-02-2025_22_16_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20310357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20310358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20310359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20310360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20310361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20310362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20310363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20310364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20310365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20310366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20310367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20310368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20311140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560569, 'mtr_portfolio_id': 20311140, 'created_at': datetime.datetime(2025, 2, 6, 22, 32, 58), 'result': '0.039632292247959305', 'result_long': None, 'result_double': None}] Qualite : 0.039632292247959305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20311140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_06-02-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20311140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_06-02-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, 'pht': 3726}}" where mtr_portfolio_id = 20311140 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20311140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750029, 0.039632292247959305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20311140_06-02-2025_22_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20311173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20311174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20311175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20311176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20311178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20311179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20311180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20311181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20311182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20311183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20311184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20311185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20312031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560676, 'mtr_portfolio_id': 20312031, 'created_at': datetime.datetime(2025, 2, 6, 22, 46, 30), 'result': '0.034291733501907624', 'result_long': None, 'result_double': None}] Qualite : 0.034291733501907624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20312031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_06-02-2025_22_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20312031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_06-02-2025_22_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, 'pht': 3726}}" where mtr_portfolio_id = 20312031 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20312031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750030, 0.034291733501907624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312031_06-02-2025_22_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20312066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20312714 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2560720, 'mtr_portfolio_id': 20312714, 'created_at': datetime.datetime(2025, 2, 7, 3, 35, 1), 'result': '0.046725085590333386', 'result_long': None, 'result_double': None}] Qualite : 0.046725085590333386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20312714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20312714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, 'pht': 3726}}" where mtr_portfolio_id = 20312714 and dashboard_run_id = 1592390 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20312714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8750031, 0.046725085590333386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20312714_07-02-2025_03_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20312716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20312717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20312718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20312719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20312720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20312721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20312722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20312723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20312724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20312725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20312726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20312727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316836 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 = 20316836 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 = 20316836 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316836 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 = 20316836 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 = 20316836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316836_07-02-2025_03_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316836_07-02-2025_03_35_32.pdf'}" where mtr_portfolio_id = 20316836 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 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 = 20316837 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 = 20316837 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316837 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 = 20316837 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 = 20316837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316837_07-02-2025_03_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316837_07-02-2025_03_36_02.pdf'}" where mtr_portfolio_id = 20316837 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 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 = 20316838 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 = 20316838 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316838 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 = 20316838 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 = 20316838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316838_07-02-2025_03_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316838_07-02-2025_03_36_38.pdf'}" where mtr_portfolio_id = 20316838 and dashboard_run_id = 1592390 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 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 = 20316839 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 = 20316839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20316839 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 = 20316839 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 = 20316839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316839_07-02-2025_03_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20316839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20316839_07-02-2025_03_34_30.pdf'}" where mtr_portfolio_id = 20316839 and dashboard_run_id = 1592390 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20316824,20316825,20316826,20316827,20278854,20278856,20279015,20279159,20279384,20280224,20281066,20281877,20282516,20283028,20283606,20284556,20285219,20286053,20286533,20286862,20287423,20288163,20288603,20289032,20289745,20290351,20290772,20291438,20292165,20292813,20293389,20293740,20294672,20316828,20316829,20316830,20316831,20316832,20316833,20316834,20316835,20299387,20299216,20298776,20298550,20299457,20300876,20301677,20302042,20302815,20303438,20303638,20304311,20305090,20305947,20306665,20307225,20308646,20309020,20309611,20310329,20311140,20312031,20312714,20316836,20316837,20316838,20316839) result : ((1335076055,), (1335084306,), (1335084309,), (1335084367,), (1335084370,), (1335084389,), (1335084409,), (1335084428,), (1335084436,), (1335084603,), (1335084607,), (1335084680,), (1335084768,), (1335084941,), (1335085076,), (1335085551,), (1335085689,), (1335085752,), (1335085828,), (1335085840,), (1335085848,), (1335085951,), (1335085954,), (1335086003,), (1335086007,), (1335086073,), (1335086079,), (1335086117,), (1335086118,), (1335086247,), (1335086263,), (1335086275,), (1335086281,), (1335092886,), (1335093029,), (1335093033,), (1335093035,), (1335093038,), (1335093041,), (1335093042,), (1335093044,), (1335093063,), (1335093068,), (1335093071,), (1335093072,), (1335093073,), (1335093077,), (1335093078,), (1335093080,), (1335093976,), (1335093978,), (1335093980,), (1335093981,), (1335093982,), (1335093983,), (1335094045,), (1335094050,), (1335094055,), (1335094057,), (1335094058,), (1335094088,), (1335094102,), (1335094212,), (1335094785,), (1335094872,), (1335094888,), (1335094916,), (1335094917,), (1335094919,), (1335094943,), (1335094954,), (1335094958,), (1335094962,), (1335094973,), (1335086494,), (1335086561,), (1335086565,), (1335086613,), (1335086615,), (1335086708,), (1335087281,), (1335087336,), (1335087366,), (1335087368,), (1335087372,), (1335087373,), (1335087632,), (1335087640,), (1335087648,), (1335087730,), (1335087764,), (1335087780,), (1335087986,), (1335088011,), (1335088012,), (1335088015,), (1335088018,), (1335088021,), (1335092387,), (1335092388,), (1335092389,), (1335092390,), (1335092397,), (1335092456,), (1335092559,), (1335092571,), (1335092705,), (1335092712,), (1335092725,), (1335092748,), (1335092768,), (1335092772,), (1335092790,), (1335092795,), (1335092796,), (1335092797,), (1335092800,), (1335092803,), (1335092804,), (1335092819,), (1335092822,), (1335092823,), (1335092824,), (1335092829,), (1335092834,), (1335092835,), (1335092849,), (1335092851,), (1335092853,), (1335092857,), (1335092858,), (1335092859,), (1335092860,), (1335092867,), (1335077989,), (1335082355,), (1335088092,), (1335088099,), (1335088140,), (1335088156,), (1335088256,), (1335088340,), (1335088375,), (1335088378,), (1335088380,), (1335088396,), (1335088398,), (1335088399,), (1335088401,), (1335088404,), (1335088408,), (1335088416,), (1335088426,), (1335088434,), (1335088450,), (1335088451,), (1335088456,), (1335088459,), (1335088462,), (1335088466,), (1335089740,), (1335089757,), (1335089761,), (1335089784,), (1335089827,), (1335089829,), (1335090048,), (1335090049,), (1335090609,), (1335090717,), (1335090921,), (1335090923,), (1335090925,), (1335090926,), (1335090927,), (1335090928,), (1335090953,), (1335091069,), (1335091071,), (1335091152,), (1335091317,), (1335091452,), (1335091520,), (1335091760,), (1335091762,), (1335091769,), (1335091771,), (1335091808,), (1335091810,), (1335091811,), (1335091816,), (1335092376,), (1335088485,), (1335088486,), (1335088489,), (1335088490,), (1335088493,), (1335088494,), (1335088497,), (1335088498,), (1335088501,), (1335088502,), (1335088505,), (1335088506,), (1335088512,), (1335088513,), (1335088514,), (1335088515,), (1335088518,), (1335088519,), (1335088532,), (1335088534,), (1335088535,), (1335088541,), (1335088542,), (1335088543,), (1335088551,), (1335088598,), (1335088790,), (1335088797,), (1335088839,), (1335088850,), (1335088856,), (1335088887,), (1335088982,), (1335088993,), (1335088996,), (1335088998,), (1335088999,), (1335089000,), (1335089001,), (1335089009,), (1335089013,), (1335089016,), (1335089021,), (1335089023,), (1335089024,), (1335089025,), (1335089026,), (1335089030,), (1335089071,), (1335089072,), (1335089074,), (1335089075,), (1335089091,), (1335089093,), (1335089095,), (1335089097,), (1335089098,), (1335089099,), (1335089123,), (1335089135,), (1335089137,), (1335089154,), (1335089159,), (1335089167,), (1335089169,), (1335089583,), (1335088544,), (1335088545,), (1335088547,), (1335088549,), (1335088932,), (1335088935,), (1335088939,), (1335088953,), (1335088959,), (1335088961,), (1335088968,), (1335088972,), (1335088975,), (1335088977,), (1335088979,), (1335089003,), (1335089004,), (1335089006,), (1335089037,), (1335089043,), (1335089052,), (1335089055,), (1335089065,), (1335089066,), (1335089068,), (1335089069,), (1335089077,), (1335089078,), (1335089079,), (1335089080,), (1335089082,), (1335089083,), (1335089102,), (1335089103,), (1335089109,), (1335089111,), (1335089113,), (1335089409,), (1335089483,), (1335089545,), (1335089550,), (1335089560,), (1335089905,), (1335089915,), (1335089987,), (1335090014,), (1335090037,), (1335090039,), (1335090041,), (1335090042,), (1335090045,), (1335090046,), (1335090051,), (1335090171,), (1335090306,), (1335090459,), (1335090935,), (1335090939,), (1335090942,), (1335090945,), (1335090948,), (1335091576,), (1335091577,), (1335091580,), (1335091582,), (1335091584,), (1335091585,), (1335091588,), (1335091589,), (1335091592,), (1335091593,), (1335091600,), (1335091601,), (1335091750,), (1335091751,), (1335091753,), (1335091757,), (1335091948,), (1335092029,), (1335092066,), (1335092167,), (1335092326,), (1335092478,), (1335092479,), (1335092487,), (1335092489,), (1335092492,), (1335092495,), (1335092522,), (1335092523,), (1335092530,), (1335092531,), (1335092536,), (1335092537,), (1335092545,), (1335092542,), (1335092543,), (1335092544,), (1335092773,), (1335092775,), (1335092781,), (1335092784,), (1335092787,), (1335092806,), (1335092808,), (1335092811,), (1335092814,), (1335092817,), (1335092841,), (1335092843,), (1335092846,), (1335092909,), (1335092910,), (1335092913,), (1335092914,), (1335092917,), (1335092918,), (1335092921,), (1335092922,), (1335092925,), (1335092926,), (1335092928,), (1335092930,), (1335092983,), (1335093016,), (1335093019,), (1335093022,), (1335093026,), (1335093048,), (1335093050,), (1335093053,), (1335093055,), (1335093090,), (1335093091,), (1335093093,), (1335093095,), (1335093097,), (1335093099,), (1335093104,), (1335093105,), (1335093124,), (1335093252,), (1335093409,), (1335093559,), (1335094014,), (1335094024,), (1335094032,), (1335094041,), (1335094521,), (1335094523,), (1335094527,), (1335094574,), (1335094626,), (1335094666,), (1335094975,), (1335094976,), (1335095031,), (1335095153,), (1335095400,), (1335095403,), (1335095405,), (1335095455,), (1335095457,), (1335095459,), (1335095500,), (1335095485,), (1335095488,), (1335095490,), (1335095494,), (1335095756,), (1335095759,), (1335095761,), (1335095763,), (1335095765,), (1335095770,), (1335095790,), (1335095792,), (1335095795,), (1335095834,), (1335095835,), (1335095841,), (1335095842,), (1335095844,), (1335095845,), (1335095846,), (1335095847,), (1335095848,), (1335095849,), (1335095853,), (1335095854,), (1335095855,), (1335095856,), (1335095967,), (1335096124,), (1335096529,), (1335096555,), (1335096584,), (1335096660,), (1335096680,), (1335096721,), (1335097067,), (1335097069,), (1335097072,), (1335097441,), (1335097443,), (1335097444,), (1335097445,), (1335097446,), (1335097447,), (1335097448,), (1335097449,), (1335097450,), (1335097453,), (1335097455,), (1335097488,), (1335097501,), (1335097507,), (1335097509,), (1335097510,), (1335097624,), (1335097653,), (1335097664,), (1335097678,), (1335097679,), (1335097683,), (1335097696,), (1335097698,), (1335097700,), (1335097702,), (1335097727,), (1335097737,), (1335097739,), (1335097744,), (1335097748,), (1335097750,), (1335097770,), (1335097771,), (1335097777,), (1335097779,), (1335097785,), (1335097786,), (1335097788,), (1335097790,), (1335097797,), (1335097808,), (1335097814,), (1335097815,), (1335097936,), (1335097833,), (1335097834,), (1335097846,), (1335097901,), (1335098012,), (1335098015,), (1335098017,), (1335098019,), (1335098025,), (1335098035,), (1335098036,), (1335098096,), (1335098156,), (1335098161,), (1335098164,), (1335098196,), (1335098327,), (1335098460,), (1335098860,), (1335098890,), (1335098908,), (1335098933,), (1335098942,), (1335098943,), (1335098944,), (1335098946,), (1335098948,), (1335098950,), (1335098993,), (1335099019,), (1335099081,), (1335099143,), (1335099209,), (1335099274,), (1335099762,), (1335099789,), (1335099796,), (1335099801,), (1335099968,), (1335099969,), (1335099970,), (1335099972,), (1335099976,), (1335099983,), (1335100003,), (1335100005,), (1335100007,), (1335100010,), (1335100032,), (1335100095,), (1335100130,), (1335100151,), (1335100161,), (1335100179,), (1335100220,), (1335100222,), (1335100224,), (1335100226,), (1335100228,), (1335100230,), (1335100233,), (1335100234,), (1335100295,), (1335100311,), (1335100313,), (1335100362,), (1335100372,), (1335100378,), (1335100457,), (1335100459,), (1335100461,), (1335100490,), (1335100619,), (1335100624,), (1335100660,), (1335100664,), (1335100666,), (1335100699,), (1335100683,), (1335100684,), (1335100686,), (1335100689,), (1335100696,), (1335100933,), (1335100951,), (1335100984,), (1335100988,), (1335101019,), (1335101020,), (1335101031,), (1335101033,), (1335101034,), (1335101035,), (1335101036,), (1335101037,), (1335101038,), (1335101039,), (1335101056,), (1335101063,), (1335101068,), (1335101069,), (1335101070,), (1335101076,), (1335101081,), (1335101083,), (1335101087,), (1335101121,), (1335101159,), (1335101160,), (1335101163,), (1335101166,), (1335101414,), (1335101416,), (1335101466,), (1335101487,), (1335101489,), (1335101523,), (1335101594,), (1335101605,), (1335101613,), (1335101615,), (1335102390,), (1335102392,), (1335102397,), (1335102402,), (1335102404,), (1335102405,), (1335102823,), (1335102835,), (1335102836,), (1335102837,), (1335103094,), (1335103101,), (1335103116,), (1335103260,), (1335103269,), (1335103293,), (1335103322,), (1335103414,), (1335103488,), (1335103545,), (1335103547,), (1335103572,), (1335103575,), (1335103579,), (1335103582,), (1335103585,), (1335103588,), (1335103602,), (1335103605,), (1335103607,), (1335103956,), (1335103958,), (1335103986,), (1335104011,), (1335104031,), (1335104260,), (1335104081,), (1335104090,), (1335104091,), (1335104166,), (1335104436,), (1335104437,), (1335104438,), (1335104509,), (1335104571,), (1335104572,), (1335104574,), (1335104576,), (1335104595,), (1335104597,), (1335104601,), (1335104605,), (1335104612,), (1335104646,), (1335104648,), (1335104653,), (1335104655,), (1335104692,), (1335104693,), (1335104695,), (1335104697,), (1335104699,), (1335104724,), (1335104725,), (1335104728,), (1335104730,), (1335104731,), (1335104733,), (1335104734,), (1335104736,), (1335104737,), (1335104738,), (1335104739,), (1335104740,), (1335104745,), (1335104773,), (1335104844,), (1335105073,), (1335105079,), (1335105083,), (1335105107,), (1335105157,), (1335105158,), (1335105264,), (1335105267,), (1335105269,), (1335105271,), (1335105273,), (1335105377,), (1335105379,), (1335105400,), (1335105507,), (1335105516,), (1335105524,), (1335105530,), (1335105534,), (1335105542,), (1335105588,), (1335105579,), (1335105581,), (1335105584,), (1335105585,), (1335105667,), (1335105818,), (1335105912,), (1335106065,), (1335106235,), (1335106303,), (1335106487,), (1335106652,), (1335106667,), (1335106829,), (1335106832,), (1335106834,), (1335106836,), (1335106840,), (1335106942,), (1335106944,), (1335106946,), (1335106947,), (1335106950,), (1335106968,), (1335106972,), (1335106975,), (1335106983,), (1335107043,), (1335107045,), (1335107047,), (1335107050,), (1335107053,), (1335107056,), (1335107155,), (1335107158,), (1335107160,), (1335107162,), (1335107601,), (1335107603,), (1335107605,), (1335107662,), (1335107723,), (1335107906,), (1335107953,), (1335108172,), (1335108692,), (1335108854,), (1335109127,), (1335109121,), (1335109123,), (1335109125,), (1335109346,), (1335109386,), (1335109388,), (1335109438,), (1335109440,), (1335109442,), (1335109444,), (1335109447,), (1335109449,), (1335110066,), (1335110068,), (1335110070,), (1335110072,), (1335110075,), (1335110077,), (1335110283,), (1335110327,), (1335110329,), (1335110331,), (1335110333,), (1335110335,), (1335110362,), (1335110369,), (1335110422,), (1335110425,), (1335110682,), (1335110745,), (1335110764,), (1335110801,), (1335110842,), (1335110998,), (1335111010,), (1335111013,), (1335111020,), (1335111043,), (1335111046,), (1335111049,), (1335111053,), (1335111055,), (1335111088,), (1335111091,), (1335111092,), (1335111095,), (1335111098,), (1335111100,), (1335111708,), (1335111777,), (1335111849,), (1335111906,), (1335112055,), (1335112091,), (1335112135,), (1335112149,), (1335112152,), (1335112156,), (1335112270,), (1335112272,), (1335112278,), (1335112665,), (1335112670,), (1335112672,), (1335112686,), (1335112690,), (1335112737,), (1335112728,), (1335112731,), (1335112732,), (1335112734,), (1335112924,), (1335112968,), (1335112970,), (1335112987,), (1335112989,), (1335113027,), (1335113048,), (1335113049,), (1335113050,), (1335113051,), (1335113077,), (1335113079,), (1335113081,), (1335113083,), (1335113104,), (1335113106,), (1335113109,), (1335113114,), (1335113121,), (1335113143,), (1335113147,), (1335113150,), (1335113178,), (1335113180,), (1335113181,), (1335113183,), (1335113186,), (1335113189,), (1335113228,), (1335113230,), (1335113232,), (1335113253,), (1335113273,), (1335113279,), (1335113283,), (1335113285,), (1335113289,), (1335113372,), (1335113374,), (1335113421,), (1335113423,), (1335113425,), (1335113427,), (1335113430,), (1335118026,), (1335118609,), (1335118636,), (1335118663,), (1335118821,), (1335119171,), (1335119174,), (1335119176,), (1335119178,), (1335119197,), (1335119200,), (1335119203,), (1335119206,), (1335119210,), (1335119216,), (1335119230,), (1335119232,), (1335119234,), (1335119273,), (1335119406,), (1335120568,), (1335120637,), (1335120699,), (1335120765,), (1335120825,), (1335121135,), (1335121251,), (1335121307,), (1335121385,), (1335121476,), (1335121496,), (1335121639,), (1335121676,), (1335121725,), (1335121778,), (1335121949,), (1335121952,), (1335121955,), (1335121988,), (1335122003,), (1335122127,), (1335122175,), (1335122529,), (1335122526,), (1335122790,), (1335122793,), (1335122796,), (1335122851,), (1335122862,), (1335122965,), (1335122970,), (1335122972,), (1335122974,), (1335122977,), (1335122994,), (1335123001,), (1335123106,), (1335123130,), (1335123150,), (1335123151,), (1335123154,), (1335123157,), (1335123171,), (1335123173,), (1335123175,), (1335123191,), (1335123194,), (1335123197,), (1335123331,), (1335123360,), (1335123363,), (1335123364,), (1335123603,), (1335123605,), (1335123607,), (1335123609,), (1335123692,), (1335123695,), (1335123697,), (1335123699,), (1335123719,), (1335123723,), (1335123755,), (1335123821,), (1335123828,), (1335123830,), (1335123857,), (1335123861,), (1335123868,), (1335123872,), (1335123874,), (1335123877,), (1335123911,), (1335123917,), (1335123919,), (1335123921,), (1335123939,), (1335123941,), (1335123943,), (1335123945,), (1335123949,), (1335123951,), (1335123963,), (1335123965,), (1335123967,), (1335123981,), (1335123996,), (1335123999,), (1335124124,), (1335124126,), (1335124128,), (1335124130,), (1335124226,), (1335124206,), (1335124208,), (1335124210,), (1335124213,), (1335124215,), (1335124273,), (1335124280,), (1335124287,), (1335124290,), (1335124453,), (1335124455,), (1335124456,), (1335124457,), (1335124463,), (1335124465,), (1335124768,), (1335124769,), (1335124774,), (1335124792,), (1335124806,), (1335124808,), (1335125183,), (1335125188,), (1335125300,), (1335125306,), (1335125318,), (1335125333,), (1335125335,), (1335125385,), (1335125386,), (1335125387,), (1335125392,), (1335125396,), (1335125479,), (1335125480,), (1335125481,), (1335125482,), (1335125483,), (1335125501,), (1335125574,), (1335125575,), (1335125576,), (1335125577,), (1335125579,), (1335125738,), (1335125787,), (1335125829,), (1335125830,), (1335125930,), (1335126182,), (1335126184,), (1335126185,), (1335126186,), (1335126188,), (1335126564,), (1335126595,), (1335126651,), (1335127316,), (1335127318,), (1335127323,), (1335127332,), (1335127339,), (1335127369,), (1335127370,), (1335127371,), (1335127380,), (1335127447,), (1335127490,), (1335127802,), (1335127803,), (1335127811,), (1335127822,), (1335127957,), (1335127947,), (1335127951,), (1335127955,), (1335128121,), (1335128138,), (1335128214,), (1335128253,), (1335128280,), (1335128464,), (1335128466,), (1335128485,), (1335128900,), (1335128972,), (1335129036,), (1335129097,), (1335129174,), (1335129239,), (1335129596,), (1335129647,), (1335129648,), (1335129664,), (1335129697,), (1335129772,), (1335130226,), (1335130233,), (1335130270,), (1335130510,), (1335130537,), (1335130555,), (1335130568,), (1335130629,), (1335130696,), (1335130748,), (1335130749,), (1335130750,), (1335130751,), (1335130794,), (1335130795,), (1335130796,), (1335130797,), (1335130798,), (1335130800,), (1335130848,), (1335130850,), (1335130852,), (1335130855,), (1335130858,), (1335130974,), (1335130976,), (1335130978,), (1335131109,), (1335131112,), (1335131116,), (1335131124,), (1335131130,), (1335132202,), (1335132206,), (1335132226,), (1335132379,), (1335132367,), (1335132369,), (1335132372,), (1335132375,), (1335132393,), (1335132396,), (1335132398,), (1335132412,), (1335132416,), (1335132930,), (1335132931,), (1335132933,), (1335132935,), (1335133371,), (1335133399,), (1335133407,), (1335133480,), (1335133482,), (1335133484,), (1335134238,), (1335134240,), (1335134243,), (1335134246,), (1335134255,), (1335134293,), (1335134295,), (1335134297,), (1335134299,), (1335134302,), (1335134305,), (1335134358,), (1335134360,), (1335134364,), (1335134479,), (1335134482,), (1335134487,), (1335134490,), (1335134494,), (1335134496,), (1335134522,), (1335134508,), (1335134510,), (1335134512,), (1335134514,), (1335134518,), (1335134532,), (1335134534,), (1335134536,), (1335134538,), (1335134556,), (1335134558,), (1335134560,), (1335134562,), (1335134568,), (1335134573,), (1335134588,), (1335134590,), (1335134592,), (1335134594,), (1335134630,), (1335134632,), (1335134639,), (1335134641,), (1335134647,), (1335134660,), (1335134718,), (1335134745,), (1335134755,), (1335134767,), (1335134769,), (1335134793,), (1335134795,), (1335134797,), (1335134836,), (1335134838,), (1335134840,), (1335134853,), (1335134856,), (1335134858,), (1335134886,), (1335134889,), (1335134917,), (1335134989,), (1335134991,), (1335135051,), (1335135053,), (1335135055,), (1335135085,), (1335135090,), (1335135167,), (1335135180,), (1335135182,), (1335135184,), (1335135186,), (1335135188,), (1335135191,), (1335135202,), (1335135204,), (1335135206,), (1335135209,), (1335135242,), (1335135243,), (1335135248,), (1335135250,), (1335135253,), (1335135255,), (1335135294,), (1335135298,), (1335135305,), (1335135310,), (1335135347,), (1335135352,), (1335135355,), (1335135357,), (1335135363,), (1335135368,), (1335135387,), (1335135380,), (1335135383,), (1335135385,), (1335135905,), (1335135970,), (1335135976,), (1335135985,), (1335135988,), (1335135991,), (1335136212,), (1335136214,), (1335136241,), (1335136245,), (1335136248,), (1335136620,), (1335136622,), (1335136624,), (1335136626,), (1335136629,), (1335136631,), (1335136730,), (1335136731,), (1335136733,), (1335136749,), (1335136797,), (1335136799,), (1335136801,), (1335136816,), (1335136818,), (1335136874,), (1335136880,), (1335136886,), (1335136905,), (1335136907,), (1335136910,), (1335136964,), (1335136966,), (1335138096,), (1335138162,), (1335138164,), (1335138166,), (1335138168,), (1335138171,), (1335138174,), (1335138252,), (1335138254,), (1335138256,), (1335138265,), (1335138272,), (1335138292,), (1335138296,), (1335138298,), (1335138300,), (1335138304,), (1335138334,), (1335138319,), (1335138321,), (1335138327,), (1335138415,), (1335138421,), (1335138434,), (1335138444,), (1335139187,), (1335139252,), (1335139286,), (1335139327,), (1335139374,), (1335140005,), (1335140067,), (1335140088,), (1335140092,), (1335140094,), (1335140231,), (1335140237,), (1335140661,), (1335140677,), (1335140681,), (1335140683,), (1335140685,), (1335140688,), (1335140853,), (1335140855,), (1335140857,), (1335140859,), (1335140862,), (1335140865,), (1335140891,), (1335140897,), (1335140901,), (1335141333,), (1335141338,), (1335141340,), (1335141345,), (1335141353,), (1335141362,), (1335141387,), (1335141390,), (1335141394,), (1335141400,), (1335141439,), (1335141451,), (1335141453,), (1335141456,), (1335141458,), (1335141461,), (1335141471,), (1335141557,), (1335141559,), (1335141561,), (1335141564,), (1335141567,), (1335141599,), (1335141616,), (1335141618,), (1335141754,), (1335141759,), (1335141764,), (1335141841,), (1335141825,), (1335141830,), (1335141834,), (1335141838,), (1335141861,), (1335141863,), (1335141868,), (1335141903,), (1335141912,), (1335141915,), (1335141917,), (1335141919,), (1335142219,), (1335142221,), (1335142223,), (1335142224,), (1335142277,), (1335142301,), (1335142836,), (1335142838,), (1335142848,), (1335143004,), (1335143017,), (1335143020,), (1335143033,), (1335143096,), (1335143127,), (1335143150,), (1335143152,), (1335143216,), (1335143217,), (1335143219,), (1335144605,), (1335144611,), (1335144621,), (1335144626,), (1335144633,), (1335144639,), (1335144651,), (1335144653,), (1335144655,), (1335144657,), (1335144661,), (1335144670,), (1335144683,), (1335144722,), (1335144709,), (1335144713,), (1335144715,), (1335144718,), (1335144780,), (1335144781,), (1335144783,), (1335144832,), (1335144840,), (1335144850,), (1335144862,), (1335144868,), (1335144911,), (1335144913,), (1335144916,), (1335144917,), (1335144919,), (1335144954,), (1335144956,), (1335144959,), (1335145001,), (1335145004,), (1335145007,), (1335145011,), (1335145020,), (1335145025,), (1335145064,), (1335145066,), (1335145069,), (1335145072,), (1335145103,), (1335145105,), (1335145108,), (1335145110,), (1335145111,), (1335145113,), (1335145153,), (1335145190,), (1335145229,), (1335145289,), (1335145356,), (1335145384,), (1335145787,), (1335145809,), (1335145814,), (1335146032,), (1335146042,), (1335146071,), (1335146092,), (1335146095,), (1335146126,), (1335146128,), (1335146132,), (1335146136,), (1335146140,), (1335146143,), (1335146158,), (1335146161,), (1335146165,), (1335146225,), (1335146230,), (1335146233,), (1335146236,), (1335146251,), (1335146338,), (1335146290,), (1335146293,), (1335146307,), (1335146406,), (1335146413,), (1335146417,), (1335146459,), (1335146462,), (1335146465,), (1335146472,), (1335146474,), (1335146480,), (1335146504,), (1335146507,), (1335146512,), (1335146525,), (1335146538,), (1335146563,), (1335146565,), (1335146626,), (1335146630,), (1335146634,), (1335146690,), (1335146693,), (1335146697,), (1335146701,), (1335146704,), (1335146708,), (1335146730,), (1335146738,), (1335146742,), (1335146748,), (1335146751,), (1335146997,), (1335147107,), (1335147130,), (1335147173,), (1335147737,), (1335147740,), (1335147745,), (1335147772,), (1335147957,), (1335148066,), (1335148183,), (1335148197,), (1335148202,), (1335148345,), (1335148349,), (1335148355,), (1335148359,), (1335148387,), (1335148450,), (1335148454,), (1335148457,), (1335148517,), (1335148520,), (1335148530,), (1335148558,), (1335148561,), (1335148570,), (1335148600,), (1335148602,), (1335148606,), (1335148612,), (1335149542,), (1335149118,), (1335149188,), (1335149266,), (1335149316,), (1335149428,), (1335150047,), (1335150088,), (1335150125,), (1335150202,), (1335150235,), (1335150433,), (1335150481,), (1335150837,), (1335150845,), (1335151390,), (1335151459,), (1335151545,), (1335151548,), (1335151551,), (1335151577,), (1335151624,), (1335151690,), (1335151750,), (1335151822,), (1335151831,), (1335151835,), (1335151854,), (1335151856,), (1335151863,), (1335151879,), (1335152184,), (1335152185,), (1335152189,), (1335152191,), (1335152195,), (1335152199,), (1335152240,), (1335152243,), (1335152245,), (1335152302,), (1335152305,), (1335152308,), (1335152310,), (1335152337,), (1335152341,), (1335152353,), (1335152360,), (1335152504,), (1335152507,), (1335152510,), (1335152544,), (1335152547,), (1335152550,), (1335152553,), (1335152555,), (1335152881,), (1335152886,), (1335152888,), (1335152903,), (1335152915,), (1335153058,), (1335153139,), (1335153174,), (1335153231,), (1335153842,), (1335153844,), (1335153874,), (1335153951,), (1335154046,), (1335154051,), (1335154059,), (1335154065,), (1335154070,), (1335154074,), (1335154118,), (1335154125,), (1335154130,), (1335154175,), (1335154178,), (1335154180,), (1335154203,), (1335154224,), (1335154251,), (1335154596,), (1335154598,), (1335154624,), (1335154657,), (1335154684,), (1335154686,), (1335154689,), (1335154718,), (1335154727,), (1335154745,), (1335154748,), (1335154756,), (1335154764,), (1335154996,), (1335155010,), (1335155015,), (1335155025,), (1335155034,), (1335155040,), (1335155193,), (1335155198,), (1335155231,), (1335155343,), (1335155345,), (1335155349,), (1335155353,), (1335155357,), (1335155362,), (1335155402,), (1335155406,), (1335155409,), (1335155437,), (1335155441,), (1335155445,), (1335155448,), (1335155526,), (1335155512,), (1335155514,), (1335155519,), (1335155522,), (1335155543,), (1335155546,), (1335155550,), (1335155554,), (1335155558,), (1335155571,), (1335155599,), (1335155601,), (1335155670,), (1335155672,), (1335155674,), (1335155676,), (1335155678,), (1335155731,), (1335155734,), (1335155738,), (1335155742,), (1335155771,), (1335155772,), (1335155774,), (1335155776,), (1335155780,), (1335155815,), (1335155820,), (1335155824,), (1335155828,), (1335155832,), (1335155862,), (1335155866,), (1335156181,), (1335156266,), (1335156336,), (1335156413,), (1335156485,), (1335157050,), (1335157092,), (1335157159,), (1335157172,), (1335157200,), (1335157209,), (1335157211,), (1335157215,), (1335157220,), (1335157231,), (1335157693,), (1335157749,), (1335157780,), (1335157829,), (1335157893,), (1335158110,), (1335158112,), (1335158158,), (1335158162,), (1335158173,), (1335158471,), (1335158474,), (1335158478,), (1335158483,), (1335158487,), (1335158491,), (1335158521,), (1335158527,), (1335158531,), (1335158536,), (1335158545,), (1335158584,), (1335158572,), (1335158575,), (1335158578,), (1335158581,), (1335158621,), (1335158624,), (1335158628,), (1335158631,), (1335158829,), (1335158888,), (1335158956,), (1335159014,), (1335159097,), (1335159175,), (1335159716,), (1335159781,), (1335159825,), (1335159889,), (1335160032,), (1335160096,), (1335160166,), (1335160217,), (1335160237,), (1335160288,), (1335160365,), (1335160390,), (1335160450,), (1335160481,), (1335160666,), (1335160707,), (1335160713,), (1335160725,), (1335160749,), (1335161125,), (1335161132,), (1335161151,), (1335161158,), (1335161168,), (1335161969,), (1335162031,), (1335162035,), (1335162092,), (1335162168,), (1335162302,), (1335162315,), (1335162333,), (1335162341,), (1335162438,), (1335162441,), (1335162450,), (1335162460,), (1335162471,), (1335162477,), (1335162527,), (1335162534,), (1335162537,), (1335162585,), (1335162588,), (1335162639,), (1335162646,), (1335162652,), (1335162656,), (1335162680,), (1335162681,), (1335162684,), (1335162691,), (1335162726,), (1335162730,), (1335162732,), (1335162735,), (1335162787,), (1335162780,), (1335162782,), (1335162784,), (1335162847,), (1335162953,), (1335162956,), (1335162999,), (1335163000,), (1335163002,), (1335163009,), (1335163059,), (1335163061,), (1335163064,), (1335163066,), (1335163122,), (1335163125,), (1335163127,), (1335163129,), (1335163132,), (1335163135,), (1335163163,), (1335163165,), (1335163171,), (1335163174,), (1335163176,), (1335163179,), (1335163330,), (1335163449,), (1335163460,), (1335163463,), (1335163514,), (1335163532,), (1335163573,), (1335163577,), (1335163617,), (1335163627,), (1335163696,), (1335163733,), (1335163918,), (1335164031,), (1335164277,), (1335164449,), (1335164765,), (1335164767,), (1335164770,), (1335165118,), (1335165120,), (1335165124,), (1335165169,), (1335165189,), (1335165287,), (1335165762,), (1335165767,), (1335165771,), (1335165779,), (1335165785,), (1335165804,), (1335165805,), (1335165808,), (1335165809,), (1335165812,), (1335165813,), (1335165818,), (1335165820,), (1335165822,), (1335165823,), (1335165846,), (1335235938,), (1335235942,), (1335235945,), (1335235947,), (1335235953,), (1335235956,), (1335235979,), (1335235985,), (1335235988,), (1335235991,), (1335235996,), (1335236002,), (1335236016,), (1335236018,), (1335236023,), (1335236028,), (1335236032,), (1335236035,), (1335236053,), (1335236057,), (1335236063,), (1335236068,), (1335236075,), (1335236081,), (1335236091,), (1335236098,), (1335236139,), (1335236326,), (1335236386,), (1335236398,), (1335236426,), (1335236500,), (1335236504,), (1335236509,), (1335236514,), (1335236569,), (1335236575,), (1335236585,), (1335236588,), (1335236681,), (1335236683,), (1335236689,), (1335236690,), (1335236695,), (1335236697,), (1335236734,), (1335236738,), (1335236744,), (1335236749,), (1335236754,), (1335236835,), (1335236845,), (1335236851,), (1335236868,), (1335237564,), (1335237567,), (1335237581,), (1335237599,), (1335237760,), (1335236200,), (1335236248,), (1335236292,), (1335236432,), (1335236435,), (1335236521,), (1335236527,), (1335236539,), (1335236542,), (1335236545,), (1335236547,), (1335236549,), (1335236554,), (1335236591,), (1335236595,), (1335236635,), (1335236640,), (1335236653,), (1335236659,), (1335236662,), (1335236665,), (1335236701,), (1335236708,), (1335236714,), (1335236721,), (1335236723,), (1335236725,), (1335236774,), (1335236792,), (1335236798,), (1335236805,), (1335236810,), (1335236816,), (1335236820,), (1335236878,), (1335236931,), (1335237132,), (1335237134,), (1335237139,), (1335237144,), (1335237177,), (1335237250,), (1335237318,), (1335237319,), (1335237323,), (1335237324,), (1335237331,), (1335237332,), (1335237410,), (1335237413,), (1335237423,), (1335237428,), (1335237430,), (1335237435,), (1335237445,), (1335237448,), (1335237451,), (1335237454,), (1335237458,), (1335237464,), (1335237497,), (1335237501,), (1335237508,), (1335237514,), (1335237518,), (1335237521,), (1335237609,), (1335237620,), (1335237701,), (1335237720,), (1335237731,), (1335237737,), (1335237740,), (1335237742,), (1335237771,), (1335237830,), (1335237933,), (1335237937,), (1335237965,), (1335237972,), (1335238017,), (1335238023,), (1335238041,), (1335238044,), (1335238049,), (1335238055,), (1335238061,), (1335238094,), (1335238103,), (1335238105,), (1335238107,), (1335238110,), (1335238112,), (1335238149,), (1335238151,), (1335238154,), (1335238155,), (1335238184,), (1335238187,), (1335238204,), (1335238212,), (1335238220,), (1335238230,), (1335238238,), (1335238242,), (1335238258,), (1335238263,), (1335238269,), (1335238304,), (1335238310,), (1335238313,), (1335238328,), (1335238330,), (1335237751,), (1335237753,), (1335237756,), (1335238040,), (1335238123,), (1335238125,), (1335238129,), (1335238131,), (1335238135,), (1335238137,), (1335238143,), (1335238144,), (1335238167,), (1335238170,), (1335238176,), (1335238182,), (1335238249,), (1335238251,), (1335238255,), (1335238343,), (1335238623,), (1335238625,), (1335238630,), (1335238632,), (1335238638,), (1335238639,), (1335238647,), (1335238648,), (1335238705,), (1335238715,), (1335238719,), (1335238722,), (1335238726,), (1335238793,), (1335238796,), (1335238814,), (1335238820,), (1335238825,), (1335238830,), (1335239711,), (1335239778,), (1335239798,), (1335239985,), (1335239989,), (1335240058,), (1335240059,), (1335240133,), (1335240134,), (1335240196,), (1335240204,), (1335240273,), (1335240276,), (1335240419,), (1335240422,), (1335240478,), (1335240552,), (1335240826,), (1335240829,), (1335240833,), (1335240839,), (1335240842,), (1335240870,), (1335241279,), (1335241285,), (1335241377,), (1335241378,), (1335241382,), (1335241384,), (1335241386,), (1335241388,), (1335241392,), (1335241394,), (1335241395,), (1335241446,), (1335241575,), (1335247977,), (1335247981,), (1335247985,), (1335248161,), (1335248164,), (1335248169,), (1335248174,), (1335248179,), (1335248224,), (1335248227,), (1335248274,), (1335248276,), (1335248317,), (1335248319,), (1335248321,), (1335248324,), (1335248366,), (1335248370,), (1335248377,), (1335248412,), (1335248450,), (1335248546,), (1335248548,), (1335248550,), (1335248602,), (1335248606,), (1335248610,), (1335248614,), (1335248987,), (1335249121,), (1335249300,), (1335249459,), (1335249509,), (1335249513,), (1335249518,), (1335249523,), (1335249527,), (1335249931,), (1335249934,), (1335249936,), (1335250188,), (1335250191,), (1335250196,), (1335250205,), (1335250243,), (1335250255,), (1335250266,), (1335250308,), (1335250312,), (1335250317,), (1335250321,), (1335250639,), (1335250644,), (1335250655,), (1335250660,), (1335250830,), (1335250802,), (1335250808,), (1335250820,), (1335250886,), (1335250888,), (1335251459,), (1335251530,), (1335252022,), (1335252025,), (1335252028,), (1335252409,), (1335252411,), (1335252413,), (1335252415,), (1335252418,), (1335252453,), (1335252504,), (1335252507,), (1335252510,), (1335252573,), (1335252577,), (1335252588,), (1335252595,), (1335252778,), (1335252788,), (1335252795,), (1335252908,), (1335252912,), (1335252916,), (1335252920,), (1335252955,), (1335252960,), (1335252965,), (1335252970,), (1335253010,), (1335253018,), (1335253026,), (1335253030,), (1335253082,), (1335253072,), (1335253074,), (1335253078,), (1335253217,), (1335253249,), (1335253258,), (1335253275,), (1335253345,), (1335253348,), (1335253351,), (1335253397,), (1335253399,), (1335253401,), (1335253458,), (1335253461,), (1335253465,), (1335253930,), (1335253939,), (1335253943,), (1335253946,), (1335253948,), (1335254408,), (1335254412,), (1335254576,), (1335254581,), (1335254845,), (1335254858,), (1335254863,), (1335254871,), (1335254874,), (1335255009,), (1335255011,), (1335255210,), (1335255212,), (1335255214,), (1335255217,), (1335255283,), (1335255286,), (1335255291,), (1335255295,), (1335255509,), (1335255514,), (1335255518,), (1335255522,), (1335255777,), (1335255783,), (1335255787,), (1335255791,), (1335255827,), (1335255829,), (1335255833,), (1335255890,), (1335255894,), (1335255900,), (1335255973,), (1335255953,), (1335255957,), (1335255961,), (1335255967,), (1335256024,), (1335256027,), (1335256031,), (1335256318,), (1335256339,), (1335256397,), (1335256845,), (1335256864,), (1335257078,), (1335257096,), (1335257104,), (1335257252,), (1335257299,), (1335257309,), (1335257313,), (1335257316,), (1335257353,), (1335257358,), (1335257364,), (1335257369,), (1335257372,), (1335257429,), (1335257514,), (1335257600,), (1335257690,), (1335257777,), (1335257817,), (1335258028,), (1335258034,), (1335258037,), (1335258039,), (1335258322,), (1335258326,), (1335258641,), (1335258680,), (1335258683,), (1335258747,), (1335258917,), (1335258922,), (1335258927,), (1335258934,), (1335258949,), (1335258950,), (1335258952,), (1335258954,), (1335258992,), (1335258984,), (1335258988,), (1335259048,), (1335260965,), (1335261502,), (1335261507,), (1335261899,), (1335261902,), (1335261906,), (1335261910,), (1335261959,), (1335261963,), (1335261978,), (1335261986,), (1335261990,), (1335262078,), (1335262082,), (1335262086,), (1335262119,), (1335262124,), (1335262128,), (1335262220,), (1335262159,), (1335262161,), (1335263182,), (1335263235,), (1335263266,), (1335263270,), (1335263679,), (1335263680,), (1335263797,), (1335264026,), (1335264030,), (1335264032,), (1335264326,), (1335264328,), (1335264331,), (1335264734,), (1335264735,), (1335264737,), (1335264739,), (1335264797,), (1335265062,), (1335265108,), (1335265112,), (1335265115,), (1335265120,), (1335265146,), (1335265149,), (1335265152,), (1335265155,), (1335265157,), (1335265198,), (1335265202,), (1335265207,), (1335265212,), (1335265251,), (1335265255,), (1335265259,), (1335265264,), (1335265268,), (1335265332,), (1335265334,), (1335265340,), (1335265359,), (1335265385,), (1335265476,), (1335265522,), (1335265524,), (1335265527,), (1335265540,), (1335265548,), (1335265555,), (1335266096,), (1335266186,), (1335266259,), (1335266446,), (1335266451,), (1335266455,), (1335266459,), (1335266921,), (1335266688,), (1335266757,), (1335266839,), (1335266911,), (1335267070,), (1335267078,), (1335267080,), (1335267083,), (1335267423,), (1335267663,), (1335267665,), (1335267667,), (1335267668,), (1335267670,), (1335267672,), (1335267696,), (1335267698,), (1335267701,), (1335267706,), (1335267730,), (1335267748,), (1335267779,), (1335267782,), (1335267785,), (1335267788,), (1335267812,), (1335267816,), (1335267821,), (1335267825,), (1335267867,), (1335267871,), (1335267876,), (1335267881,), (1335267884,), (1335267907,), (1335267909,), (1335267913,), (1335268642,), (1335268646,), (1335268651,), (1335268655,), (1335268658,), (1335268841,), (1335269093,), (1335269140,), (1335269144,), (1335269147,), (1335270447,), (1335270536,), (1335270623,), (1335270835,), (1335270845,), (1335270857,), (1335270863,), (1335271280,), (1335271330,), (1335271367,), (1335271383,), (1335271386,), (1335271583,), (1335271544,), (1335271552,), (1335271563,), (1335271902,), (1335271969,), (1335272041,), (1335272088,), (1335272148,), (1335272152,), (1335272166,), (1335272206,), (1335272209,), (1335272213,), (1335272218,), (1335272221,), (1335272253,), (1335272279,), (1335272282,), (1335272286,), (1335272314,), (1335272318,), (1335272326,), (1335272332,), (1335272447,), (1335272530,), (1335272581,), (1335272584,), (1335272587,), (1335272791,), (1335272793,), (1335272796,), (1335272828,), (1335272833,), (1335272840,), (1335272874,), (1335272877,), (1335272887,), (1335272895,), (1335272898,), (1335273576,), (1335273579,), (1335273637,), (1335273748,), (1335274052,), (1335274058,), (1335274061,), (1335274093,), (1335274136,), (1335274140,), (1335274150,), (1335274228,), (1335274232,), (1335274236,), (1335274243,), (1335274250,), (1335274297,), (1335274288,), (1335274290,), (1335274293,), (1335274340,), (1335274344,), (1335274351,), (1335274361,), (1335274385,), (1335274387,), (1335274530,), (1335274535,), (1335274814,), (1335274903,), (1335274993,), (1335275085,), (1335275134,), (1335275876,), (1335276011,), (1335276017,), (1335276023,), (1335276034,), (1335276464,), (1335276540,), (1335276548,), (1335276586,), (1335276804,), (1335276806,), (1335276809,), (1335276811,), (1335276813,), (1335276849,), (1335276852,), (1335276855,), (1335276859,), (1335276890,), (1335276892,), (1335276900,), (1335276903,), (1335276957,), (1335276962,), (1335277024,), (1335277027,), (1335277030,), (1335277072,), (1335277075,), (1335277079,), (1335277083,), (1335277107,), (1335277113,), (1335277119,), (1335277124,), (1335277127,), (1335277148,), (1335277152,), (1335277207,), (1335277210,), (1335277213,), (1335277216,), (1335277218,), (1335277248,), (1335277245,), (1335277281,), (1335277284,), (1335277307,), (1335277403,), (1335277490,), (1335277553,), (1335277927,), (1335277959,), (1335278069,), (1335278072,), (1335278075,), (1335278397,), (1335278413,), (1335278417,), (1335278518,), (1335278521,), (1335278525,), (1335278528,), (1335278576,), (1335278601,), (1335278661,), (1335278664,), (1335278668,), (1335278818,), (1335278948,), (1335278954,), (1335278961,), (1335278965,), (1335279013,), (1335279015,), (1335279018,), (1335279029,), (1335279148,), (1335279151,), (1335279156,), (1335279162,), (1335279166,), (1335279169,), (1335279204,), (1335279207,), (1335279211,), (1335279215,), (1335279217,), (1335279247,), (1335279251,), (1335279256,), (1335279326,), (1335279332,), (1335279336,), (1335279339,), (1335279651,), (1335279701,), (1335279746,), (1335279749,), (1335279751,), (1335279800,), (1335279908,), (1335279911,), (1335279921,), (1335279932,), (1335279939,), (1335279970,), (1335279972,), (1335279975,), (1335280043,), (1335280017,), (1335280021,), (1335280030,), (1335280039,), (1335280041,), (1335280264,), (1335280284,), (1335280292,), (1335280332,), (1335280385,), (1335280387,), (1335280390,), (1335280392,), (1335280426,), (1335280665,), (1335280736,), (1335281104,), (1335281106,), (1335281108,), (1335281111,), (1335281266,), (1335281269,), (1335281273,), (1335281276,), (1335281315,), (1335281319,), (1335281323,), (1335281334,), (1335281419,), (1335281701,), (1335281734,), (1335281737,), (1335281849,), (1335281850,), (1335281854,), (1335281898,), (1335281900,), (1335281903,), (1335281906,), (1335281908,), (1335282005,), (1335282008,), (1335282011,), (1335284911,), (1335286003,), (1335286006,), (1335286013,), (1335287795,), (1335287799,), (1335287804,), (1335287990,), (1335287995,), (1335288007,), (1335288015,), (1335288044,), (1335289624,), (1335290025,), (1335290022,), (1335290233,), (1335290791,), (1335290795,), (1335290802,), (1335290805,), (1335290839,), (1335290844,), (1335290856,), (1335290890,), (1335290894,), (1335290899,), (1335290903,), (1335290929,), (1335290932,), (1335290936,), (1335290938,), (1335290941,), (1335290978,), (1335290999,), (1335291068,), (1335291353,), (1335291372,), (1335291426,), (1335291436,), (1335291444,), (1335291849,), (1335291914,), (1335292005,), (1335292264,), (1335292267,), (1335292271,), (1335292401,), (1335292405,), (1335292408,), (1335292412,), (1335292416,), (1335292675,), (1335292686,), (1335292692,), (1335292700,), (1335292703,), (1335292766,), (1335292774,), (1335292778,), (1335292783,), (1335292786,), (1335292806,), (1335292809,), (1335292840,), (1335292843,), (1335292853,), (1335292864,), (1335292873,), (1335292918,), (1335292900,), (1335292902,), (1335292905,), (1335292955,), (1335292958,), (1335292963,), (1335292974,), (1335293564,), (1335293566,), (1335293606,), (1335294056,), (1335294088,), (1335294093,), (1335294097,), (1335294131,), (1335294132,), (1335294135,), (1335294139,), (1335294196,), (1335294198,), (1335294202,), (1335294421,), (1335294424,), (1335294452,), (1335294453,), (1335294455,), (1335294458,), (1335294570,), (1335294583,), (1335294585,), (1335294587,), (1335294588,), (1335294616,), (1335294618,), (1335294621,), (1335294624,), (1335294626,), (1335294853,), (1335294854,), (1335294856,), (1335294858,), (1335294908,), (1335294911,), (1335294934,), (1335294970,), (1335294977,), (1335294980,), (1335294983,), (1335294987,), (1335294990,), (1335295034,), (1335295036,), (1335295040,), (1335295048,), (1335295263,), (1335295102,), (1335295196,), (1335295232,), (1335295236,), (1335295673,), (1335295675,), (1335295678,), (1335295768,), (1335295770,), (1335295773,), (1335295776,), (1335295780,), (1335295785,), (1335295814,), (1335295816,), (1335295820,), (1335295823,), (1335295826,), (1335295870,), (1335295871,), (1335295875,), (1335295878,), (1335295914,), (1335295916,), (1335295922,), (1335295948,), (1335295950,), (1335296152,), (1335296154,), (1335296160,), (1335296207,), (1335296209,), (1335296222,), (1335296228,), (1335296231,), (1335296291,), (1335296294,), (1335296297,), (1335296302,), (1335296337,), (1335296339,), (1335296409,), (1335296411,), (1335296414,), (1335296427,), (1335296466,), (1335296469,), (1335296471,), (1335296475,), (1335296807,), (1335296809,), (1335296815,), (1335296818,), (1335296831,), (1335296911,), (1335297193,), (1335297196,), (1335297200,), (1335297217,), (1335297223,), (1335299589,), (1335299771,), (1335299772,), (1335299775,), (1335299865,), (1335299868,), (1335299899,), (1335300258,), (1335300260,), (1335300289,), (1335300367,), (1335300368,), (1335300396,), (1335300399,), (1335300402,), (1335300405,), (1335300407,), (1335300495,), (1335300497,), (1335300500,), (1335300530,), (1335300540,), (1335300543,), (1335301388,), (1335301390,), (1335301466,), (1335301480,), (1335301483,), (1335302009,), (1335302012,), (1335302017,), (1335302022,), (1335302024,), (1335302275,), (1335302276,), (1335302278,), (1335302280,), (1335302306,), (1335302308,), (1335302311,), (1335302314,), (1335302367,), (1335302370,), (1335302379,), (1335302383,), (1335302605,), (1335302692,), (1335302694,), (1335302972,), (1335302974,), (1335302976,), (1335302981,), (1335303179,), (1335303182,), (1335303186,), (1335303190,), (1335303208,), (1335303265,), (1335303262,), (1335303528,), (1335303552,), (1335303561,), (1335303595,), (1335303642,), (1335303644,), (1335303647,), (1335303696,), (1335303699,), (1335303703,), (1335303748,), (1335303751,), (1335303754,), (1335303758,), (1335303785,), (1335303791,), (1335303794,), (1335303799,), (1335305725,), (1335305727,), (1335305738,), (1335305740,), (1335305776,), (1335305861,), (1335305944,), (1335306035,), (1335306313,), (1335306316,), (1335306319,), (1335306379,), (1335306447,), (1335306450,), (1335306454,), (1335306511,), (1335306506,), (1335306508,), (1335306572,), (1335306577,), (1335306586,), (1335306933,), (1335307008,), (1335307011,), (1335307017,), (1335307022,), (1335307046,), (1335307051,), (1335307057,), (1335307063,), (1335307068,), (1335307125,), (1335307127,), (1335307130,), (1335307134,), (1335307155,), (1335307231,), (1335307234,), (1335307238,), (1335307243,), (1335307303,), (1335307306,), (1335307310,), (1335307326,), (1335307330,), (1335307336,), (1335307414,), (1335307416,), (1335307418,), (1335307466,), (1335307469,), (1335307505,), (1335307507,), (1335307512,), (1335307609,), (1335307696,), (1335307699,), (1335307733,), (1335307869,), (1335307872,), (1335351073,), (1335076264,), (1335079988,), (1335079991,), (1335080002,), (1335080007,), (1335080033,), (1335080130,), (1335080352,), (1335080398,), (1335080470,), (1335080515,), (1335080563,), (1335080618,), (1335080674,), (1335080675,), (1335080677,), (1335080686,), (1335080691,), (1335080692,), (1335097795,), (1335097796,), (1335097817,), (1335097820,), (1335097822,), (1335097824,), (1335097826,), (1335097827,), (1335097828,), (1335097829,), (1335097950,), (1335098006,), (1335098007,), (1335098008,), (1335098009,), (1335098010,), (1335098011,), (1335098026,), (1335098029,), (1335098030,), (1335098031,), (1335098032,), (1335098033,), (1335098034,), (1335098097,), (1335098099,), (1335098101,), (1335098110,), (1335098112,), (1335098121,), (1335098122,), (1335098123,), (1335098124,), (1335098671,), (1335098672,), (1335098673,), (1335098674,), (1335098677,), (1335098683,), (1335098940,), (1335098941,), (1335098985,), (1335098987,), (1335098989,), (1335098991,), (1335080734,), (1335080767,), (1335080772,), (1335080777,), (1335080797,), (1335080801,), (1335081146,), (1335081214,), (1335081274,), (1335081339,), (1335081397,), (1335081466,), (1335081691,), (1335081761,), (1335081763,), (1335081829,), (1335081833,), (1335081895,), (1335081914,), (1335081967,), (1335081991,), (1335082034,), (1335082055,), (1335082113,), (1335095801,), (1335095807,), (1335095814,), (1335095819,), (1335095822,), (1335095823,), (1335095824,), (1335095825,), (1335095850,), (1335095851,), (1335096355,), (1335096383,), (1335096405,), (1335096412,), (1335096425,), (1335096455,), (1335096877,), (1335096894,), (1335096897,), (1335096925,), (1335096933,), (1335096934,), (1335097075,), (1335097207,), (1335097317,), (1335097332,), (1335097385,), (1335097386,), (1335097410,), (1335097435,), (1335097437,), (1335097457,), (1335097460,), (1335097461,), (1335097462,), (1335097466,), (1335097471,), (1335097475,), (1335097512,), (1335097519,), (1335097520,), (1335097521,), (1335097522,), (1335097523,), (1335097557,), (1335097704,), (1335097707,), (1335097717,), (1335097718,), (1335097719,), (1335097720,), (1335097721,), (1335097722,), (1335097754,), (1335097756,), (1335097757,), (1335097758,), (1335097763,), (1335097766,), (1335097792,), (1335097794,), (1335082479,), (1335082529,), (1335082596,), (1335082666,), (1335082714,), (1335082761,), (1335082823,), (1335082834,), (1335082835,), (1335082865,), (1335082875,), (1335083023,), (1335083142,), (1335083167,), (1335083171,), (1335083226,), (1335083239,), (1335083384,), (1335083386,), (1335083397,), (1335083424,), (1335083427,), (1335083431,), (1335083516,), (1335083519,), (1335083536,), (1335083539,), (1335083542,), (1335083545,), (1335083546,), (1335083549,), (1335083552,), (1335083555,), (1335083558,), (1335084150,), (1335084186,), (1335084189,), (1335084202,), (1335084211,), (1335084220,), (1335084224,), (1335084227,), (1335084230,), (1335084565,), (1335084567,), (1335094974,), (1335095213,), (1335095253,), (1335095368,), (1335095371,), (1335095373,), (1335095376,), (1335095380,), (1335095383,), (1335095409,), (1335095412,), (1335095423,), (1335095463,), (1335095465,), (1335095468,), (1335095553,), (1335095624,), (1335095627,), (1335095658,), (1335095745,), (1335095750,), (1335095752,), (1335095772,), (1335095773,), (1335095774,), (1335095777,), (1335095779,), (1335095783,), (1335095799,), (1335083491,), (1335083570,), (1335083573,), (1335083575,), (1335083628,), (1335083687,), (1335083689,), (1335083755,), (1335083758,), (1335083767,), (1335083809,), (1335083812,), (1335083816,), (1335083823,), (1335083825,), (1335083827,), (1335083828,), (1335083829,), (1335083830,), (1335083841,), (1335083855,), (1335083860,), (1335083863,), (1335083874,), (1335083879,), (1335083880,), (1335083881,), (1335083884,), (1335083886,), (1335083888,), (1335083896,), (1335083900,), (1335083905,), (1335083907,), (1335083909,), (1335083911,), (1335084038,), (1335084042,), (1335084045,), (1335084049,), (1335084054,), (1335084058,), (1335084077,), (1335084079,), (1335084091,), (1335084098,), (1335084104,), (1335084105,), (1335084124,), (1335084130,), (1335084135,), (1335245529,), (1335245531,), (1335245534,), (1335245537,), (1335245570,), (1335245596,), (1335245662,), (1335245851,), (1335245948,), (1335246080,), (1335246291,), (1335245480,), (1335245488,), (1335245490,), (1335245491,), (1335245493,), (1335245495,), (1335245497,), (1335245501,), (1335245503,), (1335245508,), (1335245509,), (1335245514,), (1335245515,), (1335245524,), (1335245525,), (1335244998,), (1335245002,), (1335245007,), (1335245022,), (1335245027,), (1335245030,), (1335245032,), (1335245035,), (1335245039,), (1335245052,), (1335245056,), (1335245059,), (1335245061,), (1335245065,), (1335245067,), (1335245151,), (1335245155,), (1335245199,), (1335245210,), (1335245243,), (1335245297,), (1335245306,), (1335245311,), (1335245315,), (1335245319,), (1335245329,), (1335245345,), (1335245350,), (1335245365,), (1335245369,), (1335245375,), (1335245380,), (1335245392,), (1335245429,), (1335245432,), (1335245436,), (1335245441,), (1335245446,), (1335245456,), (1335245459,), (1335245464,), (1335245468,), (1335245475,), (1335244380,), (1335244383,), (1335244406,), (1335244413,), (1335244421,), (1335244428,), (1335244438,), (1335244442,), (1335244493,), (1335244534,), (1335244585,), (1335244613,), (1335244619,), (1335244624,), (1335244720,), (1335244722,), (1335244725,), (1335244778,), (1335244781,), (1335244785,), (1335244795,), (1335244801,), (1335244811,), (1335244817,), (1335244823,), (1335244830,), (1335244843,), (1335244844,), (1335244846,), (1335244848,), (1335244850,), (1335244851,), (1335244854,), (1335244856,), (1335244858,), (1335244860,), (1335244862,), (1335244863,), (1335244890,), (1335244901,), (1335244905,), (1335244912,), (1335244916,), (1335244919,), (1335244933,), (1335244991,), (1335244995,), (1335244229,), (1335244232,), (1335244237,), (1335244242,), (1335244253,), (1335244257,), (1335244260,), (1335244265,), (1335244270,), (1335244274,), (1335244288,), (1335244291,), (1335244296,), (1335244300,), (1335244305,), (1335244312,), (1335244329,), (1335244332,), (1335244336,), (1335244338,), (1335244340,), (1335244341,), (1335244357,), (1335244363,), (1335244369,), (1335244375,), (1335243811,), (1335243842,), (1335243896,), (1335243902,), (1335243907,), (1335243910,), (1335243933,), (1335243939,), (1335244092,), (1335244172,), (1335244177,), (1335244196,), (1335244201,), (1335244205,), (1335244209,), (1335244213,), (1335244216,), (1335244221,), (1335241455,), (1335241548,), (1335241578,), (1335241582,), (1335241587,), (1335241597,), (1335241624,), (1335241630,), (1335241637,), (1335241642,), (1335241658,), (1335241663,), (1335241704,), (1335241710,), (1335241719,), (1335241747,), (1335241753,), (1335241758,), (1335241776,), (1335241782,), (1335241788,), (1335241793,), (1335241796,), (1335241800,), (1335241816,), (1335241821,), (1335241825,), (1335241831,), (1335241837,), (1335241843,), (1335241931,), (1335242030,), (1335242077,), (1335242139,), (1335242172,), (1335242227,), (1335242259,), (1335242282,), (1335242300,), (1335242318,), (1335242351,), (1335242385,), (1335242554,), (1335242558,), (1335242579,), (1335242580,), (1335242586,), (1335242588,), (1335242595,), (1335242596,), (1335242751,), (1335242757,), (1335242984,), (1335242992,), (1335243361,), (1335243364,), (1335243367,), (1335243370,), (1335243379,), (1335243477,), (1335238334,), (1335238391,), (1335238400,), (1335238408,), (1335238454,), (1335238474,), (1335238589,), (1335238593,), (1335238599,), (1335238601,), (1335238602,), (1335238606,), (1335238659,), (1335238661,), (1335238674,), (1335238677,), (1335238731,), (1335238747,), (1335238754,), (1335238760,), (1335238766,), (1335238773,), (1335238786,), (1335239003,), (1335239101,), (1335239160,), (1335239251,), (1335239365,), (1335239449,), (1335239828,), (1335239834,), (1335239847,), (1335239866,), (1335239869,), (1335239872,), (1335239877,), (1335239887,), (1335239894,), (1335240281,), (1335240284,), (1335240574,), (1335240626,), (1335240711,), (1335240718,), (1335240731,), (1335240765,), (1335240811,), (1335240814,), (1335241119,), (1335241236,), (1335241243,), (1335241259,), (1335241265,), (1335241269,), (1335241288,), (1335241294,), (1335241299,), (1335241306,), (1335241321,), (1335241325,), (1335241330,), (1335241336,), (1335241346,), (1335241352,), (1335336664,), (1335336765,), (1335337466,), (1335337718,), (1335337960,), (1335338193,), (1335338453,), (1335338577,), (1335350035,), (1335350037,), (1335350523,), (1335350548,), (1335350560,), (1335350562,), (1335350564,), (1335350576,), (1335350604,), (1335350607,), (1335350644,), (1335350647,), (1335350649,), (1335350651,), (1335350672,), (1335350716,), (1335350850,), (1335350922,), (1335350926,), (1335350936,), (1335350959,), (1335350960,), (1335350962,), (1335350966,), (1335350968,), (1335350970,), (1335351011,), (1335351014,), (1335351023,), (1335351030,), (1335351036,), (1335351038,), (1335351042,), (1335351044,), (1335351045,), (1335351046,), (1335351047,), (1335351048,), (1335336578,), (1335338778,), (1335338782,), (1335338785,), (1335338788,), (1335338791,), (1335338794,), (1335338811,), (1335338813,), (1335338838,), (1335338848,), (1335338851,), (1335338860,), (1335338888,), (1335338891,), (1335338893,), (1335338900,), (1335338902,), (1335338927,), (1335339727,), (1335339729,), (1335347325,), (1335347465,), (1335347675,), (1335347677,), (1335347680,), (1335347753,), (1335347769,), (1335347807,), (1335348119,), (1335348121,), (1335348123,), (1335348125,), (1335348137,), (1335348195,), (1335348389,), (1335348402,), (1335348405,), (1335348407,), (1335348409,), (1335348411,), (1335349249,), (1335349251,), (1335349318,), (1335349387,), (1335349395,), (1335349397,), (1335350015,), (1335350018,), (1335350027,), (1335350032,), (1335336470,), (1335336484,), (1335338934,), (1335338937,), (1335338947,), (1335339021,), (1335339186,), (1335339356,), (1335339636,), (1335339654,), (1335339702,), (1335339725,), (1335340167,), (1335340219,), (1335340223,), (1335340231,), (1335340242,), (1335340244,), (1335340257,), (1335340259,), (1335340264,), (1335340267,), (1335340290,), (1335340299,), (1335340308,), (1335340356,), (1335340359,), (1335340403,), (1335340497,), (1335340650,), (1335341002,), (1335341007,), (1335341014,), (1335341017,), (1335341021,), (1335344909,), (1335346035,), (1335346040,), (1335346042,), (1335346044,), (1335346047,), (1335346062,), (1335346075,), (1335346083,), (1335346177,), (1335346192,), (1335346202,), (1335346306,), (1335346750,), (1335346827,), (1335346896,), (1335347088,), (1335336451,), (1335340995,), (1335341097,), (1335341251,), (1335341364,), (1335341401,), (1335341405,), (1335341409,), (1335341475,), (1335341477,), (1335341479,), (1335341481,), (1335341483,), (1335341485,), (1335344627,), (1335344716,), (1335344717,), (1335344718,), (1335344844,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06022025': {'nb_upload': 51, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20316827]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] map_info['map_portfolio_photo'] : {20316827: [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491]} final : True mtd_id 4302 list_pids : [1335084135, 1335084130, 1335084124, 1335084105, 1335084104, 1335084098, 1335084091, 1335084079, 1335084077, 1335084058, 1335084054, 1335084049, 1335084045, 1335084042, 1335084038, 1335083911, 1335083909, 1335083907, 1335083905, 1335083900, 1335083896, 1335083888, 1335083886, 1335083884, 1335083881, 1335083880, 1335083879, 1335083874, 1335083863, 1335083860, 1335083855, 1335083841, 1335083830, 1335083829, 1335083828, 1335083827, 1335083825, 1335083823, 1335083816, 1335083812, 1335083809, 1335083767, 1335083758, 1335083755, 1335083689, 1335083687, 1335083628, 1335083575, 1335083573, 1335083570, 1335083491] Looping around the photos to save general results len do output : 1 /20316827Didn'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, '2561282') ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282') ('4302', None, None, None, None, None, None, None, '2561282') ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 52 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, '20316827', 'None', None, None, None, None, '2561282'), ('4302', '20316827', '1335084135', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084130', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084124', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084105', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084104', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084098', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084091', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084079', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084077', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084058', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084054', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084049', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084045', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084042', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335084038', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083911', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083909', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083907', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083905', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083900', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083896', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083888', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083886', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083884', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083881', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083880', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083879', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083874', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083863', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083860', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083855', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083841', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083830', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083829', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083828', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083827', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083825', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083823', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083816', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083812', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083809', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083767', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083758', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083755', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083689', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083687', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083628', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083575', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083573', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083570', None, None, None, None, None, '2561282'), ('4302', '20316827', '1335083491', None, None, None, None, None, '2561282')] time used for this insertion : 1.4243674278259277 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.552666425704956 time spend to save output : 1.4248197078704834 total time spend for step 5 : 4.9774861335754395 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 (2561282) 3.22user 2.58system 0:14.69elapsed 39%CPU (0avgtext+0avgdata 166072maxresident)k 104064inputs+32152outputs (436major+85851minor)pagefaults 0swaps