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 : 601501 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 (2936819) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2936819) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274404 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2936819'] with mtr_portfolio_ids : ['23274404'] and first list_photo_ids : [] new path : /proc/601501/ Name: python3 Umask: 0002 State: R (running) Tgid: 601501 Ngid: 0 Pid: 601501 PPid: 601494 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 601501 NSpid: 601501 NSpgid: 599561 NSsid: 599561 VmPeak: 1107232 kB VmSize: 1107232 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98360 kB VmRSS: 98360 kB RssAnon: 60208 kB RssFile: 38152 kB RssShmem: 0 kB VmData: 865980 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 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: 67 nonvoluntary_ctxt_switches: 297 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '601501', 'Ngid': '0', 'Pid': '601501', 'PPid': '601494', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '601501', 'NSpid': '601501', 'NSpgid': '599561', 'NSsid': '599561', 'VmPeak': '1107232 kB', 'VmSize': '1107232 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98360 kB', 'VmRSS': '98360 kB', 'RssAnon': '60208 kB', 'RssFile': '38152 kB', 'RssShmem': '0 kB', 'VmData': '865980 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 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': '67', 'nonvoluntary_ctxt_switches': '297'} ('datou_batch_current', '601501', '1107232', '0', '1107232', '865980', '98360', b'', 'marlene', '2936819') 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 (23274404) 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 (2936819 ) ) 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 (23274404) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1360619268, 'portfolio_id': 23274404}, {'photo_id': 1360618993, 'portfolio_id': 23274404}, {'photo_id': 1360618966, 'portfolio_id': 23274404}, {'photo_id': 1360618937, 'portfolio_id': 23274404}, {'photo_id': 1360618903, 'portfolio_id': 23274404}, {'photo_id': 1360618640, 'portfolio_id': 23274404}, {'photo_id': 1360618636, 'portfolio_id': 23274404}, {'photo_id': 1360618632, 'portfolio_id': 23274404}, {'photo_id': 1360618354, 'portfolio_id': 23274404}, {'photo_id': 1360618313, 'portfolio_id': 23274404}, {'photo_id': 1360618286, 'portfolio_id': 23274404}, {'photo_id': 1360618241, 'portfolio_id': 23274404}, {'photo_id': 1360618196, 'portfolio_id': 23274404}, {'photo_id': 1360618047, 'portfolio_id': 23274404}, {'photo_id': 1360618024, 'portfolio_id': 23274404}, {'photo_id': 1360617998, 'portfolio_id': 23274404}, {'photo_id': 1360617975, 'portfolio_id': 23274404}, {'photo_id': 1360617951, 'portfolio_id': 23274404}, {'photo_id': 1360617928, 'portfolio_id': 23274404}, {'photo_id': 1360617564, 'portfolio_id': 23274404}, {'photo_id': 1360617538, 'portfolio_id': 23274404}, {'photo_id': 1360617512, 'portfolio_id': 23274404}, {'photo_id': 1360617487, 'portfolio_id': 23274404}, {'photo_id': 1360617419, 'portfolio_id': 23274404}, {'photo_id': 1360617415, 'portfolio_id': 23274404}, {'photo_id': 1360617410, 'portfolio_id': 23274404}, {'photo_id': 1360617389, 'portfolio_id': 23274404}, {'photo_id': 1360617384, 'portfolio_id': 23274404}, {'photo_id': 1360617358, 'portfolio_id': 23274404}, {'photo_id': 1360617356, 'portfolio_id': 23274404}, {'photo_id': 1360617351, 'portfolio_id': 23274404}, {'photo_id': 1360617346, 'portfolio_id': 23274404}, {'photo_id': 1360617341, 'portfolio_id': 23274404}, {'photo_id': 1360617337, 'portfolio_id': 23274404}, {'photo_id': 1360617312, 'portfolio_id': 23274404}, {'photo_id': 1360617309, 'portfolio_id': 23274404}, {'photo_id': 1360617307, 'portfolio_id': 23274404}, {'photo_id': 1360617303, 'portfolio_id': 23274404}, {'photo_id': 1360617301, 'portfolio_id': 23274404}, {'photo_id': 1360617286, 'portfolio_id': 23274404}, {'photo_id': 1360617278, 'portfolio_id': 23274404}, {'photo_id': 1360617243, 'portfolio_id': 23274404}, {'photo_id': 1360617204, 'portfolio_id': 23274404}, {'photo_id': 1360616834, 'portfolio_id': 23274404}, {'photo_id': 1360616767, 'portfolio_id': 23274404}, {'photo_id': 1360616710, 'portfolio_id': 23274404}, {'photo_id': 1360616665, 'portfolio_id': 23274404}, {'photo_id': 1360616632, 'portfolio_id': 23274404}, {'photo_id': 1360616481, 'portfolio_id': 23274404}, {'photo_id': 1360616442, 'portfolio_id': 23274404}, {'photo_id': 1360616399, 'portfolio_id': 23274404}, {'photo_id': 1360616240, 'portfolio_id': 23274404}, {'photo_id': 1360616217, 'portfolio_id': 23274404}, {'photo_id': 1360616189, 'portfolio_id': 23274404}, {'photo_id': 1360616165, 'portfolio_id': 23274404}, {'photo_id': 1360615861, 'portfolio_id': 23274404}, {'photo_id': 1360615823, 'portfolio_id': 23274404}, {'photo_id': 1360615756, 'portfolio_id': 23274404}, {'photo_id': 1360615706, 'portfolio_id': 23274404}, {'photo_id': 1360615649, 'portfolio_id': 23274404}, {'photo_id': 1360615246, 'portfolio_id': 23274404}, {'photo_id': 1360615223, 'portfolio_id': 23274404}, {'photo_id': 1360615198, 'portfolio_id': 23274404}, {'photo_id': 1360615161, 'portfolio_id': 23274404}] map_portfolio_id_photo_id: {23274404: [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301, 1360617286, 1360617278, 1360617243, 1360617204, 1360616834, 1360616767, 1360616710, 1360616665, 1360616632, 1360616481, 1360616442, 1360616399, 1360616240, 1360616217, 1360616189, 1360616165, 1360615861, 1360615823, 1360615756, 1360615706, 1360615649, 1360615246, 1360615223, 1360615198, 1360615161]} ##### 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.0423583984375 #### 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 Mon May 26 17:38:29 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 (23274404) 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 : 23274404 get user id for portfolio 23274404 get sub ptf for main ptf 23274404, type 3726 and hashtags ['metal', 'mal_croppe', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'papier', 'flou', 'kraft', 'Carton_gris', 'plastique', 'cartonnette', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23274404 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','papier','flou','kraft','Carton_gris','plastique','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23274404 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','papier','flou','kraft','Carton_gris','plastique','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 23274404, 'sub_port_id': 23274412, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525791, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'cartonnette': {'main_port_id': 23274404, 'sub_port_id': 23274413, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525792, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'environnement': {'main_port_id': 23274404, 'sub_port_id': 23274414, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525793, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'autre_refus': {'main_port_id': 23274404, 'sub_port_id': 23274415, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525794, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 23274404, 'sub_port_id': 23274416, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525795, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'flou': {'main_port_id': 23274404, 'sub_port_id': 23274417, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525796, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'metal': {'main_port_id': 23274404, 'sub_port_id': 23274418, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525797, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'papier': {'main_port_id': 23274404, 'sub_port_id': 23274419, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525798, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'Carton_brun': {'main_port_id': 23274404, 'sub_port_id': 23274420, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525799, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'plastique': {'main_port_id': 23274404, 'sub_port_id': 23274421, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525800, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'kraft': {'main_port_id': 23274404, 'sub_port_id': 23274422, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525801, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}, 'mal_croppe': {'main_port_id': 23274404, 'sub_port_id': 23274423, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525802, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 35), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274412 , 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=23274404 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 (23274412) result : ((1360629282,), (1360629286,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274413 , 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=23274404 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 (23274413) result : ((1360629306,), (1360629310,), (1360629314,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274414 , 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=23274404 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 (23274414) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274415 , 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=23274404 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 (23274415) result : ((1360629259,), (1360629263,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274416 , 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=23274404 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 (23274416) result : ((1360629239,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274417 , 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=23274404 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 (23274417) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274418 , 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=23274404 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 (23274418) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274419 , 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=23274404 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 (23274419) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274420 , 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=23274404 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 (23274420) result : ((1360629333,), (1360629337,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274421 , 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=23274404 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 (23274421) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274422 , 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=23274404 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 (23274422) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23274423 , 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=23274404 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 (23274423) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23274404) result : ((1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23274404 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','papier','flou','kraft','Carton_gris','plastique','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23274404 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','environnement','Teint_Dans_La_Masse','papier','flou','kraft','Carton_gris','plastique','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 23274404, 'sub_port_id': 23274425, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525803, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'cartonnette': {'main_port_id': 23274404, 'sub_port_id': 23274426, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525804, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'environnement': {'main_port_id': 23274404, 'sub_port_id': 23274427, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525805, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'autre_refus': {'main_port_id': 23274404, 'sub_port_id': 23274428, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525806, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'Teint_Dans_La_Masse': {'main_port_id': 23274404, 'sub_port_id': 23274430, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525807, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'flou': {'main_port_id': 23274404, 'sub_port_id': 23274431, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525808, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'metal': {'main_port_id': 23274404, 'sub_port_id': 23274432, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525809, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'papier': {'main_port_id': 23274404, 'sub_port_id': 23274433, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525810, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'Carton_brun': {'main_port_id': 23274404, 'sub_port_id': 23274434, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525811, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'plastique': {'main_port_id': 23274404, 'sub_port_id': 23274435, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525812, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'kraft': {'main_port_id': 23274404, 'sub_port_id': 23274436, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525813, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 36), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}, 'mal_croppe': {'main_port_id': 23274404, 'sub_port_id': 23274437, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15525814, 'last_updated_at': datetime.datetime(2025, 5, 22, 19, 53, 37), 'last_updated_at_desc': datetime.datetime(2025, 5, 22, 19, 53, 37), 'last_updated_at_asc': datetime.datetime(2025, 5, 22, 19, 53, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274430,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274431,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274417 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274432,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274418 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274433,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274419 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274434,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274420 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274435,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274421 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274436,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274422 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23274437,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23274423 lien utilise dans velours : https://www.fotonower.com/velours/23274425,23274426,23274427,23274428,23274430,23274431,23274432,23274433,23274434,23274435,23274436,23274437?tags=Carton_gris,cartonnette,environnement,autre_refus,Teint_Dans_La_Masse,flou,metal,papier,Carton_brun,plastique,kraft,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23274404]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] map_info['map_portfolio_photo'] : {23274404: [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301, 1360617286, 1360617278, 1360617243, 1360617204, 1360616834, 1360616767, 1360616710, 1360616665, 1360616632, 1360616481, 1360616442, 1360616399, 1360616240, 1360616217, 1360616189, 1360616165, 1360615861, 1360615823, 1360615756, 1360615706, 1360615649, 1360615246, 1360615223, 1360615198, 1360615161]} final : False mtd_id 4302 list_pids : [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] Looping around the photos to save general results len do output : 1 /23274404. 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, '2936819') ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '23274404', "{'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423}", None, None, None, None, '2936819'), ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819')] time used for this insertion : 0.03653287887573242 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5449376106262207 time spend to save output : 0.03702092170715332 total time spend for step 1 : 1.581958532333374 step2:final Mon May 26 17:38:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23274404) 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 23274404 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1360615246,1360615223,1360615198,1360615161,1360615861,1360615823,1360615756,1360615706,1360615649,1360616240,1360616217,1360616189,1360616165,1360616481,1360616442,1360616399,1360616834,1360616767,1360616710,1360616665,1360616632,1360617286,1360617278,1360617243,1360617204,1360617312,1360617309,1360617307,1360617303,1360617301,1360617358,1360617356,1360617351,1360617346,1360617341,1360617337,1360617419,1360617415,1360617410,1360617389,1360617384,1360617564,1360617538,1360617512,1360617487,1360618047,1360618024,1360617998,1360617975,1360617951,1360617928,1360618354,1360618313,1360618286,1360618241,1360618196,1360618640,1360618636,1360618632,1360618993,1360618966,1360618937,1360618903,1360619268); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23274404]) Inside saveOutput : final : False verbose : True original output for save of step final : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} new output for save of step final : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] map_info['map_portfolio_photo'] : {23274404: [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301, 1360617286, 1360617278, 1360617243, 1360617204, 1360616834, 1360616767, 1360616710, 1360616665, 1360616632, 1360616481, 1360616442, 1360616399, 1360616240, 1360616217, 1360616189, 1360616165, 1360615861, 1360615823, 1360615756, 1360615706, 1360615649, 1360615246, 1360615223, 1360615198, 1360615161]} final : False mtd_id 4302 list_pids : [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] Looping around the photos to save general results len do output : 39 /1360619268.Didn't retrieve data . /1360618993.Didn't retrieve data . /1360618966.Didn't retrieve data . /1360618937.Didn't retrieve data . /1360618903.Didn't retrieve data . /1360618640.Didn't retrieve data . /1360618636.Didn't retrieve data . /1360618632.Didn't retrieve data . /1360618354.Didn't retrieve data . /1360618313.Didn't retrieve data . /1360618286.Didn't retrieve data . /1360618241.Didn't retrieve data . /1360618196.Didn't retrieve data . /1360618047.Didn't retrieve data . /1360618024.Didn't retrieve data . /1360617998.Didn't retrieve data . /1360617975.Didn't retrieve data . /1360617951.Didn't retrieve data . /1360617928.Didn't retrieve data . /1360617564.Didn't retrieve data . /1360617538.Didn't retrieve data . /1360617512.Didn't retrieve data . /1360617487.Didn't retrieve data . /1360617419.Didn't retrieve data . /1360617415.Didn't retrieve data . /1360617410.Didn't retrieve data . /1360617389.Didn't retrieve data . /1360617384.Didn't retrieve data . /1360617358.Didn't retrieve data . /1360617356.Didn't retrieve data . /1360617351.Didn't retrieve data . /1360617346.Didn't retrieve data . /1360617341.Didn't retrieve data . /1360617337.Didn't retrieve data . /1360617312.Didn't retrieve data . /1360617309.Didn't retrieve data . /1360617307.Didn't retrieve data . /1360617303.Didn't retrieve data . /1360617301.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, '2936819') ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 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', '23274404', '1360619268', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618993', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618966', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618937', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618903', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618640', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618636', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618632', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618354', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618313', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618286', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618241', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618196', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618047', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360618024', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617998', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617975', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617951', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617928', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617564', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617538', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617512', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617487', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617419', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617415', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617410', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617389', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617384', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617358', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617356', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617351', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617346', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617341', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617337', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617312', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617309', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617307', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617303', '0.030456146903797752', None, None, None, None, '2936819'), ('4302', '23274404', '1360617301', '0.030456146903797752', None, None, None, None, '2936819')] time used for this insertion : 0.019688129425048828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07225751876831055 time spend to save output : 0.020806550979614258 total time spend for step 2 : 0.0930640697479248 step3:velours_tree Mon May 26 17:38:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23274404: [{'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423}]} input_args_next_step : {23274404: ()} output_args : {23274404: [{'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423}]} args : 23274404 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23274404) 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([23274404]) 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.9087684154510498 time spend to save output : 9.608268737792969e-05 total time spend for step 3 : 0.9088644981384277 step4:send_mail_cod Mon May 26 17:38:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} input_args_next_step : {1360619268: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360619268 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618993 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618966 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618937 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618903 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618640 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618636 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618632 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618354 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618313 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618286 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618241 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618196 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618047 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360618024 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617998 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617975 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617951 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617928 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617564 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617538 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617512 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617487 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617419 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617415 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617410 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617389 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617384 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617358 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617356 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617351 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617346 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617341 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617337 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617312 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617309 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617307 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617303 depend.output_id : 0 input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ()} output_args : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',)} args : 1360617301 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 : {23274404: [{'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423}]} input_args_next_step : {1360619268: ('0.030456146903797752',), 1360618993: ('0.030456146903797752',), 1360618966: ('0.030456146903797752',), 1360618937: ('0.030456146903797752',), 1360618903: ('0.030456146903797752',), 1360618640: ('0.030456146903797752',), 1360618636: ('0.030456146903797752',), 1360618632: ('0.030456146903797752',), 1360618354: ('0.030456146903797752',), 1360618313: ('0.030456146903797752',), 1360618286: ('0.030456146903797752',), 1360618241: ('0.030456146903797752',), 1360618196: ('0.030456146903797752',), 1360618047: ('0.030456146903797752',), 1360618024: ('0.030456146903797752',), 1360617998: ('0.030456146903797752',), 1360617975: ('0.030456146903797752',), 1360617951: ('0.030456146903797752',), 1360617928: ('0.030456146903797752',), 1360617564: ('0.030456146903797752',), 1360617538: ('0.030456146903797752',), 1360617512: ('0.030456146903797752',), 1360617487: ('0.030456146903797752',), 1360617419: ('0.030456146903797752',), 1360617415: ('0.030456146903797752',), 1360617410: ('0.030456146903797752',), 1360617389: ('0.030456146903797752',), 1360617384: ('0.030456146903797752',), 1360617358: ('0.030456146903797752',), 1360617356: ('0.030456146903797752',), 1360617351: ('0.030456146903797752',), 1360617346: ('0.030456146903797752',), 1360617341: ('0.030456146903797752',), 1360617337: ('0.030456146903797752',), 1360617312: ('0.030456146903797752',), 1360617309: ('0.030456146903797752',), 1360617307: ('0.030456146903797752',), 1360617303: ('0.030456146903797752',), 1360617301: ('0.030456146903797752',), 23274404: ()} output_args : {23274404: [{'Carton_gris': 23274412, 'cartonnette': 23274413, 'environnement': 23274414, 'autre_refus': 23274415, 'Teint_Dans_La_Masse': 23274416, 'flou': 23274417, 'metal': 23274418, 'papier': 23274419, 'Carton_brun': 23274420, 'plastique': 23274421, 'kraft': 23274422, 'mal_croppe': 23274423}]} args : 23274404 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 :40, first value : ('0.030456146903797752',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23274404) 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 (1360619268,1360618993,1360618966,1360618937,1360618903,1360618640,1360618636,1360618632,1360618354,1360618313,1360618286,1360618241,1360618196,1360618047,1360618024,1360617998,1360617975,1360617951,1360617928,1360617564,1360617538,1360617512,1360617487,1360617419,1360617415,1360617410,1360617389,1360617384,1360617358,1360617356,1360617351,1360617346,1360617341,1360617337,1360617312,1360617309,1360617307,1360617303,1360617301) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1360617301 begin to download photo : 1360617351 begin to download photo : 1360617487 begin to download photo : 1360618024 begin to download photo : 1360618636 download finish for photo 1360617487 begin to download photo : 1360617512 download finish for photo 1360618024 begin to download photo : 1360618047 download finish for photo 1360617301 begin to download photo : 1360617303 download finish for photo 1360617351 begin to download photo : 1360617356 download finish for photo 1360618636 begin to download photo : 1360618640 download finish for photo 1360617512 begin to download photo : 1360617538 download finish for photo 1360618047 begin to download photo : 1360618196 download finish for photo 1360617303 begin to download photo : 1360617307 download finish for photo 1360617356 begin to download photo : 1360617358 download finish for photo 1360618640 begin to download photo : 1360618903 download finish for photo 1360617538 begin to download photo : 1360617564 download finish for photo 1360617307 begin to download photo : 1360617309 download finish for photo 1360618196 begin to download photo : 1360618241 download finish for photo 1360617358 begin to download photo : 1360617384 download finish for photo 1360618903 begin to download photo : 1360618937 download finish for photo 1360618241 begin to download photo : 1360618286 download finish for photo 1360617309 begin to download photo : 1360617312 download finish for photo 1360617564 begin to download photo : 1360617928 download finish for photo 1360617384 begin to download photo : 1360617389 download finish for photo 1360618937 begin to download photo : 1360618966 download finish for photo 1360618286 begin to download photo : 1360618313 download finish for photo 1360617928 begin to download photo : 1360617951 download finish for photo 1360617312 begin to download photo : 1360617337 download finish for photo 1360617389 begin to download photo : 1360617410 download finish for photo 1360618966 begin to download photo : 1360618993 download finish for photo 1360617410 download finish for photo 1360617337 begin to download photo : 1360617415 begin to download photo : 1360617341 download finish for photo 1360617951 begin to download photo : 1360617975 download finish for photo 1360618313 begin to download photo : 1360618354 download finish for photo 1360618993 begin to download photo : 1360619268 download finish for photo 1360617415 begin to download photo : 1360617419 download finish for photo 1360617341 begin to download photo : 1360617346 download finish for photo 1360617975 begin to download photo : 1360617998 download finish for photo 1360619268 download finish for photo 1360618354 begin to download photo : 1360618632 download finish for photo 1360617346 download finish for photo 1360617419 download finish for photo 1360617998 download finish for photo 1360618632 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P23274404_26-05-2025_17_38_33.pdf 23274413 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=23274413 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360629306: '1747938868_2311186_1360615861_04740c364d538642571fa8c708084877_rle_crop_3810661391_0.png', 1360629310: '1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661401_0.png', 1360629314: '1747938868_2311186_1360615161_e6507875cbe8a5b072743d34acefbce4_rle_crop_3810661441_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/5e53f228fa7297ad55ae8d3ef2b92265_4703427.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/73d4f64a37ecf0ab4f502e3fd45267b9_45324901.png change filename to text .imagette232744131748273913/ imagette232744131748273913/1747938868_2311186_1360615161_e6507875cbe8a5b072743d34acefbce4_rle_crop_3810661441_0.png.png imagette232744131748273913/1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661401_0.png.png imagette232744131748273913/1747938868_2311186_1360615861_04740c364d538642571fa8c708084877_rle_crop_3810661391_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/6aca9c8f93bdf8731ef65729a298a4d1_11252369.png imagette232744131748273913 23274415 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=23274415 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360629259: '1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661430_0.png', 1360629263: '1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661425_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/4add103d554e2d52da23b23b75e289b4_2963975.png change filename to text .imagette232744151748273913/ imagette232744151748273913/1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661425_0.png.png imagette232744151748273913/1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661430_0.png.png imagette232744171748273913/ imagette232744181748273913/ imagette232744211748273913/ imagette232744221748273913/ imagette232744231748273913/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/b06c5000853d9868e092a38b1722b02d_37910102.png imagette232744151748273913 23274417 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=23274417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232744171748273913 23274418 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=23274418 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232744181748273913 23274421 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=23274421 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232744211748273913 23274422 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=23274422 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232744221748273913 23274423 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=23274423 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232744231748273913 23274412 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=23274412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360629282: '1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661400_0.png', 1360629286: '1747938868_2311186_1360615161_e6507875cbe8a5b072743d34acefbce4_rle_crop_3810661446_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/a399aba874443346b4489eaa787f6299_45773172.png change filename to text .imagette232744121748273913/ imagette232744121748273913/1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661400_0.png.png imagette232744121748273913/1747938868_2311186_1360615161_e6507875cbe8a5b072743d34acefbce4_rle_crop_3810661446_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/f5c13b059f75f45146863cbc834299e7_21204355.png imagette232744121748273913 23274416 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=23274416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360629239: '1747938868_2311186_1360615861_04740c364d538642571fa8c708084877_rle_crop_3810661390_0.png'} change filename to text .imagette232744161748273913/ imagette232744161748273913/1747938868_2311186_1360615861_04740c364d538642571fa8c708084877_rle_crop_3810661390_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/e09cf2e6f39a4bb111e57737b65431d1_42014876.png imagette232744161748273913 23274420 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=23274420 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360629333: '1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661404_0.png', 1360629337: '1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661435_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/54701ebf7a5644639d86bb7cd81dbad1_59172008.png change filename to text .imagette232744201748273913/ imagette232744201748273913/1747938868_2311186_1360615246_44b1a0ae1ffd22c9487a0b82a8ed17b9_rle_crop_3810661404_0.png.png imagette232744201748273913/1747938868_2311186_1360615198_88c5d9d67fa98ef00195cea48622623d_rle_crop_3810661435_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/8ef311e670e6aa854556060f78243e7f_92144847.png imagette232744201748273913 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23274404 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23274425,23274426,23274427,23274428,23274430,23274431,23274432,23274433,23274434,23274435,23274436,23274437?tags=Carton_gris,cartonnette,environnement,autre_refus,Teint_Dans_La_Masse,flou,metal,papier,Carton_brun,plastique,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1360619268] : ('0.030456146903797752',) no score found for photo 1360619268 We are sending mail with results at report@fotonower.com args[1360618993] : ('0.030456146903797752',) no score found for photo 1360618993 We are sending mail with results at report@fotonower.com args[1360618966] : ('0.030456146903797752',) no score found for photo 1360618966 We are sending mail with results at report@fotonower.com args[1360618937] : ('0.030456146903797752',) no score found for photo 1360618937 We are sending mail with results at report@fotonower.com args[1360618903] : ('0.030456146903797752',) no score found for photo 1360618903 We are sending mail with results at report@fotonower.com args[1360618640] : ('0.030456146903797752',) no score found for photo 1360618640 We are sending mail with results at report@fotonower.com args[1360618636] : ('0.030456146903797752',) no score found for photo 1360618636 We are sending mail with results at report@fotonower.com args[1360618632] : ('0.030456146903797752',) no score found for photo 1360618632 We are sending mail with results at report@fotonower.com args[1360618354] : ('0.030456146903797752',) no score found for photo 1360618354 We are sending mail with results at report@fotonower.com args[1360618313] : ('0.030456146903797752',) no score found for photo 1360618313 We are sending mail with results at report@fotonower.com args[1360618286] : ('0.030456146903797752',) no score found for photo 1360618286 We are sending mail with results at report@fotonower.com args[1360618241] : ('0.030456146903797752',) no score found for photo 1360618241 We are sending mail with results at report@fotonower.com args[1360618196] : ('0.030456146903797752',) no score found for photo 1360618196 We are sending mail with results at report@fotonower.com args[1360618047] : ('0.030456146903797752',) no score found for photo 1360618047 We are sending mail with results at report@fotonower.com args[1360618024] : ('0.030456146903797752',) no score found for photo 1360618024 We are sending mail with results at report@fotonower.com args[1360617998] : ('0.030456146903797752',) no score found for photo 1360617998 We are sending mail with results at report@fotonower.com args[1360617975] : ('0.030456146903797752',) no score found for photo 1360617975 We are sending mail with results at report@fotonower.com args[1360617951] : ('0.030456146903797752',) no score found for photo 1360617951 We are sending mail with results at report@fotonower.com args[1360617928] : ('0.030456146903797752',) no score found for photo 1360617928 We are sending mail with results at report@fotonower.com args[1360617564] : ('0.030456146903797752',) no score found for photo 1360617564 We are sending mail with results at report@fotonower.com args[1360617538] : ('0.030456146903797752',) no score found for photo 1360617538 We are sending mail with results at report@fotonower.com args[1360617512] : ('0.030456146903797752',) no score found for photo 1360617512 We are sending mail with results at report@fotonower.com args[1360617487] : ('0.030456146903797752',) no score found for photo 1360617487 We are sending mail with results at report@fotonower.com args[1360617419] : ('0.030456146903797752',) no score found for photo 1360617419 We are sending mail with results at report@fotonower.com args[1360617415] : ('0.030456146903797752',) no score found for photo 1360617415 We are sending mail with results at report@fotonower.com args[1360617410] : ('0.030456146903797752',) no score found for photo 1360617410 We are sending mail with results at report@fotonower.com args[1360617389] : ('0.030456146903797752',) no score found for photo 1360617389 We are sending mail with results at report@fotonower.com args[1360617384] : ('0.030456146903797752',) no score found for photo 1360617384 We are sending mail with results at report@fotonower.com args[1360617358] : ('0.030456146903797752',) no score found for photo 1360617358 We are sending mail with results at report@fotonower.com args[1360617356] : ('0.030456146903797752',) no score found for photo 1360617356 We are sending mail with results at report@fotonower.com args[1360617351] : ('0.030456146903797752',) no score found for photo 1360617351 We are sending mail with results at report@fotonower.com args[1360617346] : ('0.030456146903797752',) no score found for photo 1360617346 We are sending mail with results at report@fotonower.com args[1360617341] : ('0.030456146903797752',) no score found for photo 1360617341 We are sending mail with results at report@fotonower.com args[1360617337] : ('0.030456146903797752',) no score found for photo 1360617337 We are sending mail with results at report@fotonower.com args[1360617312] : ('0.030456146903797752',) no score found for photo 1360617312 We are sending mail with results at report@fotonower.com args[1360617309] : ('0.030456146903797752',) no score found for photo 1360617309 We are sending mail with results at report@fotonower.com args[1360617307] : ('0.030456146903797752',) no score found for photo 1360617307 We are sending mail with results at report@fotonower.com args[1360617303] : ('0.030456146903797752',) no score found for photo 1360617303 We are sending mail with results at report@fotonower.com args[1360617301] : ('0.030456146903797752',) no score found for photo 1360617301 We are sending mail with results at report@fotonower.com refus_total : 0.030456146903797752 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=23274404 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_P23274404_26-05-2025_17_38_33.pdf results_Auto_P23274404_26-05-2025_17_38_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','23274404','results_Auto_P23274404_26-05-2025_17_38_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf','pdf','','0.31','0.030456146903797752') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23274404]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] map_info['map_portfolio_photo'] : {23274404: [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301, 1360617286, 1360617278, 1360617243, 1360617204, 1360616834, 1360616767, 1360616710, 1360616665, 1360616632, 1360616481, 1360616442, 1360616399, 1360616240, 1360616217, 1360616189, 1360616165, 1360615861, 1360615823, 1360615756, 1360615706, 1360615649, 1360615246, 1360615223, 1360615198, 1360615161]} final : False mtd_id 4302 list_pids : [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] 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, '2936819') ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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', '23274404', '1360619268', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819')] time used for this insertion : 0.017253398895263672 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.706456899642944 time spend to save output : 0.017751693725585938 total time spend for step 4 : 4.72420859336853 step5:split_time_score Mon May 26 17:38:36 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 : ['23274404'] 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 : [('23274404',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23274404) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1360618636: {'path': 'temp/1748273911_601501_1360618636_a71e4c09e0a77911f6c40ee080992cd5.jpg', 'extension': 'jpg'}, 1360618640: {'path': 'temp/1748273911_601501_1360618640_c7c2bdc8d883a7f6ab3adf2119085454.jpg', 'extension': 'jpg'}, 1360618903: {'path': 'temp/1748273911_601501_1360618903_fe2249b8c1d4d31a230879135d436e1b.jpg', 'extension': 'jpg'}, 1360618937: {'path': 'temp/1748273911_601501_1360618937_49f8ec0e4be5e275f0373d4a76ddb978.jpg', 'extension': 'jpg'}, 1360618966: {'path': 'temp/1748273911_601501_1360618966_87c6a78aed42a1cf0307ca9fdf857fb7.jpg', 'extension': 'jpg'}, 1360618993: {'path': 'temp/1748273911_601501_1360618993_5d1e20313243cdcbf74f4031683514a1.jpg', 'extension': 'jpg'}, 1360619268: {'path': 'temp/1748273911_601501_1360619268_eeb1ba15e8c985d5520f30c10bbe7cb4.jpg', 'extension': 'jpg'}, 1360617301: {'path': 'temp/1748273911_601501_1360617301_e1fdd6b72ee773188c66758c5eaf40cf.jpg', 'extension': 'jpg'}, 1360617303: {'path': 'temp/1748273911_601501_1360617303_f4da8d426866c8f35b7a6049d4f24ac2.jpg', 'extension': 'jpg'}, 1360617307: {'path': 'temp/1748273911_601501_1360617307_ce28267579bab3a6f59d23fd4703f394.jpg', 'extension': 'jpg'}, 1360617309: {'path': 'temp/1748273911_601501_1360617309_a3ff3a8ce945609b79c78f301a69febc.jpg', 'extension': 'jpg'}, 1360617312: {'path': 'temp/1748273911_601501_1360617312_6d3273365b770262f542832248de94e9.jpg', 'extension': 'jpg'}, 1360617337: {'path': 'temp/1748273911_601501_1360617337_a7b5267c9a0e04d6d7cbf0bf69795630.jpg', 'extension': 'jpg'}, 1360617341: {'path': 'temp/1748273911_601501_1360617341_22fb6a06e3439a7f1cc38984ec482226.jpg', 'extension': 'jpg'}, 1360617346: {'path': 'temp/1748273911_601501_1360617346_0a2675f9d9ecf70c4ea9e81f1f2a0d73.jpg', 'extension': 'jpg'}, 1360617351: {'path': 'temp/1748273911_601501_1360617351_6d00a885ebfda4b381afbb6d4f485e9c.jpg', 'extension': 'jpg'}, 1360617356: {'path': 'temp/1748273911_601501_1360617356_ae0484898f6e519aad68d1c80a0cce95.jpg', 'extension': 'jpg'}, 1360617358: {'path': 'temp/1748273911_601501_1360617358_e4a49a5cc602adf1c1eb9e1e78701a1d.jpg', 'extension': 'jpg'}, 1360617384: {'path': 'temp/1748273911_601501_1360617384_f431c13bde93b4928fac36baa4aacffa.jpg', 'extension': 'jpg'}, 1360617389: {'path': 'temp/1748273911_601501_1360617389_6a0660895ecfd73012afebf140d07fd6.jpg', 'extension': 'jpg'}, 1360617410: {'path': 'temp/1748273911_601501_1360617410_fd0605739743c04740598c134e5304f1.jpg', 'extension': 'jpg'}, 1360617415: {'path': 'temp/1748273911_601501_1360617415_52001a0b3465b814dc1d00f4793ec34d.jpg', 'extension': 'jpg'}, 1360617419: {'path': 'temp/1748273911_601501_1360617419_8fd71704ea3548e777df71e8c3eafd12.jpg', 'extension': 'jpg'}, 1360617487: {'path': 'temp/1748273911_601501_1360617487_0eee89f4bfdb7e21b10f163b903d96cc.jpg', 'extension': 'jpg'}, 1360617512: {'path': 'temp/1748273911_601501_1360617512_7c33faafc7897e1304392f5f621c841d.jpg', 'extension': 'jpg'}, 1360617538: {'path': 'temp/1748273911_601501_1360617538_654739e6ab77c00daee7efabdb7d429f.jpg', 'extension': 'jpg'}, 1360617564: {'path': 'temp/1748273911_601501_1360617564_fb4285014028dac784b030ad2488d9cc.jpg', 'extension': 'jpg'}, 1360617928: {'path': 'temp/1748273911_601501_1360617928_a1f8a29f1eda8aeead8f2c0a95f7d8f3.jpg', 'extension': 'jpg'}, 1360617951: {'path': 'temp/1748273911_601501_1360617951_448bf5749b1192746aad92a903cb502c.jpg', 'extension': 'jpg'}, 1360617975: {'path': 'temp/1748273911_601501_1360617975_1189cbf131b85332bfdda357f973eaa8.jpg', 'extension': 'jpg'}, 1360617998: {'path': 'temp/1748273911_601501_1360617998_a0ecabedef346ce0f2ecae13e87df0ae.jpg', 'extension': 'jpg'}, 1360618024: {'path': 'temp/1748273911_601501_1360618024_cc89b7c85d3dda0a74933adef40c4515.jpg', 'extension': 'jpg'}, 1360618047: {'path': 'temp/1748273911_601501_1360618047_8c773badba60a6ae82be662e24d0fd68.jpg', 'extension': 'jpg'}, 1360618196: {'path': 'temp/1748273911_601501_1360618196_f6f445e676844c22d7262ed6545d6184.jpg', 'extension': 'jpg'}, 1360618241: {'path': 'temp/1748273911_601501_1360618241_6b30640a97b2e0f06e5ba50ca36bcdb4.jpg', 'extension': 'jpg'}, 1360618286: {'path': 'temp/1748273911_601501_1360618286_2934b4c1412854fd95cb3bd92a6f796b.jpg', 'extension': 'jpg'}, 1360618313: {'path': 'temp/1748273911_601501_1360618313_2227de95c63e7c11246903569b34e3ea.jpg', 'extension': 'jpg'}, 1360618354: {'path': 'temp/1748273911_601501_1360618354_5d0466f271f13d92822af864a334f61f.jpg', 'extension': 'jpg'}, 1360618632: {'path': 'temp/1748273911_601501_1360618632_e98eb286b281ce9c9c1bcb76a297be23.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 = 23274404; (('arc_en_ciel_jrm_bis',), ('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 = 23274404 group by h (('19', 64),) 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=23274404 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 (23274404) 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 (23274404) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22052025 23274404 Nombre de photos uploadées : 64 / 23040 (0%) 22052025 23274404 Nombre de photos taguées (types de déchets): 0 / 64 (0%) 22052025 23274404 Nombre de photos taguées (volume) : 0 / 64 (0%) [{'photo_id': 1360615246, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/44b1a0ae1ffd22c9487a0b82a8ed17b9.jpg', 'username': None, 'uploaded_at': 1747935967, 'text': 'image_22052025_19_45_04_010152m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1360615223, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/09eb20a0f1b91fb589726a9b0ab5bdde.jpg', 'username': None, 'uploaded_at': 1747935967, 'text': 'image_22052025_19_45_14_010134m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1360615198, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/88c5d9d67fa98ef00195cea48622623d.jpg', 'username': None, 'uploaded_at': 1747935967, 'text': 'image_22052025_19_45_24_010132m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1360615161, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/e6507875cbe8a5b072743d34acefbce4.jpg', 'username': None, 'uploaded_at': 1747935967, 'text': 'image_22052025_19_45_34_010133m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ???????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002775430679321289 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23274404, '2025-05-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1828582,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023557424545288086 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= 1828582 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23245647, 'dashboard_result_id': 10889026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23246295, 'dashboard_result_id': 10889027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23246834, 'dashboard_result_id': 10889028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23247440, 'dashboard_result_id': 10889029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23248080, 'dashboard_result_id': 10889030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23249066, 'dashboard_result_id': 10889031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23249917, 'dashboard_result_id': 10889032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23250582, 'dashboard_result_id': 10889033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23251214, 'dashboard_result_id': 10889034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23252105, 'dashboard_result_id': 10889035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23252796, 'dashboard_result_id': 10889036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23253453, 'dashboard_result_id': 10889037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23254154, 'dashboard_result_id': 10889038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23254922, 'dashboard_result_id': 10889039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23255622, 'dashboard_result_id': 10889040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23256653, 'dashboard_result_id': 10889041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23259112, 'dashboard_result_id': 10889042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23259665, 'dashboard_result_id': 10889043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23260337, 'dashboard_result_id': 10889044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23261270, 'dashboard_result_id': 10889045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_15_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282051, 'dashboard_result_id': 10889046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282051_26-05-2025_16_59_33.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282054, 'dashboard_result_id': 10889047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282054_26-05-2025_16_59_02.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282057, 'dashboard_result_id': 10889048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282057_26-05-2025_16_57_33.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282061, 'dashboard_result_id': 10889049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282061_26-05-2025_16_58_04.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282066, 'dashboard_result_id': 10889050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282066_26-05-2025_16_57_04.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282069, 'dashboard_result_id': 10889051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282069_26-05-2025_16_56_04.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282073, 'dashboard_result_id': 10889052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282073_26-05-2025_16_55_31.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282078, 'dashboard_result_id': 10889053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282078_26-05-2025_16_54_01.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282082, 'dashboard_result_id': 10889054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282082_26-05-2025_16_55_00.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282085, 'dashboard_result_id': 10889055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282085_26-05-2025_16_53_32.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282088, 'dashboard_result_id': 10889056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282088_26-05-2025_16_52_33.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23269089, 'dashboard_result_id': 10889057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23269889, 'dashboard_result_id': 10889058, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23270275, 'dashboard_result_id': 10889059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23270548, 'dashboard_result_id': 10889060, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270548_22-05-2025_18_19_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270617, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282093, 'dashboard_result_id': 10889061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282093_26-05-2025_16_52_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345971, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282098, 'dashboard_result_id': 10889062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282098_26-05-2025_16_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23345926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345937, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282101, 'dashboard_result_id': 10889063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282101_26-05-2025_16_50_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345861, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282105, 'dashboard_result_id': 10889064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282105_26-05-2025_16_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345775, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282108, 'dashboard_result_id': 10889065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282108_26-05-2025_16_50_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345806, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23274404, 'dashboard_result_id': 10889066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_22-05-2025_19_53_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23275361, 'dashboard_result_id': 10889067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282110, 'dashboard_result_id': 10889068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282110_26-05-2025_16_49_02.pdf'}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23276710, 'dashboard_result_id': 10889069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23277380, 'dashboard_result_id': 10889070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23277400, 'dashboard_result_id': 10889071, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23278326, 'dashboard_result_id': 10889072, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282113, 'dashboard_result_id': 10889073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282113_26-05-2025_16_48_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345685, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23279461, 'dashboard_result_id': 10889074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279461_22-05-2025_22_19_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279502, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23279464, 'dashboard_result_id': 10889075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282115, 'dashboard_result_id': 10889076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282115_26-05-2025_16_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345649, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282119, 'dashboard_result_id': 10889077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282119_23-05-2025_00_03_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282186, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23281996, 'dashboard_result_id': 10889078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281996_26-05-2025_17_00_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346556, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23281586, 'dashboard_result_id': 10889079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23281587, 'dashboard_result_id': 10889080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281587_26-05-2025_15_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281637, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1842315, 'mtr_portfolio_id': 23282000, 'dashboard_result_id': 10889081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282000_26-05-2025_17_00_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346532, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23245647 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943527, 'mtr_portfolio_id': 23245647, 'created_at': datetime.datetime(2025, 5, 26, 15, 21, 58), 'result': '0.10100379997966319', 'result_long': None, 'result_double': None}] Qualite : 0.10100379997966319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23245647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23245647 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, 'pht': 3726}}" where mtr_portfolio_id = 23245647 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23245647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889026, 0.10100379997966319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23246295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943528, 'mtr_portfolio_id': 23246295, 'created_at': datetime.datetime(2025, 5, 26, 15, 21, 29), 'result': '0.054065384250483774', 'result_long': None, 'result_double': None}] Qualite : 0.054065384250483774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23246295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23246295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, 'pht': 3726}}" where mtr_portfolio_id = 23246295 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23246295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889027, 0.054065384250483774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23246834 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943529, 'mtr_portfolio_id': 23246834, 'created_at': datetime.datetime(2025, 5, 26, 15, 20, 31), 'result': '0.044629349084889115', 'result_long': None, 'result_double': None}] Qualite : 0.044629349084889115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23246834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23246834 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, 'pht': 3726}}" where mtr_portfolio_id = 23246834 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23246834 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889028, 0.044629349084889115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23247440 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943530, 'mtr_portfolio_id': 23247440, 'created_at': datetime.datetime(2025, 5, 26, 15, 19, 59), 'result': '0.0592328504272115', 'result_long': None, 'result_double': None}] Qualite : 0.0592328504272115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23247440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23247440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, 'pht': 3726}}" where mtr_portfolio_id = 23247440 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23247440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889029, 0.0592328504272115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23248080 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943531, 'mtr_portfolio_id': 23248080, 'created_at': datetime.datetime(2025, 5, 26, 15, 19, 30), 'result': '0.052921725712199746', 'result_long': None, 'result_double': None}] Qualite : 0.052921725712199746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23248080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23248080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, 'pht': 3726}}" where mtr_portfolio_id = 23248080 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23248080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889030, 0.052921725712199746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23249066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943532, 'mtr_portfolio_id': 23249066, 'created_at': datetime.datetime(2025, 5, 26, 15, 19), 'result': '0.04428440747969766', 'result_long': None, 'result_double': None}] Qualite : 0.04428440747969766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23249066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23249066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, 'pht': 3726}}" where mtr_portfolio_id = 23249066 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23249066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889031, 0.04428440747969766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23249917 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943533, 'mtr_portfolio_id': 23249917, 'created_at': datetime.datetime(2025, 5, 26, 15, 18, 29), 'result': '0.05253510826825477', 'result_long': None, 'result_double': None}] Qualite : 0.05253510826825477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23249917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23249917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, 'pht': 3726}}" where mtr_portfolio_id = 23249917 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23249917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889032, 0.05253510826825477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23250582 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943534, 'mtr_portfolio_id': 23250582, 'created_at': datetime.datetime(2025, 5, 26, 15, 17, 57), 'result': '0.0500163317029337', 'result_long': None, 'result_double': None}] Qualite : 0.0500163317029337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23250582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23250582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, 'pht': 3726}}" where mtr_portfolio_id = 23250582 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23250582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889033, 0.0500163317029337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23251214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943535, 'mtr_portfolio_id': 23251214, 'created_at': datetime.datetime(2025, 5, 26, 15, 17, 29), 'result': '0.059918003580651455', 'result_long': None, 'result_double': None}] Qualite : 0.059918003580651455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23251214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23251214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, 'pht': 3726}}" where mtr_portfolio_id = 23251214 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23251214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889034, 0.059918003580651455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23252105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943536, 'mtr_portfolio_id': 23252105, 'created_at': datetime.datetime(2025, 5, 26, 15, 16, 27), 'result': '0.028639904214449053', 'result_long': None, 'result_double': None}] Qualite : 0.028639904214449053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23252105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23252105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, 'pht': 3726}}" where mtr_portfolio_id = 23252105 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23252105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889035, 0.028639904214449053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23252796 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943537, 'mtr_portfolio_id': 23252796, 'created_at': datetime.datetime(2025, 5, 26, 15, 16), 'result': '0.03565716411333141', 'result_long': None, 'result_double': None}] Qualite : 0.03565716411333141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23252796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23252796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, 'pht': 3726}}" where mtr_portfolio_id = 23252796 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23252796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889036, 0.03565716411333141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23253453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943538, 'mtr_portfolio_id': 23253453, 'created_at': datetime.datetime(2025, 5, 26, 15, 15, 29), 'result': '0.04770613171271178', 'result_long': None, 'result_double': None}] Qualite : 0.04770613171271178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23253453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23253453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, 'pht': 3726}}" where mtr_portfolio_id = 23253453 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23253453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889037, 0.04770613171271178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23254154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943539, 'mtr_portfolio_id': 23254154, 'created_at': datetime.datetime(2025, 5, 26, 15, 14, 28), 'result': '0.07078247548082922', 'result_long': None, 'result_double': None}] Qualite : 0.07078247548082922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23254154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23254154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, 'pht': 3726}}" where mtr_portfolio_id = 23254154 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23254154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889038, 0.07078247548082922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23254922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943540, 'mtr_portfolio_id': 23254922, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 58), 'result': '0.014647166999379284', 'result_long': None, 'result_double': None}] Qualite : 0.014647166999379284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23254922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23254922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, 'pht': 3726}}" where mtr_portfolio_id = 23254922 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23254922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889039, 0.014647166999379284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23255622 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943541, 'mtr_portfolio_id': 23255622, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 30), 'result': '0.03619544528677854', 'result_long': None, 'result_double': None}] Qualite : 0.03619544528677854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23255622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23255622 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, 'pht': 3726}}" where mtr_portfolio_id = 23255622 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23255622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889040, 0.03619544528677854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23256653 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943542, 'mtr_portfolio_id': 23256653, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 1), 'result': '0.048326595070986834', 'result_long': None, 'result_double': None}] Qualite : 0.048326595070986834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23256653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23256653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, 'pht': 3726}}" where mtr_portfolio_id = 23256653 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23256653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889041, 0.048326595070986834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23259112 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943543, 'mtr_portfolio_id': 23259112, 'created_at': datetime.datetime(2025, 5, 26, 15, 11, 58), 'result': '0.05469361269119823', 'result_long': None, 'result_double': None}] Qualite : 0.05469361269119823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23259112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23259112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, 'pht': 3726}}" where mtr_portfolio_id = 23259112 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23259112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889042, 0.05469361269119823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23259665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943544, 'mtr_portfolio_id': 23259665, 'created_at': datetime.datetime(2025, 5, 26, 15, 11, 29), 'result': '0.07223669877008895', 'result_long': None, 'result_double': None}] Qualite : 0.07223669877008895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23259665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23259665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, 'pht': 3726}}" where mtr_portfolio_id = 23259665 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23259665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889043, 0.07223669877008895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23260337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943545, 'mtr_portfolio_id': 23260337, 'created_at': datetime.datetime(2025, 5, 26, 15, 10, 28), 'result': '0.09234260603013078', 'result_long': None, 'result_double': None}] Qualite : 0.09234260603013078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23260337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23260337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, 'pht': 3726}}" where mtr_portfolio_id = 23260337 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23260337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889044, 0.09234260603013078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23261270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943546, 'mtr_portfolio_id': 23261270, 'created_at': datetime.datetime(2025, 5, 26, 15, 9, 57), 'result': '0.04746640492635845', 'result_long': None, 'result_double': None}] Qualite : 0.04746640492635845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23261270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_15_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23261270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_15_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, 'pht': 3726}}" where mtr_portfolio_id = 23261270 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23261270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889045, 0.04746640492635845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_15_10_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282051 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 = 23282051 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 = 23282051 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282051 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 = 23282051 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 = 23282051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282051_26-05-2025_16_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282051_26-05-2025_16_59_33.pdf'}" where mtr_portfolio_id = 23282051 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282054 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 = 23282054 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 = 23282054 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282054 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 = 23282054 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 = 23282054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282054_26-05-2025_16_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282054_26-05-2025_16_59_02.pdf'}" where mtr_portfolio_id = 23282054 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282057 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 = 23282057 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 = 23282057 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282057 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 = 23282057 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 = 23282057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282057_26-05-2025_16_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282057 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282057_26-05-2025_16_57_33.pdf'}" where mtr_portfolio_id = 23282057 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282061 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 = 23282061 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 = 23282061 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282061 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 = 23282061 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 = 23282061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282061_26-05-2025_16_58_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282061_26-05-2025_16_58_04.pdf'}" where mtr_portfolio_id = 23282061 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282066 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 = 23282066 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 = 23282066 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282066 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 = 23282066 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 = 23282066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282066_26-05-2025_16_57_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282066_26-05-2025_16_57_04.pdf'}" where mtr_portfolio_id = 23282066 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282069 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 = 23282069 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 = 23282069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282069 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 = 23282069 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 = 23282069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282069_26-05-2025_16_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282069_26-05-2025_16_56_04.pdf'}" where mtr_portfolio_id = 23282069 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282073 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 = 23282073 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 = 23282073 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282073 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 = 23282073 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 = 23282073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282073_26-05-2025_16_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282073_26-05-2025_16_55_31.pdf'}" where mtr_portfolio_id = 23282073 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282078 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 = 23282078 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 = 23282078 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282078 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 = 23282078 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 = 23282078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282078_26-05-2025_16_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282078 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282078_26-05-2025_16_54_01.pdf'}" where mtr_portfolio_id = 23282078 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282082 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 = 23282082 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 = 23282082 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282082 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 = 23282082 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 = 23282082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282082_26-05-2025_16_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282082_26-05-2025_16_55_00.pdf'}" where mtr_portfolio_id = 23282082 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282085 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 = 23282085 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 = 23282085 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282085 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 = 23282085 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 = 23282085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282085_26-05-2025_16_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282085_26-05-2025_16_53_32.pdf'}" where mtr_portfolio_id = 23282085 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282088 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 = 23282088 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 = 23282088 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282088 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 = 23282088 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 = 23282088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282088_26-05-2025_16_52_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282088_26-05-2025_16_52_33.pdf'}" where mtr_portfolio_id = 23282088 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23269089 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943547, 'mtr_portfolio_id': 23269089, 'created_at': datetime.datetime(2025, 5, 26, 15, 9, 29), 'result': '0.04527225514494934', 'result_long': None, 'result_double': None}] Qualite : 0.04527225514494934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23269089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, 'pht': 3726}}" where mtr_portfolio_id = 23269089 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23269089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889057, 0.04527225514494934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23269889 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943548, 'mtr_portfolio_id': 23269889, 'created_at': datetime.datetime(2025, 5, 26, 15, 8, 29), 'result': '0.06745656622144479', 'result_long': None, 'result_double': None}] Qualite : 0.06745656622144479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23269889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, 'pht': 3726}}" where mtr_portfolio_id = 23269889 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23269889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889058, 0.06745656622144479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23270275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2935969, 'mtr_portfolio_id': 23270275, 'created_at': datetime.datetime(2025, 5, 22, 18, 19, 34), 'result': '0.06971386548504033', 'result_long': None, 'result_double': None}] Qualite : 0.06971386548504033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23270275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23270275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, 'pht': 3726}}" where mtr_portfolio_id = 23270275 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23270275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889059, 0.06971386548504033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23270548 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 = 23270548 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 = 23270548 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23270548 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 = 23270548 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 = 23270548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270548_22-05-2025_18_19_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23270548 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270548_22-05-2025_18_19_39.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270617, 'pht': 3726}}" where mtr_portfolio_id = 23270548 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939123, 'mtr_portfolio_id': 23282093, 'created_at': datetime.datetime(2025, 5, 26, 16, 51, 58), 'result': '0.0320976134169396', 'result_long': None, 'result_double': None}] Qualite : 0.0320976134169396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282093_26-05-2025_16_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282093_26-05-2025_16_52_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345971, 'pht': 3726}}" where mtr_portfolio_id = 23282093 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889061, 0.0320976134169396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282093_26-05-2025_16_52_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282098 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939124, 'mtr_portfolio_id': 23282098, 'created_at': datetime.datetime(2025, 5, 26, 16, 51, 29), 'result': '0.051976447343119424', 'result_long': None, 'result_double': None}] Qualite : 0.051976447343119424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282098_26-05-2025_16_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282098_26-05-2025_16_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23345926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345937, 'pht': 3726}}" where mtr_portfolio_id = 23282098 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282098 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889062, 0.051976447343119424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282098_26-05-2025_16_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23345926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282101 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939125, 'mtr_portfolio_id': 23282101, 'created_at': datetime.datetime(2025, 5, 26, 16, 50, 27), 'result': '0.0489590709323675', 'result_long': None, 'result_double': None}] Qualite : 0.0489590709323675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282101_26-05-2025_16_50_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282101_26-05-2025_16_50_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345861, 'pht': 3726}}" where mtr_portfolio_id = 23282101 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889063, 0.0489590709323675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282101_26-05-2025_16_50_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345859, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345861, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939126, 'mtr_portfolio_id': 23282105, 'created_at': datetime.datetime(2025, 5, 26, 16, 49, 29), 'result': '0.05144627454832934', 'result_long': None, 'result_double': None}] Qualite : 0.05144627454832934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282105_26-05-2025_16_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282105_26-05-2025_16_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345775, 'pht': 3726}}" where mtr_portfolio_id = 23282105 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889064, 0.05144627454832934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282105_26-05-2025_16_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345768, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345775, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282108 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939127, 'mtr_portfolio_id': 23282108, 'created_at': datetime.datetime(2025, 5, 26, 16, 49, 59), 'result': '0.04399458014650973', 'result_long': None, 'result_double': None}] Qualite : 0.04399458014650973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282108_26-05-2025_16_50_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282108 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282108_26-05-2025_16_50_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345806, 'pht': 3726}}" where mtr_portfolio_id = 23282108 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889065, 0.04399458014650973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282108_26-05-2025_16_50_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345806, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23274404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2936819, 'mtr_portfolio_id': 23274404, 'created_at': datetime.datetime(2025, 5, 26, 17, 38, 30), 'result': '0.030456146903797752', 'result_long': None, 'result_double': None}] Qualite : 0.030456146903797752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23274404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23274404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, 'pht': 3726}}" where mtr_portfolio_id = 23274404 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23274404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889066, 0.030456146903797752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23275361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937081, 'mtr_portfolio_id': 23275361, 'created_at': datetime.datetime(2025, 5, 26, 17, 36, 31), 'result': '0.053197138221637214', 'result_long': None, 'result_double': None}] Qualite : 0.053197138221637214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23275361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23275361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, 'pht': 3726}}" where mtr_portfolio_id = 23275361 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23275361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889067, 0.053197138221637214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282110 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 = 23282110 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 = 23282110 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282110 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 = 23282110 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 = 23282110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282110_26-05-2025_16_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282110_26-05-2025_16_49_02.pdf'}" where mtr_portfolio_id = 23282110 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23276710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937428, 'mtr_portfolio_id': 23276710, 'created_at': datetime.datetime(2025, 5, 26, 17, 28, 28), 'result': '0.04866169687367247', 'result_long': None, 'result_double': None}] Qualite : 0.04866169687367247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23276710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23276710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, 'pht': 3726}}" where mtr_portfolio_id = 23276710 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23276710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889069, 0.04866169687367247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23277380 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937561, 'mtr_portfolio_id': 23277380, 'created_at': datetime.datetime(2025, 5, 22, 21, 19, 38), 'result': '0.07422307677641428', 'result_long': None, 'result_double': None}] Qualite : 0.07422307677641428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23277380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23277380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, 'pht': 3726}}" where mtr_portfolio_id = 23277380 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23277380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889070, 0.07422307677641428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23277400 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937562, 'mtr_portfolio_id': 23277400, 'created_at': datetime.datetime(2025, 5, 26, 17, 26, 29), 'result': '0.025226170746530805', 'result_long': None, 'result_double': None}] Qualite : 0.025226170746530805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23277400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23277400 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, 'pht': 3726}}" where mtr_portfolio_id = 23277400 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23277400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889071, 0.025226170746530805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23278326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937648, 'mtr_portfolio_id': 23278326, 'created_at': datetime.datetime(2025, 5, 26, 17, 23, 29), 'result': '0.09227424269451073', 'result_long': None, 'result_double': None}] Qualite : 0.09227424269451073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23278326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23278326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, 'pht': 3726}}" where mtr_portfolio_id = 23278326 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23278326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889072, 0.09227424269451073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282113 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939129, 'mtr_portfolio_id': 23282113, 'created_at': datetime.datetime(2025, 5, 26, 16, 47, 59), 'result': '0.03417530932110935', 'result_long': None, 'result_double': None}] Qualite : 0.03417530932110935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282113_26-05-2025_16_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282113_26-05-2025_16_48_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345685, 'pht': 3726}}" where mtr_portfolio_id = 23282113 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889073, 0.03417530932110935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282113_26-05-2025_16_48_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345684, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345685, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23279461 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 = 23279461 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 = 23279461 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23279461 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 = 23279461 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 = 23279461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279461_22-05-2025_22_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23279461 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279461_22-05-2025_22_19_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279502, 'pht': 3726}}" where mtr_portfolio_id = 23279461 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23279464 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2937886, 'mtr_portfolio_id': 23279464, 'created_at': datetime.datetime(2025, 5, 26, 17, 16, 29), 'result': '0.05398705976255448', 'result_long': None, 'result_double': None}] Qualite : 0.05398705976255448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23279464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23279464 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, 'pht': 3726}}" where mtr_portfolio_id = 23279464 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23279464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889075, 0.05398705976255448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939130, 'mtr_portfolio_id': 23282115, 'created_at': datetime.datetime(2025, 5, 26, 16, 47, 29), 'result': '0.03882072472329532', 'result_long': None, 'result_double': None}] Qualite : 0.03882072472329532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282115_26-05-2025_16_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282115_26-05-2025_16_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345649, 'pht': 3726}}" where mtr_portfolio_id = 23282115 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889076, 0.03882072472329532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282115_26-05-2025_16_47_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282119 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939131, 'mtr_portfolio_id': 23282119, 'created_at': datetime.datetime(2025, 5, 23, 0, 3, 33), 'result': '0.05351547444923987', 'result_long': None, 'result_double': None}] Qualite : 0.05351547444923987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282119_23-05-2025_00_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282119_23-05-2025_00_03_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282186, 'pht': 3726}}" where mtr_portfolio_id = 23282119 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889077, 0.05351547444923987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282119_23-05-2025_00_03_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282175, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23281996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2938999, 'mtr_portfolio_id': 23281996, 'created_at': datetime.datetime(2025, 5, 26, 17, 0, 31), 'result': '0.06507131108022403', 'result_long': None, 'result_double': None}] Qualite : 0.06507131108022403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23281996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281996_26-05-2025_17_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281996_26-05-2025_17_00_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346556, 'pht': 3726}}" where mtr_portfolio_id = 23281996 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889078, 0.06507131108022403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281996_26-05-2025_17_00_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346555, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346556, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23281586 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2943549, 'mtr_portfolio_id': 23281586, 'created_at': datetime.datetime(2025, 5, 26, 15, 7, 58), 'result': '0.079444681347225', 'result_long': None, 'result_double': None}] Qualite : 0.079444681347225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23281586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, 'pht': 3726}}" where mtr_portfolio_id = 23281586 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889079, 0.079444681347225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23281587 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 = 23281587 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 = 23281587 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23281587 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 = 23281587 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 = 23281587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281587_26-05-2025_15_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281587_26-05-2025_15_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281637, 'pht': 3726}}" where mtr_portfolio_id = 23281587 and dashboard_run_id = 1842315 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282000 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2939000, 'mtr_portfolio_id': 23282000, 'created_at': datetime.datetime(2025, 5, 26, 17, 0, 1), 'result': '0.04504337043710903', 'result_long': None, 'result_double': None}] Qualite : 0.04504337043710903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282000_26-05-2025_17_00_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282000_26-05-2025_17_00_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346532, 'pht': 3726}}" where mtr_portfolio_id = 23282000 and dashboard_run_id = 1842315 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23282000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10889081, 0.04504337043710903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282000_26-05-2025_17_00_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346525, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23245647,23246295,23246834,23247440,23248080,23249066,23249917,23250582,23251214,23252105,23252796,23253453,23254154,23254922,23255622,23256653,23259112,23259665,23260337,23261270,23282051,23282054,23282057,23282061,23282066,23282069,23282073,23282078,23282082,23282085,23282088,23269089,23269889,23270275,23270548,23282093,23282098,23282101,23282105,23282108,23274404,23275361,23282110,23276710,23277380,23277400,23278326,23282113,23279461,23279464,23282115,23282119,23281996,23281586,23281587,23282000) result : ((1360388548,), (1360388617,), (1360389081,), (1360389201,), (1360389524,), (1360389555,), (1360389591,), (1360389641,), (1360389643,), (1360389740,), (1360389747,), (1360389907,), (1360389909,), (1360389975,), (1360390055,), (1360390069,), (1360390089,), (1360390097,), (1360390098,), (1360390469,), (1360390332,), (1360390366,), (1360390393,), (1360390418,), (1360390445,), (1360390842,), (1360390845,), (1360390861,), (1360391098,), (1360391122,), (1360391154,), (1360391182,), (1360391211,), (1360391235,), (1360391363,), (1360391365,), (1360391387,), (1360391392,), (1360391421,), (1360391448,), (1360391473,), (1360391715,), (1360391718,), (1360391720,), (1360391722,), (1360391724,), (1360391750,), (1360392022,), (1360392048,), (1360392112,), (1360392232,), (1360392250,), (1360392278,), (1360392286,), (1360392288,), (1360392294,), (1360392339,), (1360392346,), (1360392350,), (1360392354,), (1360392358,), (1360392597,), (1360392620,), (1360392644,), (1360392691,), (1360392734,), (1360392779,), (1360393197,), (1360393238,), (1360393257,), (1360393259,), (1360393283,), (1360393307,), (1360393600,), (1360393608,), (1360393610,), (1360393774,), (1360393777,), (1360393801,), (1360393817,), (1360393894,), (1360393906,), (1360393910,), (1360393927,), (1360393929,), (1360393930,), (1360393947,), (1360393950,), (1360393953,), (1360393956,), (1360393958,), (1360394024,), (1360393974,), (1360393976,), (1360393982,), (1360393987,), (1360394085,), (1360394091,), (1360394094,), (1360394097,), (1360394099,), (1360394218,), (1360394245,), (1360394250,), (1360394335,), (1360394338,), (1360394350,), (1360394352,), (1360394353,), (1360394355,), (1360394357,), (1360394508,), (1360394518,), (1360394543,), (1360394550,), (1360394755,), (1360394757,), (1360394760,), (1360394762,), (1360394854,), (1360394865,), (1360394867,), (1360394869,), (1360394871,), (1360394872,), (1360394882,), (1360394884,), (1360394886,), (1360394888,), (1360394890,), (1360394891,), (1360394901,), (1360394902,), (1360394904,), (1360394969,), (1360394994,), (1360395020,), (1360395044,), (1360395094,), (1360395154,), (1360395691,), (1360395723,), (1360395774,), (1360395799,), (1360395861,), (1360395863,), (1360395865,), (1360396116,), (1360396139,), (1360396146,), (1360396148,), (1360396155,), (1360396201,), (1360396372,), (1360396404,), (1360396407,), (1360396411,), (1360396563,), (1360396504,), (1360396529,), (1360396965,), (1360397034,), (1360397067,), (1360397099,), (1360397116,), (1360397241,), (1360397244,), (1360397247,), (1360397249,), (1360397251,), (1360397253,), (1360397270,), (1360397272,), (1360397275,), (1360397289,), (1360397297,), (1360397300,), (1360397328,), (1360397357,), (1360397382,), (1360397701,), (1360397730,), (1360397733,), (1360397744,), (1360397774,), (1360397786,), (1360397813,), (1360397850,), (1360397875,), (1360397904,), (1360397935,), (1360398132,), (1360398173,), (1360398206,), (1360398223,), (1360398397,), (1360398399,), (1360398402,), (1360398405,), (1360398407,), (1360398409,), (1360398425,), (1360398428,), (1360398431,), (1360398434,), (1360398588,), (1360398606,), (1360398849,), (1360398864,), (1360398869,), (1360398871,), (1360398874,), (1360398875,), (1360398926,), (1360398961,), (1360399020,), (1360399754,), (1360399560,), (1360399616,), (1360399680,), (1360399726,), (1360400195,), (1360400209,), (1360400210,), (1360400239,), (1360400314,), (1360400511,), (1360400559,), (1360400605,), (1360400916,), (1360400950,), (1360400974,), (1360401000,), (1360401036,), (1360401059,), (1360401080,), (1360401082,), (1360401085,), (1360401087,), (1360401089,), (1360401090,), (1360401209,), (1360401794,), (1360402025,), (1360402050,), (1360402055,), (1360402058,), (1360402083,), (1360402106,), (1360402122,), (1360402128,), (1360402131,), (1360402134,), (1360402135,), (1360402136,), (1360402151,), (1360402158,), (1360402278,), (1360403178,), (1360403033,), (1360403058,), (1360403122,), (1360403600,), (1360403679,), (1360403781,), (1360403806,), (1360403941,), (1360403947,), (1360403970,), (1360403976,), (1360404000,), (1360404478,), (1360404526,), (1360404581,), (1360404633,), (1360404687,), (1360404735,), (1360405141,), (1360405143,), (1360405154,), (1360405459,), (1360405461,), (1360405463,), (1360405465,), (1360405467,), (1360405472,), (1360405636,), (1360405655,), (1360405681,), (1360405713,), (1360405736,), (1360405760,), (1360406249,), (1360406294,), (1360406319,), (1360406663,), (1360406667,), (1360406670,), (1360406686,), (1360407048,), (1360407060,), (1360407123,), (1360407125,), (1360407127,), (1360407199,), (1360407233,), (1360407306,), (1360407318,), (1360407344,), (1360407471,), (1360407474,), (1360407476,), (1360407478,), (1360407479,), (1360407480,), (1360407620,), (1360407653,), (1360407685,), (1360408160,), (1360408177,), (1360408201,), (1360408224,), (1360408253,), (1360408279,), (1360408537,), (1360408554,), (1360408572,), (1360408579,), (1360408678,), (1360408690,), (1360408715,), (1360408707,), (1360408709,), (1360408712,), (1360408736,), (1360408740,), (1360408742,), (1360408744,), (1360408746,), (1360408757,), (1360408910,), (1360408928,), (1360408942,), (1360408948,), (1360408979,), (1360408994,), (1360409016,), (1360409019,), (1360409021,), (1360409046,), (1360409048,), (1360409050,), (1360409070,), (1360409587,), (1360409846,), (1360409900,), (1360410094,), (1360410119,), (1360410145,), (1360410903,), (1360410978,), (1360411032,), (1360411084,), (1360411140,), (1360411422,), (1360411426,), (1360411450,), (1360411480,), (1360411509,), (1360411938,), (1360411942,), (1360411944,), (1360411946,), (1360411949,), (1360412173,), (1360412175,), (1360412177,), (1360412179,), (1360412200,), (1360412368,), (1360412396,), (1360412424,), (1360412448,), (1360412804,), (1360412807,), (1360412821,), (1360412846,), (1360413101,), (1360413097,), (1360413098,), (1360413099,), (1360413100,), (1360413109,), (1360413516,), (1360413603,), (1360413690,), (1360414174,), (1360414187,), (1360414189,), (1360414215,), (1360414237,), (1360414477,), (1360414478,), (1360414480,), (1360414483,), (1360414710,), (1360414724,), (1360414739,), (1360414756,), (1360414759,), (1360414761,), (1360414763,), (1360414765,), (1360414769,), (1360414973,), (1360414992,), (1360414997,), (1360415319,), (1360415347,), (1360415378,), (1360415406,), (1360415432,), (1360415456,), (1360415723,), (1360415748,), (1360415772,), (1360415797,), (1360416108,), (1360416142,), (1360416190,), (1360416217,), (1360416233,), (1360416234,), (1360416246,), (1360416248,), (1360416249,), (1360416250,), (1360416251,), (1360416252,), (1360416377,), (1360416388,), (1360416398,), (1360416413,), (1360417044,), (1360417092,), (1360417152,), (1360417198,), (1360417276,), (1360417327,), (1360418450,), (1360418547,), (1360418930,), (1360419006,), (1360419064,), (1360419116,), (1360419591,), (1360419445,), (1360419472,), (1360419505,), (1360419553,), (1360419835,), (1360419836,), (1360419849,), (1360419880,), (1360420477,), (1360420516,), (1360420542,), (1360420571,), (1360420597,), (1360420908,), (1360420912,), (1360420946,), (1360420947,), (1360420949,), (1360420952,), (1360420976,), (1360420979,), (1360420983,), (1360421159,), (1360421163,), (1360421168,), (1360421173,), (1360421227,), (1360421294,), (1360421297,), (1360421299,), (1360421302,), (1360421307,), (1360421310,), (1360421644,), (1360421672,), (1360421701,), (1360421729,), (1360421768,), (1360422093,), (1360422100,), (1360422103,), (1360422122,), (1360422149,), (1360422397,), (1360422400,), (1360422404,), (1360422407,), (1360422414,), (1360422585,), (1360422590,), (1360422594,), (1360422620,), (1360422936,), (1360422938,), (1360422942,), (1360422945,), (1360422947,), (1360422950,), (1360423051,), (1360423066,), (1360423070,), (1360423205,), (1360423206,), (1360423209,), (1360423212,), (1360423215,), (1360423381,), (1360423384,), (1360423387,), (1360423431,), (1360423422,), (1360423425,), (1360423427,), (1360423503,), (1360423508,), (1360423513,), (1360423518,), (1360423900,), (1360424307,), (1360424337,), (1360424364,), (1360424391,), (1360424552,), (1360424580,), (1360424582,), (1360424604,), (1360424791,), (1360424945,), (1360424982,), (1360424984,), (1360425131,), (1360425132,), (1360425143,), (1360425739,), (1360425832,), (1360425942,), (1360426000,), (1360426875,), (1360426978,), (1360427092,), (1360427237,), (1360428155,), (1360428252,), (1360428318,), (1360428399,), (1360428890,), (1360428906,), (1360428947,), (1360429292,), (1360429317,), (1360429343,), (1360429785,), (1360429811,), (1360429859,), (1360429909,), (1360430193,), (1360430221,), (1360430250,), (1360430405,), (1360430419,), (1360430614,), (1360430573,), (1360430586,), (1360430607,), (1360430910,), (1360430938,), (1360431209,), (1360431216,), (1360431248,), (1360431288,), (1360431317,), (1360431476,), (1360431504,), (1360431537,), (1360431565,), (1360431595,), (1360431981,), (1360432038,), (1360432093,), (1360432146,), (1360432203,), (1360432274,), (1360432668,), (1360432695,), (1360432920,), (1360432923,), (1360432945,), (1360432975,), (1360432992,), (1360433247,), (1360433294,), (1360433337,), (1360433605,), (1360433608,), (1360433613,), (1360433617,), (1360433812,), (1360433816,), (1360433819,), (1360433860,), (1360434092,), (1360434120,), (1360434150,), (1360434180,), (1360434207,), (1360434319,), (1360434322,), (1360434361,), (1360434362,), (1360434364,), (1360434366,), (1360434367,), (1360434369,), (1360434393,), (1360434396,), (1360434401,), (1360434406,), (1360434410,), (1360434414,), (1360434441,), (1360434435,), (1360434438,), (1360434481,), (1360434483,), (1360434486,), (1360434490,), (1360434494,), (1360434497,), (1360434561,), (1360434573,), (1360434578,), (1360434582,), (1360434586,), (1360434590,), (1360434942,), (1360434969,), (1360435415,), (1360435497,), (1360435574,), (1360435626,), (1360436178,), (1360436207,), (1360436235,), (1360436263,), (1360436291,), (1360436320,), (1360436757,), (1360436781,), (1360436807,), (1360436839,), (1360437399,), (1360438072,), (1360438101,), (1360438128,), (1360438164,), (1360438197,), (1360438227,), (1360438513,), (1360438539,), (1360438552,), (1360438556,), (1360438560,), (1360438616,), (1360438618,), (1360438621,), (1360438630,), (1360438823,), (1360438833,), (1360438838,), (1360438852,), (1360438881,), (1360439042,), (1360439075,), (1360439172,), (1360439219,), (1360439282,), (1360439345,), (1360439563,), (1360439567,), (1360439574,), (1360439579,), (1360439584,), (1360439641,), (1360439643,), (1360439647,), (1360439651,), (1360439654,), (1360439665,), (1360439622,), (1360439626,), (1360439632,), (1360439638,), (1360439679,), (1360439682,), (1360439686,), (1360439709,), (1360439715,), (1360439724,), (1360439729,), (1360439734,), (1360439765,), (1360439771,), (1360439777,), (1360439784,), (1360439799,), (1360439805,), (1360439814,), (1360439887,), (1360439926,), (1360439955,), (1360440098,), (1360440148,), (1360440198,), (1360440250,), (1360440281,), (1360440564,), (1360440649,), (1360440717,), (1360440875,), (1360440890,), (1360440917,), (1360440957,), (1360440990,), (1360441155,), (1360441160,), (1360441165,), (1360441174,), (1360441178,), (1360441180,), (1360441212,), (1360441214,), (1360441285,), (1360441288,), (1360441302,), (1360441306,), (1360441370,), (1360441374,), (1360441377,), (1360441432,), (1360441449,), (1360441453,), (1360441458,), (1360441462,), (1360441537,), (1360441570,), (1360441602,), (1360441719,), (1360441722,), (1360441724,), (1360441729,), (1360441732,), (1360441768,), (1360441762,), (1360441764,), (1360441765,), (1360441863,), (1360441896,), (1360441931,), (1360441961,), (1360441997,), (1360442229,), (1360442285,), (1360442711,), (1360443008,), (1360443030,), (1360443043,), (1360443057,), (1360443265,), (1360443294,), (1360443580,), (1360443629,), (1360443723,), (1360443787,), (1360444357,), (1360444360,), (1360444363,), (1360444549,), (1360444551,), (1360444554,), (1360444557,), (1360444755,), (1360444761,), (1360444768,), (1360445113,), (1360445115,), (1360445125,), (1360445191,), (1360445193,), (1360445199,), (1360445414,), (1360445453,), (1360445463,), (1360445472,), (1360445476,), (1360445795,), (1360445803,), (1360445806,), (1360446146,), (1360446171,), (1360446203,), (1360446219,), (1360446226,), (1360446254,), (1360446410,), (1360446373,), (1360446376,), (1360446380,), (1360446384,), (1360446388,), (1360446512,), (1360446539,), (1360446550,), (1360446598,), (1360446670,), (1360446696,), (1360446701,), (1360446722,), (1360446786,), (1360446789,), (1360446811,), (1360446879,), (1360446882,), (1360446885,), (1360446888,), (1360447024,), (1360447027,), (1360447031,), (1360447108,), (1360447133,), (1360447174,), (1360447178,), (1360447201,), (1360447215,), (1360447315,), (1360447389,), (1360447440,), (1360447471,), (1360447501,), (1360447529,), (1360447678,), (1360447713,), (1360447743,), (1360447887,), (1360447892,), (1360447897,), (1360447924,), (1360447933,), (1360447938,), (1360447961,), (1360447967,), (1360447971,), (1360447974,), (1360448003,), (1360448008,), (1360448014,), (1360448020,), (1360448024,), (1360448053,), (1360448056,), (1360448060,), (1360448118,), (1360448137,), (1360448164,), (1360448189,), (1360448198,), (1360448202,), (1360448268,), (1360448235,), (1360448258,), (1360448261,), (1360448264,), (1360448265,), (1360448284,), (1360448302,), (1360448307,), (1360448711,), (1360448757,), (1360448790,), (1360448819,), (1360448826,), (1360448850,), (1360449032,), (1360449063,), (1360449093,), (1360449123,), (1360449275,), (1360449285,), (1360449310,), (1360449366,), (1360449370,), (1360449374,), (1360449379,), (1360449384,), (1360449387,), (1360449426,), (1360449430,), (1360449435,), (1360449448,), (1360449725,), (1360449729,), (1360449734,), (1360449739,), (1360449759,), (1360449793,), (1360450123,), (1360450181,), (1360450232,), (1360450899,), (1360450953,), (1360451569,), (1360451596,), (1360451622,), (1360451956,), (1360451968,), (1360451978,), (1360452009,), (1360452060,), (1360452578,), (1360452615,), (1360452736,), (1360452766,), (1360453987,), (1360453993,), (1360454354,), (1360463965,), (1360464329,), (1360464358,), (1360464372,), (1360464376,), (1360464411,), (1360464419,), (1360464420,), (1360464423,), (1360464456,), (1360464483,), (1360464516,), (1360464673,), (1360464676,), (1360464678,), (1360464694,), (1360464723,), (1360464752,), (1360464829,), (1360464831,), (1360464838,), (1360464842,), (1360464845,), (1360464848,), (1360464945,), (1360464972,), (1360465002,), (1360465376,), (1360465404,), (1360465433,), (1360465467,), (1360465554,), (1360466418,), (1360466495,), (1360466566,), (1360466619,), (1360467245,), (1360467376,), (1360467407,), (1360467440,), (1360467478,), (1360467713,), (1360467715,), (1360467721,), (1360467726,), (1360467755,), (1360467758,), (1360467761,), (1360467784,), (1360467811,), (1360467839,), (1360468428,), (1360468470,), (1360468500,), (1360468548,), (1360468616,), (1360469010,), (1360469065,), (1360469119,), (1360469859,), (1360470521,), (1360471224,), (1360471263,), (1360471291,), (1360471415,), (1360471442,), (1360471477,), (1360471526,), (1360471592,), (1360472087,), (1360472256,), (1360472309,), (1360472362,), (1360472409,), (1360473357,), (1360473433,), (1360473488,), (1360473542,), (1360474124,), (1360474207,), (1360474293,), (1360474376,), (1360474439,), (1360475134,), (1360475182,), (1360475244,), (1360475297,), (1360475345,), (1360475394,), (1360475731,), (1360475780,), (1360475836,), (1360475891,), (1360475943,), (1360475991,), (1360476738,), (1360476809,), (1360476889,), (1360476976,), (1360477634,), (1360477684,), (1360477729,), (1360477778,), (1360477830,), (1360477880,), (1360478509,), (1360478585,), (1360478730,), (1360478812,), (1360478913,), (1360479673,), (1360479675,), (1360479688,), (1360479709,), (1360479711,), (1360479972,), (1360480056,), (1360480093,), (1360480126,), (1360480164,), (1360480196,), (1360480393,), (1360480480,), (1360480533,), (1360480591,), (1360480952,), (1360480757,), (1360480805,), (1360480856,), (1360480905,), (1360481593,), (1360481630,), (1360481673,), (1360481714,), (1360481751,), (1360481785,), (1360482351,), (1360482379,), (1360482426,), (1360482470,), (1360482870,), (1360482896,), (1360482923,), (1360482929,), (1360483386,), (1360483441,), (1360483509,), (1360483595,), (1360483692,), (1360484126,), (1360484139,), (1360484166,), (1360484171,), (1360484177,), (1360484233,), (1360484261,), (1360484292,), (1360484305,), (1360484321,), (1360484350,), (1360484481,), (1360484536,), (1360484598,), (1360485063,), (1360485104,), (1360485149,), (1360485195,), (1360485611,), (1360485644,), (1360486038,), (1360486068,), (1360486156,), (1360486501,), (1360487149,), (1360491076,), (1360489546,), (1360490985,), (1360491023,), (1360491843,), (1360491890,), (1360491929,), (1360491955,), (1360491996,), (1360492021,), (1360492162,), (1360492187,), (1360492249,), (1360492384,), (1360492773,), (1360492802,), (1360492830,), (1360492880,), (1360492916,), (1360493047,), (1360493412,), (1360493861,), (1360493951,), (1360494589,), (1360494683,), (1360494798,), (1360494969,), (1360495500,), (1360495721,), (1360495814,), (1360495988,), (1360496077,), (1360496170,), (1360496196,), (1360496265,), (1360496280,), (1360496284,), (1360496590,), (1360496639,), (1360496669,), (1360496690,), (1360496703,), (1360497034,), (1360497061,), (1360497092,), (1360497120,), (1360574419,), (1360575080,), (1360575087,), (1360575091,), (1360575093,), (1360575097,), (1360575101,), (1360575149,), (1360575174,), (1360575206,), (1360575236,), (1360575258,), (1360575341,), (1360575352,), (1360575357,), (1360575362,), (1360575386,), (1360575409,), (1360575467,), (1360575477,), (1360575481,), (1360575503,), (1360575528,), (1360575555,), (1360575591,), (1360575618,), (1360575638,), (1360575664,), (1360575699,), (1360575721,), (1360575824,), (1360575862,), (1360575901,), (1360575961,), (1360576023,), (1360576074,), (1360576280,), (1360576337,), (1360576397,), (1360576469,), (1360576555,), (1360576624,), (1360576760,), (1360576802,), (1360574679,), (1360574685,), (1360574687,), (1360574691,), (1360574696,), (1360574701,), (1360574706,), (1360574707,), (1360574710,), (1360574713,), (1360574716,), (1360574719,), (1360574727,), (1360574730,), (1360574737,), (1360574744,), (1360574751,), (1360574756,), (1360574775,), (1360574778,), (1360574780,), (1360574785,), (1360574788,), (1360574791,), (1360574806,), (1360574812,), (1360574817,), (1360574821,), (1360574824,), (1360574827,), (1360574844,), (1360574849,), (1360574854,), (1360574859,), (1360574862,), (1360574866,), (1360574881,), (1360574888,), (1360574893,), (1360574897,), (1360574902,), (1360574905,), (1360574909,), (1360574913,), (1360574920,), (1360574927,), (1360574933,), (1360574940,), (1360574951,), (1360574955,), (1360574959,), (1360574964,), (1360574969,), (1360574974,), (1360574986,), (1360574990,), (1360574996,), (1360575001,), (1360575007,), (1360575013,), (1360575028,), (1360575045,), (1360575047,), (1360575052,), (1360575056,), (1360575063,), (1360580909,), (1360580935,), (1360580964,), (1360580990,), (1360581011,), (1360581380,), (1360581419,), (1360581459,), (1360581497,), (1360581752,), (1360582284,), (1360582334,), (1360582381,), (1360582427,), (1360582467,), (1360582578,), (1360582584,), (1360582601,), (1360582621,), (1360582647,), (1360582972,), (1360582987,), (1360582995,), (1360583050,), (1360583055,), (1360583059,), (1360583095,), (1360583099,), (1360583105,), (1360583109,), (1360583115,), (1360583196,), (1360583197,), (1360583203,), (1360583204,), (1360583208,), (1360583209,), (1360583364,), (1360583389,), (1360583412,), (1360583437,), (1360583477,), (1360583522,), (1360583812,), (1360583859,), (1360583903,), (1360584043,), (1360584057,), (1360584062,), (1360584304,), (1360584313,), (1360584316,), (1360584318,), (1360584335,), (1360584361,), (1360584453,), (1360584412,), (1360584439,), (1360584442,), (1360584445,), (1360584449,), (1360584629,), (1360584663,), (1360584692,), (1360584869,), (1360584881,), (1360584886,), (1360584911,), (1360584934,), (1360584939,), (1360585045,), (1360585070,), (1360585096,), (1360585120,), (1360585126,), (1360585131,), (1360585241,), (1360585266,), (1360585294,), (1360585405,), (1360585421,), (1360585433,), (1360585438,), (1360585546,), (1360585590,), (1360585620,), (1360585646,), (1360585676,), (1360585691,), (1360585819,), (1360585824,), (1360585827,), (1360585895,), (1360585919,), (1360585942,), (1360585965,), (1360585992,), (1360586014,), (1360586185,), (1360586208,), (1360586214,), (1360586218,), (1360586227,), (1360586301,), (1360586305,), (1360586309,), (1360586313,), (1360586412,), (1360586434,), (1360586438,), (1360586442,), (1360586447,), (1360586519,), (1360586544,), (1360586568,), (1360586592,), (1360586614,), (1360586636,), (1360586930,), (1360586989,), (1360587045,), (1360587614,), (1360587639,), (1360587654,), (1360587658,), (1360587820,), (1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,), (1360619235,), (1360619239,), (1360619244,), (1360619489,), (1360619512,), (1360619534,), (1360619542,), (1360619706,), (1360619712,), (1360619717,), (1360619721,), (1360619724,), (1360619750,), (1360619754,), (1360619760,), (1360619803,), (1360619816,), (1360619820,), (1360619824,), (1360619828,), (1360619935,), (1360619983,), (1360620026,), (1360620069,), (1360620449,), (1360620508,), (1360620564,), (1360620638,), (1360620695,), (1360620741,), (1360621108,), (1360621162,), (1360621675,), (1360621713,), (1360621734,), (1360621749,), (1360621900,), (1360621904,), (1360621910,), (1360621931,), (1360621955,), (1360621967,), (1360622237,), (1360622291,), (1360622323,), (1360622347,), (1360622371,), (1360622718,), (1360622748,), (1360622769,), (1360622993,), (1360623019,), (1360623040,), (1360623064,), (1360623076,), (1360623084,), (1360623119,), (1360623123,), (1360623128,), (1360623151,), (1360623174,), (1360623194,), (1360623374,), (1360623401,), (1360623425,), (1360623441,), (1360623509,), (1360627087,), (1360627148,), (1360627202,), (1360627251,), (1360627679,), (1360627724,), (1360627742,), (1360627771,), (1360627800,), (1360627840,), (1360628160,), (1360628203,), (1360628249,), (1360628707,), (1360628767,), (1360628832,), (1360628881,), (1360628922,), (1360628969,), (1360629386,), (1360629448,), (1360629513,), (1360629559,), (1360629609,), (1360629990,), (1360630040,), (1360630085,), (1360630425,), (1360630450,), (1360630472,), (1360630486,), (1360630489,), (1360630490,), (1360630653,), (1360630696,), (1360630732,), (1360630769,), (1360630794,), (1360630834,), (1360631247,), (1360631307,), (1360631357,), (1360631812,), (1360631852,), (1360631885,), (1360631909,), (1360631932,), (1360632289,), (1360632333,), (1360632360,), (1360638461,), (1360638324,), (1360638394,), (1360641955,), (1360641998,), (1360642651,), (1360643738,), (1360643762,), (1360644770,), (1360644777,), (1360644784,), (1360644805,), (1360644829,), (1360645087,), (1360645133,), (1360645178,), (1360645224,), (1360645273,), (1360645724,), (1360646512,), (1360647336,), (1360647417,), (1360647554,), (1360648004,), (1360648071,), (1360648122,), (1360648165,), (1360648592,), (1360648431,), (1360648484,), (1360648531,), (1360648568,), (1360648900,), (1360648936,), (1360648968,), (1360648996,), (1360649039,), (1360649295,), (1360649362,), (1360649423,), (1360649499,), (1360650024,), (1360650094,), (1360650164,), (1360650229,), (1360650289,), (1360650325,), (1360650672,), (1360650720,), (1360650773,), (1360650828,), (1360651327,), (1360651372,), (1360651416,), (1360651456,), (1360652041,), (1360652116,), (1360652195,), (1360652277,), (1360652334,), (1360652414,), (1360652880,), (1360652925,), (1360653021,), (1360653187,), (1360653454,), (1360653531,), (1360653566,), (1360653596,), (1360653605,), (1360653611,), (1360653750,), (1360653798,), (1360653826,), (1360653868,), (1360654800,), (1360654820,), (1360654846,), (1360655036,), (1360655041,), (1360655047,), (1360655053,), (1360655327,), (1360655370,), (1360655412,), (1360655449,), (1360655852,), (1360655841,), (1360655846,), (1360656065,), (1360656090,), (1360656129,), (1360656169,), (1360656201,), (1360656344,), (1360656371,), (1360656380,), (1360656384,), (1360656417,), (1360656423,), (1360656430,), (1360656436,), (1360656440,), (1360656463,), (1360656467,), (1360656516,), (1360656543,), (1360656574,), (1360656685,), (1360656695,), (1360656754,), (1360656774,), (1360656877,), (1360656881,), (1360656887,), (1360656896,), (1360657134,), (1360657138,), (1360657143,), (1360657153,), (1360657164,), (1360657180,), (1360657348,), (1360657357,), (1360657363,), (1360657369,), (1360657590,), (1360657598,), (1360657607,), (1360657618,), (1360657631,), (1360657636,), (1360657680,), (1360657685,), (1360657689,), (1360657694,), (1360657699,), (1360657702,), (1360657807,), (1360657832,), (1360657850,), (1360657854,), (1360657882,), (1360657886,), (1360657892,), (1360657913,), (1360657936,), (1360658394,), (1360658579,), (1360658687,), (1360659029,), (1360659095,), (1360659197,), (1360659991,), (1360660678,), (1360666927,), (1360667645,), (1360667679,), (1360667703,), (1360667718,), (1360667742,), (1360667894,), (1360667901,), (1360667908,), (1360667913,), (1360668007,), (1360668046,), (1360668091,), (1360668129,), (1360668409,), (1360668434,), (1360668459,), (1360668482,), (1360668497,), (1360668608,), (1360668620,), (1360668636,), (1360668644,), (1360668701,), (1360668705,), (1360668726,), (1360668792,), (1360668853,), (1360668924,), (1360668927,), (1360668971,), (1360669023,), (1360669049,), (1360669055,), (1360669101,), (1360669124,), (1360669131,), (1360669134,), (1360669138,), (1360669154,), (1360669168,), (1360669172,), (1360669190,), (1360669214,), (1360669236,), (1360669257,), (1360669299,), (1360669328,), (1360669369,), (1360669393,), (1360669433,), (1360669444,), (1360669505,), (1360669524,), (1360669544,), (1360669555,), (1360669557,), (1360669580,), (1360669587,), (1360669593,), (1360669600,), (1360669628,), (1360669633,), (1360669638,), (1360669642,), (1360669663,), (1360669727,), (1360669755,), (1360669795,), (1360669816,), (1360669839,), (1360669860,), (1360669880,), (1360669885,), (1360669909,), (1360669930,), (1360669955,), (1360669974,), (1360669984,), (1360670083,), (1360670124,), (1360670155,), (1360670003,), (1360670039,), (1360670207,), (1360670238,), (1360670287,), (1360670522,), (1360670546,), (1360670561,), (1360670567,), (1360670577,), (1360670602,), (1360670709,), (1360670715,), (1360670744,), (1360670770,), (1360670784,), (1360670797,), (1360670803,), (1360670812,), (1360670891,), (1360671000,), (1360671026,), (1360671068,), (1360671099,), (1360671101,), (1360671113,), (1360671196,), (1360671238,), (1360671266,), (1360671304,), (1360671320,), (1360671328,), (1360671355,), (1360671358,), (1360671361,), (1360671380,), (1360671386,), (1360671389,), (1360671394,), (1360671409,), (1360671414,), (1360671420,), (1360671425,), (1360671430,), (1360671434,), (1360671451,), (1360671454,), (1360671458,), (1360671462,), (1360671486,), (1360671490,), (1360671495,), (1360671501,), (1360671506,), (1360671523,), (1360671528,), (1360671534,), (1360671539,), (1360671545,), (1360671549,), (1360671597,), (1360671625,), (1360671654,), (1360671681,), (1360672087,), (1360672112,), (1360672153,), (1360672185,), (1360672212,), (1360672257,), (1360672566,), (1360672619,), (1360672683,), (1360672747,), (1360673314,), (1360679106,), (1360679109,), (1360679116,), (1360679120,), (1360679123,), (1360679140,), (1360679145,), (1360679151,), (1360679156,), (1360679160,), (1360679162,), (1360679167,), (1360679169,), (1360679172,), (1360679201,), (1360679206,), (1360679210,), (1360679212,), (1360679214,), (1360679216,), (1360679232,), (1360679238,), (1360679244,), (1360679249,), (1360679289,), (1360679295,), (1360679300,), (1360679306,), (1360679311,), (1360679330,), (1360679334,), (1360679340,), (1360679346,), (1360679372,), (1360679380,), (1360679409,), (1360679414,), (1360679439,), (1360679444,), (1360679450,), (1360679455,), (1360679459,), (1360679481,), (1360679484,), (1360679489,), (1360679493,), (1360679496,), (1360679515,), (1360679520,), (1360679525,), (1360679529,), (1360679533,), (1360679551,), (1360679556,), (1360679561,), (1360679585,), (1360679590,), (1360679594,), (1360679602,), (1360679625,), (1360679656,), (1360679662,), (1360679667,), (1360679699,), (1360679770,), (1360679774,), (1360679779,), (1360679783,), (1360679806,), (1360679808,), (1360679811,), (1360679814,), (1360679816,), (1360679841,), (1360679843,), (1360679846,), (1360679870,), (1360679872,), (1360679875,), (1360679878,), (1360679881,), (1360679883,), (1360679903,), (1360679905,), (1360679908,), (1360679912,), (1360679915,), (1360679938,), (1360679943,), (1360679947,), (1360679984,), (1360679990,), (1360679996,), (1360680031,), (1360680036,), (1360680042,), (1360680048,), (1360680053,), (1360680057,), (1360680076,), (1360680082,), (1360680088,), (1360680094,), (1360680117,), (1360680123,), (1360680127,), (1360680134,), (1360680155,), (1360680160,), (1360680169,), (1360680193,), (1360680218,), (1360680224,), (1360680230,), (1360680283,), (1360677191,), (1360677217,), (1360677242,), (1360677267,), (1360677480,), (1360677524,), (1360677575,), (1360677609,), (1360677638,), (1360677856,), (1360677870,), (1360677876,), (1360677882,), (1360677899,), (1360678141,), (1360678171,), (1360678199,), (1360678225,), (1360678245,), (1360678250,), (1360678379,), (1360678392,), (1360678420,), (1360678559,), (1360678564,), (1360678569,), (1360678574,), (1360678581,), (1360678586,), (1360678601,), (1360678605,), (1360678611,), (1360678617,), (1360678622,), (1360678652,), (1360678658,), (1360678665,), (1360678671,), (1360678676,), (1360678680,), (1360678696,), (1360678700,), (1360678707,), (1360678714,), (1360678748,), (1360678752,), (1360678757,), (1360678764,), (1360678770,), (1360678775,), (1360678808,), (1360678814,), (1360678820,), (1360678826,), (1360678831,), (1360678873,), (1360678889,), (1360678913,), (1360678920,), (1360678989,), (1360678995,), (1360679000,), (1360679007,), (1360679014,), (1360679020,), (1360679036,), (1360679041,), (1360679047,), (1360679069,), (1360679079,), (1360679085,), (1360679093,), (1360679104,), (1360679108,), (1360679127,), (1360679176,), (1360679182,), (1360679188,), (1360679255,), (1360679260,), (1360679268,), (1360679271,), (1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360600644,), (1360600715,), (1360600777,), (1360601295,), (1360601297,), (1360601309,), (1360601331,), (1360601447,), (1360601499,), (1360601541,), (1360601567,), (1360601591,), (1360601634,), (1360602191,), (1360602215,), (1360602240,), (1360602341,), (1360602383,), (1360602415,), (1360602436,), (1360602459,), (1360602484,), (1360602820,), (1360602831,), (1360603351,), (1360603552,), (1360603598,), (1360603624,), (1360603651,), (1360603675,), (1360603697,), (1360604475,), (1360604528,), (1360604582,), (1360604668,), (1360604739,), (1360604881,), (1360605155,), (1360605177,), (1360605428,), (1360605449,), (1360605586,), (1360605624,), (1360605667,), (1360605708,), (1360605725,), (1360605728,), (1360605762,), (1360605881,), (1360605906,), (1360605930,), (1360606014,), (1360606038,), (1360606065,), (1360606091,), (1360606110,), (1360606133,), (1360606369,), (1360606719,), (1360606724,), (1360606735,), (1360597913,), (1360597920,), (1360597924,), (1360597949,), (1360597975,), (1360597997,), (1360598019,), (1360598058,), (1360598134,), (1360598157,), (1360598181,), (1360598205,), (1360598229,), (1360598253,), (1360598510,), (1360598572,), (1360598986,), (1360599038,), (1360599165,), (1360599210,), (1360599249,), (1360599291,), (1360599335,), (1360599376,), (1360599607,), (1360599652,), (1360599699,), (1360599758,), (1360599818,), (1360600055,), (1360600101,), (1360600155,), (1360600205,), (1360600250,), (1360600437,), (1360600509,), (1360600576,), (1360595911,), (1360595917,), (1360595923,), (1360595930,), (1360595944,), (1360595960,), (1360595967,), (1360595971,), (1360595977,), (1360595981,), (1360596010,), (1360596036,), (1360596063,), (1360596217,), (1360596274,), (1360596329,), (1360596364,), (1360596394,), (1360596451,), (1360596643,), (1360596669,), (1360596693,), (1360596891,), (1360596911,), (1360596934,), (1360596955,), (1360596972,), (1360596978,), (1360597169,), (1360597245,), (1360597262,), (1360597269,), (1360597284,), (1360597320,), (1360597356,), (1360597462,), (1360597465,), (1360597469,), (1360597472,), (1360597474,), (1360597480,), (1360597483,), (1360597487,), (1360597491,), (1360597497,), (1360597502,), (1360597515,), (1360597517,), (1360597520,), (1360597526,), (1360597531,), (1360597538,), (1360597559,), (1360597586,), (1360597609,), (1360597629,), (1360597648,), (1360597668,), (1360597729,), (1360597750,), (1360597762,), (1360597769,), (1360597779,), (1360597820,), (1360597868,), (1360597872,), (1360597893,), (1360592792,), (1360592812,), (1360592841,), (1360592855,), (1360592866,), (1360592880,), (1360593084,), (1360593136,), (1360593154,), (1360593164,), (1360593182,), (1360593194,), (1360593201,), (1360593380,), (1360593406,), (1360593507,), (1360593533,), (1360593550,), (1360593554,), (1360593558,), (1360593563,), (1360593571,), (1360593583,), (1360593618,), (1360593626,), (1360593632,), (1360593637,), (1360593642,), (1360593647,), (1360593651,), (1360593719,), (1360593741,), (1360593761,), (1360593894,), (1360593936,), (1360593981,), (1360594025,), (1360594070,), (1360594113,), (1360594556,), (1360595082,), (1360595114,), (1360595317,), (1360595358,), (1360595408,), (1360595448,), (1360595487,), (1360595511,), (1360595654,), (1360595683,), (1360595721,), (1360588791,), (1360588795,), (1360588801,), (1360588811,), (1360588816,), (1360588823,), (1360588987,), (1360589010,), (1360589031,), (1360589161,), (1360589202,), (1360589247,), (1360589283,), (1360589309,), (1360589333,), (1360590237,), (1360590277,), (1360590300,), (1360590325,), (1360590337,), (1360590377,), (1360590388,), (1360590412,), (1360590630,), (1360590654,), (1360590676,), (1360590701,), (1360590712,), (1360590723,), (1360590743,), (1360590768,), (1360590793,), (1360590819,), (1360590906,), (1360590926,), (1360590960,), (1360590998,), (1360591039,), (1360591090,), (1360591240,), (1360591267,), (1360591292,), (1360591315,), (1360591339,), (1360591363,), (1360591423,), (1360591447,), (1360591469,), (1360591491,), (1360591516,), (1360591540,), (1360591566,), (1360591570,), (1360591592,), (1360591616,), (1360591637,), (1360591666,), (1360591829,), (1360591871,), (1360591924,), (1360591975,), (1360592018,), (1360592075,), (1360592294,), (1360592351,), (1360592415,), (1360592480,), (1360592523,), (1360592565,), (1360592731,), (1360592741,), (1360592753,), (1360592769,), (1360585363,), (1360585445,), (1360585468,), (1360585728,), (1360585749,), (1360585760,), (1360585767,), (1360585789,), (1360585801,), (1360585831,), (1360585836,), (1360585839,), (1360586061,), (1360586095,), (1360586113,), (1360586126,), (1360586130,), (1360586133,), (1360586252,), (1360586316,), (1360586320,), (1360586335,), (1360586341,), (1360586349,), (1360586363,), (1360586368,), (1360586370,), (1360586450,), (1360586690,), (1360586692,), (1360586708,), (1360586740,), (1360586782,), (1360586807,), (1360587097,), (1360587144,), (1360587197,), (1360587356,), (1360587388,), (1360587410,), (1360587442,), (1360587486,), (1360587511,), (1360587661,), (1360587666,), (1360587841,), (1360587903,), (1360587921,), (1360587927,), (1360587954,), (1360587994,), (1360588036,), (1360588457,), (1360588461,), (1360588471,), (1360588475,), (1360588482,), (1360588489,), (1360588494,), (1360588501,), (1360588618,), (1360588630,), (1360588695,), (1360588701,), (1360588702,), (1360588705,), (1360588709,), (1360588713,), (1360588717,), (1360588747,), (1360588748,), (1360588750,), (1360588751,), (1360588783,), (1360588786,), (1360582851,), (1360582888,), (1360582999,), (1360583003,), (1360583007,), (1360583016,), (1360583022,), (1360583028,), (1360583033,), (1360583038,), (1360583042,), (1360583065,), (1360583077,), (1360583083,), (1360583122,), (1360583144,), (1360583148,), (1360583152,), (1360583159,), (1360583166,), (1360583178,), (1360583218,), (1360583221,), (1360583243,), (1360583245,), (1360583270,), (1360583272,), (1360583637,), (1360583661,), (1360583694,), (1360583720,), (1360583750,), (1360583781,), (1360583931,), (1360583952,), (1360583982,), (1360584067,), (1360584073,), (1360584078,), (1360584122,), (1360584145,), (1360584168,), (1360584189,), (1360584213,), (1360584238,), (1360584466,), (1360584472,), (1360584477,), (1360584481,), (1360584502,), (1360584525,), (1360584713,), (1360584752,), (1360584790,), (1360585001,), (1360585008,), (1360585013,), (1360585027,), (1360585033,), (1360585036,), (1360585143,), (1360585148,), (1360585154,), (1360585160,), (1360585166,), (1360585173,), (1360585315,), (1360585341,), (1360579752,), (1360579780,), (1360579784,), (1360579785,), (1360579788,), (1360579789,), (1360579793,), (1360579794,), (1360579798,), (1360579800,), (1360579803,), (1360579804,), (1360579809,), (1360579826,), (1360579835,), (1360579840,), (1360579848,), (1360579878,), (1360579915,), (1360579942,), (1360579954,), (1360579964,), (1360579971,), (1360579982,), (1360579985,), (1360580101,), (1360580136,), (1360580163,), (1360580190,), (1360580212,), (1360580217,), (1360580266,), (1360580293,), (1360580304,), (1360580318,), (1360580321,), (1360580328,), (1360580404,), (1360580411,), (1360580423,), (1360580451,), (1360580485,), (1360580514,), (1360580561,), (1360580578,), (1360580604,), (1360580630,), (1360580641,), (1360580648,), (1360580686,), (1360580711,), (1360580736,), (1360580764,), (1360580790,), (1360580820,), (1360581123,), (1360581147,), (1360581175,), (1360581201,), (1360581226,), (1360581250,), (1360581539,), (1360581579,), (1360581804,), (1360581857,), (1360581908,), (1360581951,), (1360581994,), (1360582128,), (1360582161,), (1360582165,), (1360582170,), (1360582193,), (1360582210,), (1360582501,), (1360582670,), (1360582777,), (1360582797,), (1360582811,), (1360582822,), (1360579312,), (1360579327,), (1360579337,), (1360579345,), (1360579353,), (1360579365,), (1360579366,), (1360579369,), (1360579374,), (1360579380,), (1360579383,), (1360579452,), (1360579476,), (1360579500,), (1360579521,), (1360579560,), (1360579648,), (1360579662,), (1360579693,), (1360579721,), (1360579730,), (1360578521,), (1360578530,), (1360578536,), (1360578543,), (1360578551,), (1360578583,), (1360578606,), (1360578622,), (1360578634,), (1360578656,), (1360578675,), (1360578702,), (1360578705,), (1360578707,), (1360578720,), (1360578724,), (1360578740,), (1360578748,), (1360578763,), (1360578768,), (1360578775,), (1360578782,), (1360578842,), (1360578847,), (1360578850,), (1360578856,), (1360578877,), (1360578907,), (1360578982,), (1360579001,), (1360579017,), (1360579023,), (1360579069,), (1360579097,), (1360579170,), (1360579190,), (1360579200,), (1360579206,), (1360579211,), (1360579216,), (1360579229,), (1360579233,), (1360579237,), (1360579240,), (1360579246,), (1360579252,), (1360579274,), (1360579280,), (1360579283,), (1360579287,), (1360579288,), (1360579290,), (1360579298,), (1360576838,), (1360576872,), (1360576898,), (1360576939,), (1360577029,), (1360577053,), (1360577081,), (1360577105,), (1360577126,), (1360577147,), (1360577191,), (1360577199,), (1360577207,), (1360577220,), (1360577225,), (1360577229,), (1360577313,), (1360577357,), (1360577405,), (1360577451,), (1360577494,), (1360577536,), (1360577657,), (1360577710,), (1360577726,), (1360577752,), (1360577756,), (1360577760,), (1360577869,), (1360577892,), (1360577903,), (1360577908,), (1360577912,), (1360577918,), (1360577929,), (1360577933,), (1360577939,), (1360577944,), (1360577980,), (1360578027,), (1360578189,), (1360578235,), (1360578277,), (1360578309,), (1360578345,), (1360578372,), (1360578441,), (1360578444,), (1360578448,), (1360578451,), (1360578456,), (1360578476,), (1360578482,), (1360578488,), (1360578493,), (1360578497,), (1360578499,), (1360578510,), (1360587706,), (1360587731,), (1360587753,), (1360587780,), (1360588221,), (1360588243,), (1360588247,), (1360588261,), (1360588283,), (1360588298,), (1360588407,), (1360588428,), (1360588450,), (1360588454,), (1360588512,), (1360588514,), (1360588536,), (1360588538,), (1360588560,), (1360588569,), (1360588586,), (1360588594,), (1360588609,), (1360588617,), (1360588673,), (1360588678,), (1360588683,), (1360588688,), (1360588692,), (1360588729,), (1360588730,), (1360588732,), (1360588733,), (1360588736,), (1360588738,), (1360588740,), (1360588742,), (1360588762,), (1360588768,), (1360588774,), (1360588778,), (1360588837,), (1360588838,), (1360588841,), (1360588843,), (1360588845,), (1360588846,), (1360588848,), (1360588849,), (1360588851,), (1360588852,), (1360588854,), (1360588855,), (1360588882,), (1360588920,), (1360588961,), (1360589489,), (1360589524,), (1360589553,), (1360589575,), (1360589599,), (1360589620,), (1360589892,), (1360589956,), (1360589981,), (1360590003,), (1360590030,), (1360590062,), (1360590186,), (1360590352,), (1360590367,), (1360590373,), (1360590544,), (1360590587,), (1360592696,), (1360592697,), (1360592966,), (1360592989,), (1360593012,), (1360593036,), (1360593060,), (1360593270,), (1360593295,), (1360593320,), (1360593342,), (1360593414,), (1360593428,), (1360593454,), (1360593482,), (1360593603,), (1360593608,), (1360593611,), (1360593613,), (1360593616,), (1360593656,), (1360593659,), (1360593662,), (1360593665,), (1360593669,), (1360593675,), (1360593689,), (1360593693,), (1360593697,), (1360594319,), (1360594373,), (1360594415,), (1360594464,), (1360594512,), (1360594611,), (1360594716,), (1360594757,), (1360594798,), (1360594848,), (1360594874,), (1360594992,), (1360595000,), (1360595017,), (1360595045,), (1360595566,), (1360595608,), (1360595632,), (1360595894,), (1360595905,), (1360596002,), (1360595992,), (1360595997,), (1360596557,), (1360596588,), (1360596616,), (1360596746,), (1360596760,), (1360596790,), (1360596817,), (1360596845,), (1360596871,), (1360597057,), (1360597081,), (1360597102,), (1360597123,), (1360597146,), (1360597437,), (1360597439,), (1360597442,), (1360597444,), (1360597446,), (1360597447,), (1360597458,), (1360597941,), (1360598334,), (1360598354,), (1360598390,), (1360598446,), (1360598750,), (1360598800,), (1360598871,), (1360598920,), (1360599547,), (1360600006,), (1360601014,), (1360601084,), (1360601146,), (1360601179,), (1360601201,), (1360601220,), (1360601291,), (1360601276,), (1360601806,), (1360601809,), (1360601854,), (1360601860,), (1360601898,), (1360601914,), (1360601940,), (1360601956,), (1360601990,), (1360602011,), (1360602034,), (1360602045,), (1360602140,), (1360602166,), (1360602175,), (1360602565,), (1360602567,), (1360602589,), (1360602591,), (1360602632,), (1360602633,), (1360602675,), (1360602681,), (1360602744,), (1360602757,), (1360603057,), (1360603124,), (1360603179,), (1360603239,), (1360603300,), (1360603783,), (1360603815,), (1360603845,), (1360603882,), (1360603927,), (1360603977,), (1360604100,), (1360604141,), (1360604185,), (1360604226,), (1360604270,), (1360604311,), (1360605031,), (1360605060,), (1360605084,), (1360605122,), (1360605310,), (1360605342,), (1360605375,), (1360605402,), (1360605741,), (1360605744,), (1360605748,), (1360605752,), (1360605757,), (1360605794,), (1360605830,), (1360605852,), (1360606236,), (1360606259,), (1360606282,), (1360606303,), (1360606328,), (1360606524,), (1360606565,), (1360606592,), (1360606614,), (1360606620,), (1360606628,), (1360606882,), (1360606903,), (1360606927,), (1360606955,), (1360607187,), (1360607190,), (1360607193,), (1360607199,), (1360607210,), (1360607215,), (1360607523,), (1360607411,), (1360607436,), (1360607463,), (1360607495,), (1360607893,), (1360607941,), (1360607984,), (1360608011,), (1360608033,), (1360608445,), (1360608499,), (1360608564,), (1360608616,), (1360608658,), (1360608700,), (1360609102,), (1360609127,), (1360609149,), (1360609171,), (1360609575,), (1360609613,), (1360609655,), (1360609700,), (1360609882,), (1360609907,), (1360609936,), (1360609972,), (1360610049,), (1360610490,), (1360610537,), (1360610577,), (1360610612,), (1360610635,), (1360610988,), (1360611036,), (1360611102,), (1360611154,), (1360611209,), (1360611440,), (1360611462,), (1360611487,), (1360611510,), (1360611755,), (1360611780,), (1360611804,), (1360611829,), (1360611854,), (1360611876,), (1360612008,), (1360612031,), (1360612055,), (1360612079,), (1360612464,), (1360612530,), (1360612599,), (1360612643,), (1360612696,), (1360612757,), (1360613139,), (1360613203,), (1360613260,), (1360613326,), (1360613384,), (1360613443,), (1360613795,), (1360613834,), (1360613884,), (1360613912,), (1360614384,), (1360614462,), (1360614540,), (1360614614,), (1360614699,), (1360615266,), (1360623487,), (1360623493,), (1360623496,), (1360623501,), (1360623506,), (1360623595,), (1360623621,), (1360623631,), (1360623643,), (1360623964,), (1360623971,), (1360623977,), (1360623983,), (1360623988,), (1360623993,), (1360624157,), (1360624164,), (1360624169,), (1360624174,), (1360624334,), (1360624363,), (1360624381,), (1360624386,), (1360624393,), (1360624555,), (1360624560,), (1360624566,), (1360624571,), (1360624578,), (1360624584,), (1360624699,), (1360624719,), (1360624724,), (1360624871,), (1360624876,), (1360624880,), (1360624884,), (1360624889,), (1360624893,), (1360624917,), (1360624926,), (1360624932,), (1360624938,), (1360624943,), (1360624961,), (1360624972,), (1360624974,), (1360624984,), (1360625001,), (1360625004,), (1360625030,), (1360625226,), (1360625422,), (1360627287,), (1360659348,), (1360659518,), (1360659694,), (1360659821,), (1360659886,), (1360660056,), (1360660098,), (1360660197,), (1360660271,), (1360660308,), (1360660351,), (1360660508,), (1360660526,), (1360660561,), (1360660598,), (1360660612,), (1360660619,), (1360660661,), (1360660666,), (1360660799,), (1360660801,), (1360660820,), (1360660821,), (1360660849,), (1360660859,), (1360660876,), (1360660883,), (1360660904,), (1360660914,), (1360661086,), (1360661128,), (1360661183,), (1360661752,), (1360661791,), (1360661822,), (1360661843,), (1360661864,), (1360662047,), (1360662052,), (1360662080,), (1360662107,), (1360662134,), (1360662336,), (1360662367,), (1360662402,), (1360662779,), (1360662840,), (1360662905,), (1360662961,), (1360663017,), (1360663366,), (1360663439,), (1360663497,), (1360663563,), (1360663626,), (1360663691,), (1360663739,), (1360663774,), (1360663819,), (1360663861,), (1360663902,), (1360663962,), (1360664260,), (1360664327,), (1360664574,), (1360664638,), (1360664675,), (1360664697,), (1360664726,), (1360664763,), (1360664928,), (1360664974,), (1360665006,), (1360665033,), (1360665055,), (1360665861,), (1360665881,), (1360665906,), (1360665937,), (1360666117,), (1360666145,), (1360666168,), (1360667024,), (1360673191,), (1360673227,), (1360673255,), (1360673284,), (1360673513,), (1360673587,), (1360673659,), (1360673719,), (1360673769,), (1360673772,), (1360673775,), (1360673779,), (1360673784,), (1360673789,), (1360673794,), (1360673799,), (1360673800,), (1360673809,), (1360673816,), (1360673823,), (1360673829,), (1360673839,), (1360673958,), (1360674031,), (1360674100,), (1360674126,), (1360674150,), (1360674174,), (1360674248,), (1360674269,), (1360674292,), (1360674312,), (1360674336,), (1360674358,), (1360674429,), (1360674452,), (1360674465,), (1360674477,), (1360674484,), (1360674487,), (1360674503,), (1360674528,), (1360674552,), (1360674575,), (1360674597,), (1360674618,), (1360674629,), (1360674633,), (1360674637,), (1360674640,), (1360674644,), (1360674670,), (1360674678,), (1360674702,), (1360674724,), (1360674968,), (1360675003,), (1360675032,), (1360675061,), (1360675086,), (1360675312,), (1360675318,), (1360675334,), (1360675348,), (1360675393,), (1360675416,), (1360675532,), (1360675584,), (1360675831,), (1360675833,), (1360675837,), (1360675841,), (1360675845,), (1360675871,), (1360675874,), (1360675877,), (1360675880,), (1360675939,), (1360675942,), (1360675945,), (1360676106,), (1360676043,), (1360676064,), (1360676086,), (1360676152,), (1360676155,), (1360676158,), (1360676162,), (1360676221,), (1360676224,), (1360676244,), (1360676258,), (1360676341,), (1360676343,), (1360676346,), (1360676373,), (1360676376,), (1360676381,), (1360676384,), (1360676388,), (1360676446,), (1360676450,), (1360676452,), (1360676456,), (1360676458,), (1360676507,), (1360676510,), (1360676527,), (1360676539,), (1360676543,), (1360676547,), (1360676597,), (1360676620,), (1360676642,), (1360676672,), (1360676675,), (1360676680,), (1360676684,), (1360676714,), (1360676738,), (1360676757,), (1360676763,), (1360676771,), (1360676802,), (1360676851,), (1360676859,), (1360676866,), (1360676877,), (1360676900,), (1360676931,), (1360676934,), (1360676937,), (1360676941,), (1360676944,), (1360676950,), (1360676963,), (1360676967,), (1360676968,), (1360676975,), (1360676980,), (1360676984,), (1360676988,), (1360676993,), (1360676998,), (1360677038,), (1360677042,), (1360677047,), (1360677065,), (1360677070,), (1360677073,), (1360677076,), (1360677079,), (1360677292,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22052025': {'nb_upload': 64, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23274404]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] map_info['map_portfolio_photo'] : {23274404: [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301, 1360617286, 1360617278, 1360617243, 1360617204, 1360616834, 1360616767, 1360616710, 1360616665, 1360616632, 1360616481, 1360616442, 1360616399, 1360616240, 1360616217, 1360616189, 1360616165, 1360615861, 1360615823, 1360615756, 1360615706, 1360615649, 1360615246, 1360615223, 1360615198, 1360615161]} final : True mtd_id 4302 list_pids : [1360619268, 1360618993, 1360618966, 1360618937, 1360618903, 1360618640, 1360618636, 1360618632, 1360618354, 1360618313, 1360618286, 1360618241, 1360618196, 1360618047, 1360618024, 1360617998, 1360617975, 1360617951, 1360617928, 1360617564, 1360617538, 1360617512, 1360617487, 1360617419, 1360617415, 1360617410, 1360617389, 1360617384, 1360617358, 1360617356, 1360617351, 1360617346, 1360617341, 1360617337, 1360617312, 1360617309, 1360617307, 1360617303, 1360617301] Looping around the photos to save general results len do output : 1 /23274404Didn'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, '2936819') ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819') ('4302', None, None, None, None, None, None, None, '2936819') ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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, '23274404', 'None', None, None, None, None, '2936819'), ('4302', '23274404', '1360619268', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618993', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618966', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618937', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618903', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618640', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618636', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618632', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618354', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618313', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618286', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618241', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618196', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618047', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360618024', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617998', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617975', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617951', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617928', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617564', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617538', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617512', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617487', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617419', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617415', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617410', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617389', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617384', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617358', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617356', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617351', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617346', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617341', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617337', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617312', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617309', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617307', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617303', None, None, None, None, None, '2936819'), ('4302', '23274404', '1360617301', None, None, None, None, None, '2936819')] time used for this insertion : 0.01876521110534668 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.919724702835083 time spend to save output : 0.01922297477722168 total time spend for step 5 : 2.9389476776123047 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 (2936819) 3.35user 2.56system 0:13.74elapsed 43%CPU (0avgtext+0avgdata 167660maxresident)k 86056inputs+22048outputs (344major+88196minor)pagefaults 0swaps