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 : 3391358 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 (2992812) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2992812) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450391 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2992812'] with mtr_portfolio_ids : ['23450391'] and first list_photo_ids : [] new path : /proc/3391358/ Name: python3 Umask: 0002 State: R (running) Tgid: 3391358 Ngid: 0 Pid: 3391358 PPid: 3391355 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3391358 NSpid: 3391358 NSpgid: 3390940 NSsid: 3390940 VmPeak: 1107744 kB VmSize: 1107744 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100224 kB VmRSS: 100224 kB RssAnon: 60460 kB RssFile: 39764 kB RssShmem: 0 kB VmData: 866492 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 576 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63035 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: 46 nonvoluntary_ctxt_switches: 170 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3391358', 'Ngid': '0', 'Pid': '3391358', 'PPid': '3391355', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3391358', 'NSpid': '3391358', 'NSpgid': '3390940', 'NSsid': '3390940', 'VmPeak': '1107744 kB', 'VmSize': '1107744 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100224 kB', 'VmRSS': '100224 kB', 'RssAnon': '60460 kB', 'RssFile': '39764 kB', 'RssShmem': '0 kB', 'VmData': '866492 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '576 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63035', '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': '46', 'nonvoluntary_ctxt_switches': '170'} ('datou_batch_current', '3391358', '1107744', '0', '1107744', '866492', '100224', b'', 'marlene', '2992812') 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 (23450391) 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 (2992812 ) ) 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 (23450391) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1361760911, 'portfolio_id': 23450391}, {'photo_id': 1361760843, 'portfolio_id': 23450391}, {'photo_id': 1361760839, 'portfolio_id': 23450391}, {'photo_id': 1361760834, 'portfolio_id': 23450391}, {'photo_id': 1361760829, 'portfolio_id': 23450391}, {'photo_id': 1361760796, 'portfolio_id': 23450391}, {'photo_id': 1361760786, 'portfolio_id': 23450391}, {'photo_id': 1361760778, 'portfolio_id': 23450391}, {'photo_id': 1361760775, 'portfolio_id': 23450391}, {'photo_id': 1361760772, 'portfolio_id': 23450391}, {'photo_id': 1361760768, 'portfolio_id': 23450391}, {'photo_id': 1361760736, 'portfolio_id': 23450391}, {'photo_id': 1361760729, 'portfolio_id': 23450391}, {'photo_id': 1361760724, 'portfolio_id': 23450391}, {'photo_id': 1361760722, 'portfolio_id': 23450391}, {'photo_id': 1361760719, 'portfolio_id': 23450391}, {'photo_id': 1361760681, 'portfolio_id': 23450391}, {'photo_id': 1361760678, 'portfolio_id': 23450391}, {'photo_id': 1361760672, 'portfolio_id': 23450391}, {'photo_id': 1361760595, 'portfolio_id': 23450391}, {'photo_id': 1361760584, 'portfolio_id': 23450391}, {'photo_id': 1361760580, 'portfolio_id': 23450391}, {'photo_id': 1361760513, 'portfolio_id': 23450391}, {'photo_id': 1361760508, 'portfolio_id': 23450391}, {'photo_id': 1361760460, 'portfolio_id': 23450391}, {'photo_id': 1361760426, 'portfolio_id': 23450391}, {'photo_id': 1361760422, 'portfolio_id': 23450391}, {'photo_id': 1361760417, 'portfolio_id': 23450391}, {'photo_id': 1361760412, 'portfolio_id': 23450391}, {'photo_id': 1361760382, 'portfolio_id': 23450391}, {'photo_id': 1361760375, 'portfolio_id': 23450391}, {'photo_id': 1361760360, 'portfolio_id': 23450391}, {'photo_id': 1361760225, 'portfolio_id': 23450391}, {'photo_id': 1361760221, 'portfolio_id': 23450391}, {'photo_id': 1361760110, 'portfolio_id': 23450391}, {'photo_id': 1361760099, 'portfolio_id': 23450391}, {'photo_id': 1361760094, 'portfolio_id': 23450391}] map_portfolio_id_photo_id: {23450391: [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094]} ##### 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.030335426330566406 #### 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 Sat May 31 05:36: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23450391) 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 : 23450391 get user id for portfolio 23450391 get sub ptf for main ptf 23450391, type 3726 and hashtags ['metal', 'mal_croppe', 'Carton_brun', 'Carton_gris', 'autre_refus', 'cartonnette', 'environnement', 'papier', 'flou', 'Teint_Dans_La_Masse', 'kraft', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23450391 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','Carton_gris','autre_refus','cartonnette','environnement','papier','flou','Teint_Dans_La_Masse','kraft','plastique')) 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`=23450391 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','Carton_gris','autre_refus','cartonnette','environnement','papier','flou','Teint_Dans_La_Masse','kraft','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 23450391, 'sub_port_id': 23450392, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648984, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'Carton_brun': {'main_port_id': 23450391, 'sub_port_id': 23450393, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648985, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'flou': {'main_port_id': 23450391, 'sub_port_id': 23450394, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648986, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'kraft': {'main_port_id': 23450391, 'sub_port_id': 23450395, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648987, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'environnement': {'main_port_id': 23450391, 'sub_port_id': 23450396, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648988, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'metal': {'main_port_id': 23450391, 'sub_port_id': 23450397, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648989, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'papier': {'main_port_id': 23450391, 'sub_port_id': 23450398, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648990, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'cartonnette': {'main_port_id': 23450391, 'sub_port_id': 23450399, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648991, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'autre_refus': {'main_port_id': 23450391, 'sub_port_id': 23450400, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648992, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 23450391, 'sub_port_id': 23450401, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648993, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'mal_croppe': {'main_port_id': 23450391, 'sub_port_id': 23450402, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648994, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}, 'Carton_gris': {'main_port_id': 23450391, 'sub_port_id': 23450403, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648995, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 43, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23450392 , 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=23450391 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 (23450392) result : ((1361760828,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450393 , 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=23450391 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 (23450393) result : ((1361760455,), (1361760457,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450394 , 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=23450391 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 (23450394) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450395 , 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=23450391 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 (23450395) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450396 , 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=23450391 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 (23450396) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450397 , 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=23450391 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 (23450397) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450398 , 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=23450391 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 (23450398) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450399 , 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=23450391 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 (23450399) result : ((1361760827,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450400 , 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=23450391 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 (23450400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450401 , 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=23450391 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 (23450401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450402 , 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=23450391 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 (23450402) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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 23450403 , 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=23450391 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 (23450403) result : ((1361760825,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23450391) result : ((1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,)) 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`=23450391 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','Carton_gris','autre_refus','cartonnette','environnement','papier','flou','Teint_Dans_La_Masse','kraft','plastique')) 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`=23450391 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','Carton_brun','Carton_gris','autre_refus','cartonnette','environnement','papier','flou','Teint_Dans_La_Masse','kraft','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 23450391, 'sub_port_id': 23450404, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648996, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'Carton_brun': {'main_port_id': 23450391, 'sub_port_id': 23450405, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648997, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'flou': {'main_port_id': 23450391, 'sub_port_id': 23450406, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648998, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'kraft': {'main_port_id': 23450391, 'sub_port_id': 23450407, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15648999, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'environnement': {'main_port_id': 23450391, 'sub_port_id': 23450408, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649000, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'metal': {'main_port_id': 23450391, 'sub_port_id': 23450409, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649001, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'papier': {'main_port_id': 23450391, 'sub_port_id': 23450410, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649002, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'cartonnette': {'main_port_id': 23450391, 'sub_port_id': 23450411, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649003, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'autre_refus': {'main_port_id': 23450391, 'sub_port_id': 23450412, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649004, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'Teint_Dans_La_Masse': {'main_port_id': 23450391, 'sub_port_id': 23450413, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649005, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'mal_croppe': {'main_port_id': 23450391, 'sub_port_id': 23450414, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649006, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 44), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}, 'Carton_gris': {'main_port_id': 23450391, 'sub_port_id': 23450415, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15649007, 'last_updated_at': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 30, 13, 54, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 30, 13, 44)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450404,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450392 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450405,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450393 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450406,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450394 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450407,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450395 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450408,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450396 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450409,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450410,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450402 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23450415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23450403 lien utilise dans velours : https://www.fotonower.com/velours/23450404,23450405,23450406,23450407,23450408,23450409,23450410,23450411,23450412,23450413,23450414,23450415?tags=plastique,Carton_brun,flou,kraft,environnement,metal,papier,cartonnette,autre_refus,Teint_Dans_La_Masse,mal_croppe,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23450391]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] map_info['map_portfolio_photo'] : {23450391: [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094]} final : False mtd_id 4302 list_pids : [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] Looping around the photos to save general results len do output : 1 /23450391. 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, '2992812') ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '23450391', "{'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403}", None, None, None, None, '2992812'), ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812')] time used for this insertion : 0.43259406089782715 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3668899536132812 time spend to save output : 0.4330925941467285 total time spend for step 1 : 1.7999825477600098 step2:final Sat May 31 05:36:32 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 (23450391) 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 23450391 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1361760110,1361760099,1361760094,1361760225,1361760221,1361760382,1361760360,1361760375,1361760426,1361760422,1361760417,1361760412,1361760460,1361760513,1361760508,1361760595,1361760584,1361760580,1361760681,1361760678,1361760672,1361760736,1361760729,1361760724,1361760722,1361760719,1361760796,1361760786,1361760778,1361760775,1361760772,1361760768,1361760843,1361760839,1361760834,1361760829,1361760911); 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([23450391]) Inside saveOutput : final : False verbose : True original output for save of step final : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} new output for save of step final : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] map_info['map_portfolio_photo'] : {23450391: [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094]} final : False mtd_id 4302 list_pids : [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] Looping around the photos to save general results len do output : 37 /1361760911.Didn't retrieve data . /1361760843.Didn't retrieve data . /1361760839.Didn't retrieve data . /1361760834.Didn't retrieve data . /1361760829.Didn't retrieve data . /1361760796.Didn't retrieve data . /1361760786.Didn't retrieve data . /1361760778.Didn't retrieve data . /1361760775.Didn't retrieve data . /1361760772.Didn't retrieve data . /1361760768.Didn't retrieve data . /1361760736.Didn't retrieve data . /1361760729.Didn't retrieve data . /1361760724.Didn't retrieve data . /1361760722.Didn't retrieve data . /1361760719.Didn't retrieve data . /1361760681.Didn't retrieve data . /1361760678.Didn't retrieve data . /1361760672.Didn't retrieve data . /1361760595.Didn't retrieve data . /1361760584.Didn't retrieve data . /1361760580.Didn't retrieve data . /1361760513.Didn't retrieve data . /1361760508.Didn't retrieve data . /1361760460.Didn't retrieve data . /1361760426.Didn't retrieve data . /1361760422.Didn't retrieve data . /1361760417.Didn't retrieve data . /1361760412.Didn't retrieve data . /1361760382.Didn't retrieve data . /1361760375.Didn't retrieve data . /1361760360.Didn't retrieve data . /1361760225.Didn't retrieve data . /1361760221.Didn't retrieve data . /1361760110.Didn't retrieve data . /1361760099.Didn't retrieve data . /1361760094.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, '2992812') ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '23450391', '1361760911', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760843', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760839', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760834', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760829', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760796', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760786', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760778', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760775', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760772', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760768', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760736', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760729', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760724', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760722', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760719', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760681', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760678', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760672', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760595', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760584', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760580', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760513', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760508', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760460', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760426', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760422', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760417', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760412', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760382', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760375', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760360', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760225', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760221', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760110', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760099', '0.06861036754506752', None, None, None, None, '2992812'), ('4302', '23450391', '1361760094', '0.06861036754506752', None, None, None, None, '2992812')] time used for this insertion : 0.42341136932373047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20424199104309082 time spend to save output : 0.42468857765197754 total time spend for step 2 : 0.6289305686950684 step3:velours_tree Sat May 31 05:36:32 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 : {23450391: [{'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403}]} input_args_next_step : {23450391: ()} output_args : {23450391: [{'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403}]} args : 23450391 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 : ({'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23450391) 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([23450391]) 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.31365442276000977 time spend to save output : 5.6743621826171875e-05 total time spend for step 3 : 0.31371116638183594 step4:send_mail_cod Sat May 31 05:36:33 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 : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} input_args_next_step : {1361760911: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760911 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760843 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760839 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760834 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760829 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760796 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760786 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760778 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760775 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760772 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760768 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760736 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760729 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760724 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760722 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760719 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760681 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760678 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760672 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760595 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760584 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760580 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760513 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760508 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760460 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760426 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760422 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760417 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760412 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760382 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760375 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760360 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760225 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760221 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760110 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760099 depend.output_id : 0 input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ()} output_args : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',)} args : 1361760094 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 : {23450391: [{'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403}]} input_args_next_step : {1361760911: ('0.06861036754506752',), 1361760843: ('0.06861036754506752',), 1361760839: ('0.06861036754506752',), 1361760834: ('0.06861036754506752',), 1361760829: ('0.06861036754506752',), 1361760796: ('0.06861036754506752',), 1361760786: ('0.06861036754506752',), 1361760778: ('0.06861036754506752',), 1361760775: ('0.06861036754506752',), 1361760772: ('0.06861036754506752',), 1361760768: ('0.06861036754506752',), 1361760736: ('0.06861036754506752',), 1361760729: ('0.06861036754506752',), 1361760724: ('0.06861036754506752',), 1361760722: ('0.06861036754506752',), 1361760719: ('0.06861036754506752',), 1361760681: ('0.06861036754506752',), 1361760678: ('0.06861036754506752',), 1361760672: ('0.06861036754506752',), 1361760595: ('0.06861036754506752',), 1361760584: ('0.06861036754506752',), 1361760580: ('0.06861036754506752',), 1361760513: ('0.06861036754506752',), 1361760508: ('0.06861036754506752',), 1361760460: ('0.06861036754506752',), 1361760426: ('0.06861036754506752',), 1361760422: ('0.06861036754506752',), 1361760417: ('0.06861036754506752',), 1361760412: ('0.06861036754506752',), 1361760382: ('0.06861036754506752',), 1361760375: ('0.06861036754506752',), 1361760360: ('0.06861036754506752',), 1361760225: ('0.06861036754506752',), 1361760221: ('0.06861036754506752',), 1361760110: ('0.06861036754506752',), 1361760099: ('0.06861036754506752',), 1361760094: ('0.06861036754506752',), 23450391: ()} output_args : {23450391: [{'plastique': 23450392, 'Carton_brun': 23450393, 'flou': 23450394, 'kraft': 23450395, 'environnement': 23450396, 'metal': 23450397, 'papier': 23450398, 'cartonnette': 23450399, 'autre_refus': 23450400, 'Teint_Dans_La_Masse': 23450401, 'mal_croppe': 23450402, 'Carton_gris': 23450403}]} args : 23450391 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 :38, first value : ('0.06861036754506752',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23450391) 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 (1361760911,1361760843,1361760839,1361760834,1361760829,1361760796,1361760786,1361760778,1361760775,1361760772,1361760768,1361760736,1361760729,1361760724,1361760722,1361760719,1361760681,1361760678,1361760672,1361760595,1361760584,1361760580,1361760513,1361760508,1361760460,1361760426,1361760422,1361760417,1361760412,1361760382,1361760375,1361760360,1361760225,1361760221,1361760110,1361760099,1361760094) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1361760094 begin to download photo : 1361760412 begin to download photo : 1361760584 begin to download photo : 1361760729 begin to download photo : 1361760829 download finish for photo 1361760729 begin to download photo : 1361760736 download finish for photo 1361760094 begin to download photo : 1361760099 download finish for photo 1361760584 begin to download photo : 1361760595 download finish for photo 1361760412 begin to download photo : 1361760417 download finish for photo 1361760829 begin to download photo : 1361760834 download finish for photo 1361760834 begin to download photo : 1361760839 download finish for photo 1361760736 begin to download photo : 1361760768 download finish for photo 1361760595 begin to download photo : 1361760672 download finish for photo 1361760417 begin to download photo : 1361760422 download finish for photo 1361760099 begin to download photo : 1361760110 download finish for photo 1361760839 begin to download photo : 1361760843 download finish for photo 1361760110 begin to download photo : 1361760221 download finish for photo 1361760768 begin to download photo : 1361760772 download finish for photo 1361760672 begin to download photo : 1361760678 download finish for photo 1361760422 begin to download photo : 1361760426 download finish for photo 1361760772 download finish for photo 1361760843 begin to download photo : 1361760775 begin to download photo : 1361760911 download finish for photo 1361760678 begin to download photo : 1361760681 download finish for photo 1361760221 begin to download photo : 1361760225 download finish for photo 1361760426 begin to download photo : 1361760460 download finish for photo 1361760911 download finish for photo 1361760225 begin to download photo : 1361760360 download finish for photo 1361760681 begin to download photo : 1361760719 download finish for photo 1361760460 begin to download photo : 1361760508 download finish for photo 1361760775 begin to download photo : 1361760778 download finish for photo 1361760508 begin to download photo : 1361760513 download finish for photo 1361760719 begin to download photo : 1361760722 download finish for photo 1361760778 begin to download photo : 1361760786 download finish for photo 1361760360 begin to download photo : 1361760375 download finish for photo 1361760513 begin to download photo : 1361760580 download finish for photo 1361760722 begin to download photo : 1361760724 download finish for photo 1361760375 begin to download photo : 1361760382 download finish for photo 1361760786 begin to download photo : 1361760796 download finish for photo 1361760580 download finish for photo 1361760382 download finish for photo 1361760796 download finish for photo 1361760724 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 : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P23450391_31-05-2025_05_36_34.pdf 23450392 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=23450392 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361760828: '1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839095_0.png'} change filename to text .imagette234503921748662594/ imagette234503921748662594/1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839095_0.png.png imagette234503941748662594/ imagette234503951748662594/ imagette234503971748662594/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/2b8ff3fef17185539e112195c24058cc_48162086.png imagette234503921748662594 23450394 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=23450394 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234503941748662594 23450395 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=23450395 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234503951748662594 23450397 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=23450397 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234503971748662594 23450399 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=23450399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361760827: '1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839087_0.png'} change filename to text .imagette234503991748662594/ imagette234503991748662594/1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839087_0.png.png imagette234504001748662594/ imagette234504021748662594/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/d19e7e19ebfd2de40f7b8c0fb5f4ef9e_27114687.png imagette234503991748662594 23450400 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=23450400 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234504001748662594 23450402 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=23450402 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234504021748662594 23450393 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=23450393 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361760455: '1748605707_4065721_1361760375_bbe1618abb1ec713c0c4b2bf3a84798b_rle_crop_3815833500_0.png', 1361760457: '1748605707_4065721_1361760360_54a1cb6a8b923ac780f1f3e1cc0efe3b_rle_crop_3815833511_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/43908af2b54853e8f909d34d8ebc5555_58931350.png change filename to text .imagette234503931748662594/ imagette234503931748662594/1748605707_4065721_1361760375_bbe1618abb1ec713c0c4b2bf3a84798b_rle_crop_3815833500_0.png.png imagette234503931748662594/1748605707_4065721_1361760360_54a1cb6a8b923ac780f1f3e1cc0efe3b_rle_crop_3815833511_0.png.png imagette234504011748662594/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/82cfd3cb146a09ba5a9a5ff015facab8_47641696.png imagette234503931748662594 23450401 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=23450401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234504011748662594 23450403 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=23450403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361760825: '1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839089_0.png'} change filename to text .imagette234504031748662594/ imagette234504031748662594/1748606066_4071280_1361760722_2e18a0d1d19581056548b09099c427b3_rle_crop_3815839089_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/28899c971d8d12609e2aa95d00fa3558_55314381.png imagette234504031748662594 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23450391 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23450404,23450405,23450406,23450407,23450408,23450409,23450410,23450411,23450412,23450413,23450414,23450415?tags=plastique,Carton_brun,flou,kraft,environnement,metal,papier,cartonnette,autre_refus,Teint_Dans_La_Masse,mal_croppe,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1361760911] : ('0.06861036754506752',) no score found for photo 1361760911 We are sending mail with results at report@fotonower.com args[1361760843] : ('0.06861036754506752',) no score found for photo 1361760843 We are sending mail with results at report@fotonower.com args[1361760839] : ('0.06861036754506752',) no score found for photo 1361760839 We are sending mail with results at report@fotonower.com args[1361760834] : ('0.06861036754506752',) no score found for photo 1361760834 We are sending mail with results at report@fotonower.com args[1361760829] : ('0.06861036754506752',) no score found for photo 1361760829 We are sending mail with results at report@fotonower.com args[1361760796] : ('0.06861036754506752',) no score found for photo 1361760796 We are sending mail with results at report@fotonower.com args[1361760786] : ('0.06861036754506752',) no score found for photo 1361760786 We are sending mail with results at report@fotonower.com args[1361760778] : ('0.06861036754506752',) no score found for photo 1361760778 We are sending mail with results at report@fotonower.com args[1361760775] : ('0.06861036754506752',) no score found for photo 1361760775 We are sending mail with results at report@fotonower.com args[1361760772] : ('0.06861036754506752',) no score found for photo 1361760772 We are sending mail with results at report@fotonower.com args[1361760768] : ('0.06861036754506752',) no score found for photo 1361760768 We are sending mail with results at report@fotonower.com args[1361760736] : ('0.06861036754506752',) no score found for photo 1361760736 We are sending mail with results at report@fotonower.com args[1361760729] : ('0.06861036754506752',) no score found for photo 1361760729 We are sending mail with results at report@fotonower.com args[1361760724] : ('0.06861036754506752',) no score found for photo 1361760724 We are sending mail with results at report@fotonower.com args[1361760722] : ('0.06861036754506752',) no score found for photo 1361760722 We are sending mail with results at report@fotonower.com args[1361760719] : ('0.06861036754506752',) no score found for photo 1361760719 We are sending mail with results at report@fotonower.com args[1361760681] : ('0.06861036754506752',) no score found for photo 1361760681 We are sending mail with results at report@fotonower.com args[1361760678] : ('0.06861036754506752',) no score found for photo 1361760678 We are sending mail with results at report@fotonower.com args[1361760672] : ('0.06861036754506752',) no score found for photo 1361760672 We are sending mail with results at report@fotonower.com args[1361760595] : ('0.06861036754506752',) no score found for photo 1361760595 We are sending mail with results at report@fotonower.com args[1361760584] : ('0.06861036754506752',) no score found for photo 1361760584 We are sending mail with results at report@fotonower.com args[1361760580] : ('0.06861036754506752',) no score found for photo 1361760580 We are sending mail with results at report@fotonower.com args[1361760513] : ('0.06861036754506752',) no score found for photo 1361760513 We are sending mail with results at report@fotonower.com args[1361760508] : ('0.06861036754506752',) no score found for photo 1361760508 We are sending mail with results at report@fotonower.com args[1361760460] : ('0.06861036754506752',) no score found for photo 1361760460 We are sending mail with results at report@fotonower.com args[1361760426] : ('0.06861036754506752',) no score found for photo 1361760426 We are sending mail with results at report@fotonower.com args[1361760422] : ('0.06861036754506752',) no score found for photo 1361760422 We are sending mail with results at report@fotonower.com args[1361760417] : ('0.06861036754506752',) no score found for photo 1361760417 We are sending mail with results at report@fotonower.com args[1361760412] : ('0.06861036754506752',) no score found for photo 1361760412 We are sending mail with results at report@fotonower.com args[1361760382] : ('0.06861036754506752',) no score found for photo 1361760382 We are sending mail with results at report@fotonower.com args[1361760375] : ('0.06861036754506752',) no score found for photo 1361760375 We are sending mail with results at report@fotonower.com args[1361760360] : ('0.06861036754506752',) no score found for photo 1361760360 We are sending mail with results at report@fotonower.com args[1361760225] : ('0.06861036754506752',) no score found for photo 1361760225 We are sending mail with results at report@fotonower.com args[1361760221] : ('0.06861036754506752',) no score found for photo 1361760221 We are sending mail with results at report@fotonower.com args[1361760110] : ('0.06861036754506752',) no score found for photo 1361760110 We are sending mail with results at report@fotonower.com args[1361760099] : ('0.06861036754506752',) no score found for photo 1361760099 We are sending mail with results at report@fotonower.com args[1361760094] : ('0.06861036754506752',) no score found for photo 1361760094 We are sending mail with results at report@fotonower.com refus_total : 0.06861036754506752 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=23450391 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_P23450391_31-05-2025_05_36_34.pdf results_Auto_P23450391_31-05-2025_05_36_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_31-05-2025_05_36_34.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','23450391','results_Auto_P23450391_31-05-2025_05_36_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_31-05-2025_05_36_34.pdf','pdf','','0.29','0.06861036754506752') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23450391]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] map_info['map_portfolio_photo'] : {23450391: [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094]} final : False mtd_id 4302 list_pids : [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] 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, '2992812') ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '23450391', '1361760911', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812')] time used for this insertion : 0.8973605632781982 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8727569580078125 time spend to save output : 0.8978762626647949 total time spend for step 4 : 4.770633220672607 step5:split_time_score Sat May 31 05:36:37 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 : ['23450391'] 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 : [('23450391',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23450391) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1361760829: {'path': 'temp/1748662593_3391358_1361760829_b3371b8bd5e6f67499f66c49f9a34b81.jpg', 'extension': 'jpg'}, 1361760834: {'path': 'temp/1748662593_3391358_1361760834_c6f017d9011ddb2aac3813cc90f0a93b.jpg', 'extension': 'jpg'}, 1361760839: {'path': 'temp/1748662593_3391358_1361760839_03b384a406103ac47b3d17ee7cdaffe9.jpg', 'extension': 'jpg'}, 1361760843: {'path': 'temp/1748662593_3391358_1361760843_7e9dfa88110c5bbdca9c7a8ccff40ba2.jpg', 'extension': 'jpg'}, 1361760911: {'path': 'temp/1748662593_3391358_1361760911_1c04854d9ce36f15bc54bdba73c27486.jpg', 'extension': 'jpg'}, 1361760412: {'path': 'temp/1748662593_3391358_1361760412_281529c9547f70cae752385634a6e13a.jpg', 'extension': 'jpg'}, 1361760417: {'path': 'temp/1748662593_3391358_1361760417_0cc6be65d200642a7b241b7030802ff0.jpg', 'extension': 'jpg'}, 1361760422: {'path': 'temp/1748662593_3391358_1361760422_b1f17f264b2654f5cf50e933b6b69336.jpg', 'extension': 'jpg'}, 1361760426: {'path': 'temp/1748662593_3391358_1361760426_40d2cbb23e206be82f7d95bdafd253a7.jpg', 'extension': 'jpg'}, 1361760460: {'path': 'temp/1748662593_3391358_1361760460_0e3eb7302ad7a2f19a18a973a0acc0b1.jpg', 'extension': 'jpg'}, 1361760508: {'path': 'temp/1748662593_3391358_1361760508_149a7e3093b52acf26c4e3cc5cb2020c.jpg', 'extension': 'jpg'}, 1361760513: {'path': 'temp/1748662593_3391358_1361760513_f4ae17183b94eed20a8a4fa89cc0fa8c.jpg', 'extension': 'jpg'}, 1361760580: {'path': 'temp/1748662593_3391358_1361760580_fae6358f6510f8f0a079239552fadbf1.jpg', 'extension': 'jpg'}, 1361760094: {'path': 'temp/1748662593_3391358_1361760094_489957f8d56924d2aa8c0143cd1828dc.jpg', 'extension': 'jpg'}, 1361760099: {'path': 'temp/1748662593_3391358_1361760099_69375e2ae2ad48dddb1790ab47281662.jpg', 'extension': 'jpg'}, 1361760110: {'path': 'temp/1748662593_3391358_1361760110_03d57bdfa2443f7a604ce7ab1494cc70.jpg', 'extension': 'jpg'}, 1361760221: {'path': 'temp/1748662593_3391358_1361760221_a6e4e1c8ed5cb7fe93d991cdf4c7402d.jpg', 'extension': 'jpg'}, 1361760225: {'path': 'temp/1748662593_3391358_1361760225_7e84caa79cc73ab92ba44f1a36fd1757.jpg', 'extension': 'jpg'}, 1361760360: {'path': 'temp/1748662593_3391358_1361760360_54a1cb6a8b923ac780f1f3e1cc0efe3b.jpg', 'extension': 'jpg'}, 1361760375: {'path': 'temp/1748662593_3391358_1361760375_bbe1618abb1ec713c0c4b2bf3a84798b.jpg', 'extension': 'jpg'}, 1361760382: {'path': 'temp/1748662593_3391358_1361760382_536dac9dd7d77293538f03c1aeb3110c.jpg', 'extension': 'jpg'}, 1361760729: {'path': 'temp/1748662593_3391358_1361760729_9854b203b91f6ee4c9931738ad76feb8.jpg', 'extension': 'jpg'}, 1361760736: {'path': 'temp/1748662593_3391358_1361760736_967a884ccc50afb404ea68ee3cc4feca.jpg', 'extension': 'jpg'}, 1361760768: {'path': 'temp/1748662593_3391358_1361760768_cb007ab0e5885afaefc27b6828928ebb.jpg', 'extension': 'jpg'}, 1361760772: {'path': 'temp/1748662593_3391358_1361760772_f93e4dbae0e511ed2ea334a7fe410771.jpg', 'extension': 'jpg'}, 1361760775: {'path': 'temp/1748662593_3391358_1361760775_e4818463249fb29ab03b33225eaf5ab3.jpg', 'extension': 'jpg'}, 1361760778: {'path': 'temp/1748662593_3391358_1361760778_33da292cd97402d152f26cb93f5eba32.jpg', 'extension': 'jpg'}, 1361760786: {'path': 'temp/1748662593_3391358_1361760786_1e0aaf112596d3f5750d5e21687f7a7a.jpg', 'extension': 'jpg'}, 1361760796: {'path': 'temp/1748662593_3391358_1361760796_b3fc9a3faca980416407bdb4b9ac323f.jpg', 'extension': 'jpg'}, 1361760584: {'path': 'temp/1748662593_3391358_1361760584_3eb50dd9e8fcd3f65d6ece8c2b4fd9fe.jpg', 'extension': 'jpg'}, 1361760595: {'path': 'temp/1748662593_3391358_1361760595_8605b414216be9c318caad185e315a0f.jpg', 'extension': 'jpg'}, 1361760672: {'path': 'temp/1748662593_3391358_1361760672_1790e4edeab86038804c929c0ee6f266.jpg', 'extension': 'jpg'}, 1361760678: {'path': 'temp/1748662593_3391358_1361760678_b0036ef77b74e4927bbd0864425c96a9.jpg', 'extension': 'jpg'}, 1361760681: {'path': 'temp/1748662593_3391358_1361760681_29839452e52240e6b0c95dabeda79347.jpg', 'extension': 'jpg'}, 1361760719: {'path': 'temp/1748662593_3391358_1361760719_0ad8a37c6dcfaf8ae81f75026036fe4f.jpg', 'extension': 'jpg'}, 1361760722: {'path': 'temp/1748662593_3391358_1361760722_2e18a0d1d19581056548b09099c427b3.jpg', 'extension': 'jpg'}, 1361760724: {'path': 'temp/1748662593_3391358_1361760724_140d1bea68ea08e4c0fef1ef4c5c2adb.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 = 23450391; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23450391 group by h (('13', 37),) 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=23450391 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 (23450391) 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 (23450391) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30052025 23450391 Nombre de photos uploadées : 37 / 23040 (0%) 30052025 23450391 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 30052025 23450391 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1361760110, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/03d57bdfa2443f7a604ce7ab1494cc70.jpg', 'username': None, 'uploaded_at': 1748605316, 'text': 'image_30052025_13_16_04_10136.jpg'}, {'photo_id': 1361760099, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/69375e2ae2ad48dddb1790ab47281662.jpg', 'username': None, 'uploaded_at': 1748605316, 'text': 'image_30052025_13_16_14_10140.jpg'}, {'photo_id': 1361760094, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/489957f8d56924d2aa8c0143cd1828dc.jpg', 'username': None, 'uploaded_at': 1748605316, 'text': 'image_30052025_13_16_43_10138.jpg'}, {'photo_id': 1361760225, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/30/7e84caa79cc73ab92ba44f1a36fd1757.jpg', 'username': None, 'uploaded_at': 1748605431, 'text': 'image_30052025_13_16_54_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018520355224609375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23450391, '2025-05-30' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1847907,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02618408203125 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= 1847907 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23445263, 'dashboard_result_id': 11063170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445263_31-05-2025_05_34_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23445276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445287, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23445706, 'dashboard_result_id': 11063171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445706_31-05-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23445708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445718, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23446036, 'dashboard_result_id': 11063172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446036_31-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446062, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23446155, 'dashboard_result_id': 11063173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446155_31-05-2025_05_35_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446170, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23450391, 'dashboard_result_id': 11063174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_30-05-2025_13_54_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450403, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23450552, 'dashboard_result_id': 11063175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450552_30-05-2025_14_11_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450564, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23450832, 'dashboard_result_id': 11063176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450832_30-05-2025_14_24_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23450834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450845, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23451020, 'dashboard_result_id': 11063177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451020_30-05-2025_14_40_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23451027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451038, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23451411, 'dashboard_result_id': 11063178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451411_30-05-2025_14_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23451416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451427, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23451749, 'dashboard_result_id': 11063179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451749_30-05-2025_15_09_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451761, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23452146, 'dashboard_result_id': 11063180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452146_30-05-2025_15_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452164, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23452638, 'dashboard_result_id': 11063181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452638_30-05-2025_15_39_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452650, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23452865, 'dashboard_result_id': 11063182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452865_30-05-2025_15_56_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452877, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23453145, 'dashboard_result_id': 11063183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453145_30-05-2025_16_12_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453199, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23453891, 'dashboard_result_id': 11063184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453891_30-05-2025_16_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453928, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23454337, 'dashboard_result_id': 11063185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454337_30-05-2025_16_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454366, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23454787, 'dashboard_result_id': 11063186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454787_30-05-2025_16_56_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454852, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23455174, 'dashboard_result_id': 11063187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455174_30-05-2025_17_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455187, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23455935, 'dashboard_result_id': 11063188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455935_30-05-2025_17_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455971, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23456234, 'dashboard_result_id': 11063189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23456234_30-05-2025_19_24_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23456275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23456276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23456277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23456278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23456279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23456280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23456281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23456282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23456283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23456284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23456285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23456286, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23457055, 'dashboard_result_id': 11063190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457055_30-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457103, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23457261, 'dashboard_result_id': 11063191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457261_30-05-2025_18_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457303, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23457567, 'dashboard_result_id': 11063192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457567_30-05-2025_18_43_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457579, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23458000, 'dashboard_result_id': 11063193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458000_30-05-2025_18_56_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23458005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458016, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23458427, 'dashboard_result_id': 11063194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458427_30-05-2025_19_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23458436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458444, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23459138, 'dashboard_result_id': 11063195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459138_30-05-2025_19_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459144, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459155, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23459437, 'dashboard_result_id': 11063196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459437_30-05-2025_19_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459454, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23459877, 'dashboard_result_id': 11063197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459877_30-05-2025_19_56_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23459916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459927, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23460253, 'dashboard_result_id': 11063198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460253_30-05-2025_20_13_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460265, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23460849, 'dashboard_result_id': 11063199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460849_30-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460885, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23461163, 'dashboard_result_id': 11063200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23461163_30-05-2025_22_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23461170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23461171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23461172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23461173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23461174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23461175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23461176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23461177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23461178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23461179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23461180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23461181, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23462045, 'dashboard_result_id': 11063201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462045_30-05-2025_21_11_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462057, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23462274, 'dashboard_result_id': 11063202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462274_30-05-2025_21_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462281, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462290, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23462679, 'dashboard_result_id': 11063203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462679_30-05-2025_21_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23462686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462697, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23463079, 'dashboard_result_id': 11063204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463079_30-05-2025_21_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463131, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23463616, 'dashboard_result_id': 11063205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463616_30-05-2025_22_12_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463639, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23464494, 'dashboard_result_id': 11063206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464494_30-05-2025_22_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464550, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23464924, 'dashboard_result_id': 11063207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464924_30-05-2025_22_42_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464976, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23465452, 'dashboard_result_id': 11063208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465452_30-05-2025_22_56_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23465466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465477, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23465879, 'dashboard_result_id': 11063209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465879_30-05-2025_23_12_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23465886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465892, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23466432, 'dashboard_result_id': 11063210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466432_30-05-2025_23_27_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23466438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23466449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466450, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23466763, 'dashboard_result_id': 11063211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466763_30-05-2025_23_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23466781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23466790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466792, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23467164, 'dashboard_result_id': 11063212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467164_30-05-2025_23_56_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467212, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23467560, 'dashboard_result_id': 11063213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467560_31-05-2025_00_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467573, 'pht': 3726}}"}, {'dashboat_entry_day': 1847907, 'dashboard_run_id': 1859092, 'mtr_portfolio_id': 23468153, 'dashboard_result_id': 11063214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23468153_31-05-2025_01_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23468179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23468180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23468181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23468182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23468183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23468184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23468185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23468186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23468187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23468188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23468189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23468190, '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 = 23445263 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2992808, 'mtr_portfolio_id': 23445263, 'created_at': datetime.datetime(2025, 5, 31, 5, 34, 30), 'result': '0.05443944812640592', 'result_long': None, 'result_double': None}] Qualite : 0.05443944812640592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23445263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445263_31-05-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23445263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445263_31-05-2025_05_34_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23445276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445287, 'pht': 3726}}" where mtr_portfolio_id = 23445263 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23445263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063170, 0.05443944812640592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445263_31-05-2025_05_34_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23445276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23445706 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2992809, 'mtr_portfolio_id': 23445706, 'created_at': datetime.datetime(2025, 5, 31, 5, 34, 58), 'result': '0.08866459193146103', 'result_long': None, 'result_double': None}] Qualite : 0.08866459193146103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23445706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445706_31-05-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23445706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445706_31-05-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23445708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445718, 'pht': 3726}}" where mtr_portfolio_id = 23445706 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23445706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063171, 0.08866459193146103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23445706_31-05-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23445707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23445708, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23445709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23445710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23445711, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23445712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23445713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23445714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23445715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23445716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23445717, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23445718, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23446036 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2992810, 'mtr_portfolio_id': 23446036, 'created_at': datetime.datetime(2025, 5, 31, 5, 35, 30), 'result': '0.0371419421678067', 'result_long': None, 'result_double': None}] Qualite : 0.0371419421678067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23446036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446036_31-05-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23446036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446036_31-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446062, 'pht': 3726}}" where mtr_portfolio_id = 23446036 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23446036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063172, 0.0371419421678067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446036_31-05-2025_05_35_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446062, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23446155 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2992811, 'mtr_portfolio_id': 23446155, 'created_at': datetime.datetime(2025, 5, 31, 5, 35, 57), 'result': '0.09152145427644968', 'result_long': None, 'result_double': None}] Qualite : 0.09152145427644968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23446155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446155_31-05-2025_05_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23446155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446155_31-05-2025_05_35_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446170, 'pht': 3726}}" where mtr_portfolio_id = 23446155 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23446155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063173, 0.09152145427644968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23446155_31-05-2025_05_35_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23446159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23446160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23446161, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23446162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23446163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23446164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23446165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23446166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23446167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23446168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23446169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23446170, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23450391 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2992812, 'mtr_portfolio_id': 23450391, 'created_at': datetime.datetime(2025, 5, 31, 5, 36, 32), 'result': '0.06861036754506752', 'result_long': None, 'result_double': None}] Qualite : 0.06861036754506752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23450391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_31-05-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23450391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_31-05-2025_05_36_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450403, 'pht': 3726}}" where mtr_portfolio_id = 23450391 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23450391 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063174, 0.06861036754506752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450391_31-05-2025_05_36_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450392, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23450552 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2986756, 'mtr_portfolio_id': 23450552, 'created_at': datetime.datetime(2025, 5, 30, 14, 11, 31), 'result': '0.05435491869478011', 'result_long': None, 'result_double': None}] Qualite : 0.05435491869478011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23450552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450552_30-05-2025_14_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23450552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450552_30-05-2025_14_11_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450564, 'pht': 3726}}" where mtr_portfolio_id = 23450552 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23450552 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063175, 0.05435491869478011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450552_30-05-2025_14_11_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450553, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23450554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450564, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23450832 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2986834, 'mtr_portfolio_id': 23450832, 'created_at': datetime.datetime(2025, 5, 30, 14, 24, 57), 'result': '0.07584842652474179', 'result_long': None, 'result_double': None}] Qualite : 0.07584842652474179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23450832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450832_30-05-2025_14_24_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23450832 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450832_30-05-2025_14_24_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23450834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450845, 'pht': 3726}}" where mtr_portfolio_id = 23450832 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23450832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063176, 0.07584842652474179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23450832_30-05-2025_14_24_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23450834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23450835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23450836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23450837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23450838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23450839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23450840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23450841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23450842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23450843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23450844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23450845, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23451020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2986900, 'mtr_portfolio_id': 23451020, 'created_at': datetime.datetime(2025, 5, 30, 14, 40, 57), 'result': '0.03213120169654901', 'result_long': None, 'result_double': None}] Qualite : 0.03213120169654901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23451020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451020_30-05-2025_14_40_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23451020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451020_30-05-2025_14_40_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23451027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451038, 'pht': 3726}}" where mtr_portfolio_id = 23451020 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23451020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063177, 0.03213120169654901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451020_30-05-2025_14_40_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23451027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451031, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23451411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987056, 'mtr_portfolio_id': 23451411, 'created_at': datetime.datetime(2025, 5, 30, 14, 54, 30), 'result': '0.05996728967833512', 'result_long': None, 'result_double': None}] Qualite : 0.05996728967833512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23451411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451411_30-05-2025_14_54_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23451411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451411_30-05-2025_14_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23451416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451427, 'pht': 3726}}" where mtr_portfolio_id = 23451411 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23451411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063178, 0.05996728967833512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451411_30-05-2025_14_54_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23451416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23451749 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987208, 'mtr_portfolio_id': 23451749, 'created_at': datetime.datetime(2025, 5, 30, 15, 9, 30), 'result': '0.050864360618282284', 'result_long': None, 'result_double': None}] Qualite : 0.050864360618282284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23451749 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451749_30-05-2025_15_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23451749 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451749_30-05-2025_15_09_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451761, 'pht': 3726}}" where mtr_portfolio_id = 23451749 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23451749 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063179, 0.050864360618282284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23451749_30-05-2025_15_09_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23451750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23451751, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23451752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23451753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23451754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23451755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23451756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23451757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23451758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23451759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23451760, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23451761, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23452146 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987308, 'mtr_portfolio_id': 23452146, 'created_at': datetime.datetime(2025, 5, 30, 15, 26, 58), 'result': '0.040171989927842926', 'result_long': None, 'result_double': None}] Qualite : 0.040171989927842926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23452146 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452146_30-05-2025_15_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23452146 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452146_30-05-2025_15_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452164, 'pht': 3726}}" where mtr_portfolio_id = 23452146 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23452146 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063180, 0.040171989927842926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452146_30-05-2025_15_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452158, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452164, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23452638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987467, 'mtr_portfolio_id': 23452638, 'created_at': datetime.datetime(2025, 5, 30, 15, 39, 58), 'result': '0.06099857793039236', 'result_long': None, 'result_double': None}] Qualite : 0.06099857793039236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23452638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452638_30-05-2025_15_39_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23452638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452638_30-05-2025_15_39_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452650, 'pht': 3726}}" where mtr_portfolio_id = 23452638 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23452638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063181, 0.06099857793039236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452638_30-05-2025_15_39_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23452865 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 = 23452865 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 = 23452865 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23452865 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 = 23452865 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 = 23452865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452865_30-05-2025_15_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23452865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23452865_30-05-2025_15_56_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23452866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23452867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23452868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23452869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23452870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23452871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23452872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23452873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23452874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23452875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23452876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23452877, 'pht': 3726}}" where mtr_portfolio_id = 23452865 and dashboard_run_id = 1859092 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23453145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987643, 'mtr_portfolio_id': 23453145, 'created_at': datetime.datetime(2025, 5, 30, 16, 12, 58), 'result': '0.0708284110751183', 'result_long': None, 'result_double': None}] Qualite : 0.0708284110751183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23453145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453145_30-05-2025_16_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23453145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453145_30-05-2025_16_12_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453199, 'pht': 3726}}" where mtr_portfolio_id = 23453145 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23453145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063183, 0.0708284110751183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453145_30-05-2025_16_12_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453192, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453199, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23453891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987823, 'mtr_portfolio_id': 23453891, 'created_at': datetime.datetime(2025, 5, 30, 16, 26, 58), 'result': '0.018156925894714862', 'result_long': None, 'result_double': None}] Qualite : 0.018156925894714862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23453891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453891_30-05-2025_16_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23453891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453891_30-05-2025_16_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453928, 'pht': 3726}}" where mtr_portfolio_id = 23453891 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23453891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063184, 0.018156925894714862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23453891_30-05-2025_16_26_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23453917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23453918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23453919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23453920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23453921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23453922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23453923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23453924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23453925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23453926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23453927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23453928, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23454337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2987940, 'mtr_portfolio_id': 23454337, 'created_at': datetime.datetime(2025, 5, 30, 16, 42, 59), 'result': '0.06885123786277302', 'result_long': None, 'result_double': None}] Qualite : 0.06885123786277302 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23454337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454337_30-05-2025_16_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23454337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454337_30-05-2025_16_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454366, 'pht': 3726}}" where mtr_portfolio_id = 23454337 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23454337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063185, 0.06885123786277302, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454337_30-05-2025_16_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454366, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23454787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988039, 'mtr_portfolio_id': 23454787, 'created_at': datetime.datetime(2025, 5, 30, 16, 56, 59), 'result': '0.06472985030379809', 'result_long': None, 'result_double': None}] Qualite : 0.06472985030379809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23454787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454787_30-05-2025_16_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23454787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454787_30-05-2025_16_56_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454852, 'pht': 3726}}" where mtr_portfolio_id = 23454787 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23454787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063186, 0.06472985030379809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23454787_30-05-2025_16_56_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23454841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23454842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23454843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23454844, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23454845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23454846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23454847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23454848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23454849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23454850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23454851, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23454852, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23455174 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988183, 'mtr_portfolio_id': 23455174, 'created_at': datetime.datetime(2025, 5, 30, 17, 13, 1), 'result': '0.05611344137097217', 'result_long': None, 'result_double': None}] Qualite : 0.05611344137097217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23455174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455174_30-05-2025_17_13_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23455174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455174_30-05-2025_17_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455187, 'pht': 3726}}" where mtr_portfolio_id = 23455174 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23455174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063187, 0.05611344137097217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455174_30-05-2025_17_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23455935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988354, 'mtr_portfolio_id': 23455935, 'created_at': datetime.datetime(2025, 5, 30, 17, 26, 58), 'result': '0.0349807326902023', 'result_long': None, 'result_double': None}] Qualite : 0.0349807326902023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23455935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455935_30-05-2025_17_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23455935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455935_30-05-2025_17_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455971, 'pht': 3726}}" where mtr_portfolio_id = 23455935 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23455935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063188, 0.0349807326902023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23455935_30-05-2025_17_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23455960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23455961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23455962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23455963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23455964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23455965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23455966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23455967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23455968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23455969, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23455970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23455971, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23456234 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988438, 'mtr_portfolio_id': 23456234, 'created_at': datetime.datetime(2025, 5, 30, 19, 24, 58), 'result': '0.07391909282226151', 'result_long': None, 'result_double': None}] Qualite : 0.07391909282226151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23456234 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23456234_30-05-2025_19_24_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23456234 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23456234_30-05-2025_19_24_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23456275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23456276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23456277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23456278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23456279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23456280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23456281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23456282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23456283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23456284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23456285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23456286, 'pht': 3726}}" where mtr_portfolio_id = 23456234 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23456234 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063189, 0.07391909282226151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23456234_30-05-2025_19_24_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23456275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23456276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23456277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23456278, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23456279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23456280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23456281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23456282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23456283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23456284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23456285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23456286, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23457055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988656, 'mtr_portfolio_id': 23457055, 'created_at': datetime.datetime(2025, 5, 30, 18, 12, 59), 'result': '0.04587829957790436', 'result_long': None, 'result_double': None}] Qualite : 0.04587829957790436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23457055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457055_30-05-2025_18_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23457055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457055_30-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457103, 'pht': 3726}}" where mtr_portfolio_id = 23457055 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23457055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063190, 0.04587829957790436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457055_30-05-2025_18_12_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23457261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988688, 'mtr_portfolio_id': 23457261, 'created_at': datetime.datetime(2025, 5, 30, 18, 27, 28), 'result': '0.030464520359368422', 'result_long': None, 'result_double': None}] Qualite : 0.030464520359368422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23457261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457261_30-05-2025_18_27_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23457261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457261_30-05-2025_18_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457303, 'pht': 3726}}" where mtr_portfolio_id = 23457261 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23457261 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063191, 0.030464520359368422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457261_30-05-2025_18_27_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457294, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457297, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457303, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23457567 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988780, 'mtr_portfolio_id': 23457567, 'created_at': datetime.datetime(2025, 5, 30, 18, 43, 29), 'result': '0.04809540582550454', 'result_long': None, 'result_double': None}] Qualite : 0.04809540582550454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23457567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457567_30-05-2025_18_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23457567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457567_30-05-2025_18_43_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457579, 'pht': 3726}}" where mtr_portfolio_id = 23457567 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23457567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063192, 0.04809540582550454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23457567_30-05-2025_18_43_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23457568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23457569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23457570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23457571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23457572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23457573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23457574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23457575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23457576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23457577, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23457578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23457579, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23458000 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2988899, 'mtr_portfolio_id': 23458000, 'created_at': datetime.datetime(2025, 5, 30, 18, 56, 57), 'result': '0.02514963598039627', 'result_long': None, 'result_double': None}] Qualite : 0.02514963598039627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23458000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458000_30-05-2025_18_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23458000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458000_30-05-2025_18_56_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23458005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458016, 'pht': 3726}}" where mtr_portfolio_id = 23458000 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23458000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063193, 0.02514963598039627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458000_30-05-2025_18_56_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23458005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23458427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989053, 'mtr_portfolio_id': 23458427, 'created_at': datetime.datetime(2025, 5, 30, 19, 13), 'result': '0.062438400226993776', 'result_long': None, 'result_double': None}] Qualite : 0.062438400226993776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23458427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458427_30-05-2025_19_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23458427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458427_30-05-2025_19_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23458436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458444, 'pht': 3726}}" where mtr_portfolio_id = 23458427 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23458427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063194, 0.062438400226993776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23458427_30-05-2025_19_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23458433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23458434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23458435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23458436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23458437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23458438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23458439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23458440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23458441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23458442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23458443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23458444, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23459138 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989182, 'mtr_portfolio_id': 23459138, 'created_at': datetime.datetime(2025, 5, 30, 19, 27), 'result': '0.0336257634897161', 'result_long': None, 'result_double': None}] Qualite : 0.0336257634897161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23459138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459138_30-05-2025_19_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23459138 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459138_30-05-2025_19_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459144, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459155, 'pht': 3726}}" where mtr_portfolio_id = 23459138 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23459138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063195, 0.0336257634897161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459138_30-05-2025_19_27_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459144, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459155, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23459437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989263, 'mtr_portfolio_id': 23459437, 'created_at': datetime.datetime(2025, 5, 30, 19, 42, 58), 'result': '0.045073916957695', 'result_long': None, 'result_double': None}] Qualite : 0.045073916957695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23459437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459437_30-05-2025_19_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23459437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459437_30-05-2025_19_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459454, 'pht': 3726}}" where mtr_portfolio_id = 23459437 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23459437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063196, 0.045073916957695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459437_30-05-2025_19_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23459450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459454, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23459877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989371, 'mtr_portfolio_id': 23459877, 'created_at': datetime.datetime(2025, 5, 30, 19, 56, 57), 'result': '0.0321767603195604', 'result_long': None, 'result_double': None}] Qualite : 0.0321767603195604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23459877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459877_30-05-2025_19_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23459877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459877_30-05-2025_19_56_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23459916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459927, 'pht': 3726}}" where mtr_portfolio_id = 23459877 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23459877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063197, 0.0321767603195604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23459877_30-05-2025_19_56_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23459916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23459917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23459918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23459919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23459920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23459921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23459922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23459923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23459924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23459925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23459926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23459927, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23460253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989505, 'mtr_portfolio_id': 23460253, 'created_at': datetime.datetime(2025, 5, 30, 20, 13), 'result': '0.060090712282567814', 'result_long': None, 'result_double': None}] Qualite : 0.060090712282567814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23460253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460253_30-05-2025_20_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23460253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460253_30-05-2025_20_13_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460265, 'pht': 3726}}" where mtr_portfolio_id = 23460253 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23460253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063198, 0.060090712282567814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460253_30-05-2025_20_13_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23460849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989625, 'mtr_portfolio_id': 23460849, 'created_at': datetime.datetime(2025, 5, 30, 20, 26, 58), 'result': '0.052674891488855485', 'result_long': None, 'result_double': None}] Qualite : 0.052674891488855485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23460849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460849_30-05-2025_20_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23460849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460849_30-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460885, 'pht': 3726}}" where mtr_portfolio_id = 23460849 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23460849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063199, 0.052674891488855485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23460849_30-05-2025_20_26_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23460874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23460875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23460876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23460877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23460878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23460879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23460880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23460881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23460882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23460883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23460884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23460885, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23461163 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989734, 'mtr_portfolio_id': 23461163, 'created_at': datetime.datetime(2025, 5, 30, 22, 24, 58), 'result': '0.03752981573626564', 'result_long': None, 'result_double': None}] Qualite : 0.03752981573626564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23461163 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23461163_30-05-2025_22_24_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23461163 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23461163_30-05-2025_22_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23461170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23461171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23461172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23461173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23461174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23461175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23461176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23461177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23461178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23461179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23461180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23461181, 'pht': 3726}}" where mtr_portfolio_id = 23461163 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23461163 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063200, 0.03752981573626564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23461163_30-05-2025_22_24_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23461170, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23461171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23461172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23461173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23461174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23461175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23461176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23461177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23461178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23461179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23461180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23461181, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23462045 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2989987, 'mtr_portfolio_id': 23462045, 'created_at': datetime.datetime(2025, 5, 30, 21, 11, 57), 'result': '0.06026959756680172', 'result_long': None, 'result_double': None}] Qualite : 0.06026959756680172 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23462045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462045_30-05-2025_21_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23462045 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462045_30-05-2025_21_11_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462057, 'pht': 3726}}" where mtr_portfolio_id = 23462045 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23462045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063201, 0.06026959756680172, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462045_30-05-2025_21_11_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462055, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23462274 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990009, 'mtr_portfolio_id': 23462274, 'created_at': datetime.datetime(2025, 5, 30, 21, 26, 58), 'result': '0.051492190276170954', 'result_long': None, 'result_double': None}] Qualite : 0.051492190276170954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23462274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462274_30-05-2025_21_26_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23462274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462274_30-05-2025_21_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462281, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462290, 'pht': 3726}}" where mtr_portfolio_id = 23462274 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23462274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063202, 0.051492190276170954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462274_30-05-2025_21_26_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462281, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23462283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462288, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462290, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23462679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990099, 'mtr_portfolio_id': 23462679, 'created_at': datetime.datetime(2025, 5, 30, 21, 42, 59), 'result': '0.07014630485850133', 'result_long': None, 'result_double': None}] Qualite : 0.07014630485850133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23462679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462679_30-05-2025_21_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23462679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462679_30-05-2025_21_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23462686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462697, 'pht': 3726}}" where mtr_portfolio_id = 23462679 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23462679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063203, 0.07014630485850133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23462679_30-05-2025_21_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23462686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23462687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23462688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23462690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23462691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23462692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23462693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23462694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23462695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23462696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23462697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23463079 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990184, 'mtr_portfolio_id': 23463079, 'created_at': datetime.datetime(2025, 5, 30, 21, 56, 57), 'result': '0.06524797385409807', 'result_long': None, 'result_double': None}] Qualite : 0.06524797385409807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23463079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463079_30-05-2025_21_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23463079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463079_30-05-2025_21_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463131, 'pht': 3726}}" where mtr_portfolio_id = 23463079 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23463079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063204, 0.06524797385409807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463079_30-05-2025_21_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23463616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990354, 'mtr_portfolio_id': 23463616, 'created_at': datetime.datetime(2025, 5, 30, 22, 12, 58), 'result': '0.048923575237025584', 'result_long': None, 'result_double': None}] Qualite : 0.048923575237025584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23463616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463616_30-05-2025_22_12_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23463616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463616_30-05-2025_22_12_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463639, 'pht': 3726}}" where mtr_portfolio_id = 23463616 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23463616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063205, 0.048923575237025584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23463616_30-05-2025_22_12_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23463628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23463629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23463630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23463631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23463632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23463633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23463634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23463635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23463636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23463637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23463638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23463639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23464494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990505, 'mtr_portfolio_id': 23464494, 'created_at': datetime.datetime(2025, 5, 30, 22, 26, 58), 'result': '0.05433128765689094', 'result_long': None, 'result_double': None}] Qualite : 0.05433128765689094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23464494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464494_30-05-2025_22_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23464494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464494_30-05-2025_22_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464550, 'pht': 3726}}" where mtr_portfolio_id = 23464494 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23464494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063206, 0.05433128765689094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464494_30-05-2025_22_26_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464550, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23464924 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990617, 'mtr_portfolio_id': 23464924, 'created_at': datetime.datetime(2025, 5, 30, 22, 42, 57), 'result': '0.06899949224886988', 'result_long': None, 'result_double': None}] Qualite : 0.06899949224886988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23464924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464924_30-05-2025_22_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23464924 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464924_30-05-2025_22_42_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464976, 'pht': 3726}}" where mtr_portfolio_id = 23464924 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23464924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063207, 0.06899949224886988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23464924_30-05-2025_22_42_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23464965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23464966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23464967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23464968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23464969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23464970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23464971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23464972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23464973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23464974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23464975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23464976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23465452 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990717, 'mtr_portfolio_id': 23465452, 'created_at': datetime.datetime(2025, 5, 30, 22, 56, 58), 'result': '0.06183314641008609', 'result_long': None, 'result_double': None}] Qualite : 0.06183314641008609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23465452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465452_30-05-2025_22_56_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23465452 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465452_30-05-2025_22_56_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23465466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465477, 'pht': 3726}}" where mtr_portfolio_id = 23465452 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23465452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063208, 0.06183314641008609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465452_30-05-2025_22_56_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23465466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465476, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465477, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23465879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990840, 'mtr_portfolio_id': 23465879, 'created_at': datetime.datetime(2025, 5, 30, 23, 12, 57), 'result': '0.05921590099161291', 'result_long': None, 'result_double': None}] Qualite : 0.05921590099161291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23465879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465879_30-05-2025_23_12_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23465879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465879_30-05-2025_23_12_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23465886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465892, 'pht': 3726}}" where mtr_portfolio_id = 23465879 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23465879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063209, 0.05921590099161291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23465879_30-05-2025_23_12_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23465881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23465882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23465883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23465884, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23465885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23465886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23465887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23465888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23465889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23465890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23465891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23465892, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23466432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2990978, 'mtr_portfolio_id': 23466432, 'created_at': datetime.datetime(2025, 5, 30, 23, 27, 28), 'result': '0.030649844737729897', 'result_long': None, 'result_double': None}] Qualite : 0.030649844737729897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23466432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466432_30-05-2025_23_27_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23466432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466432_30-05-2025_23_27_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23466438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23466449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466450, 'pht': 3726}}" where mtr_portfolio_id = 23466432 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23466432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063210, 0.030649844737729897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466432_30-05-2025_23_27_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23466438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23466449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466450, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23466763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2991080, 'mtr_portfolio_id': 23466763, 'created_at': datetime.datetime(2025, 5, 30, 23, 42, 59), 'result': '0.06633293173065849', 'result_long': None, 'result_double': None}] Qualite : 0.06633293173065849 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23466763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466763_30-05-2025_23_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23466763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466763_30-05-2025_23_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23466781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23466790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466792, 'pht': 3726}}" where mtr_portfolio_id = 23466763 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23466763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063211, 0.06633293173065849, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23466763_30-05-2025_23_42_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23466781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23466782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23466783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23466784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23466785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23466786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23466787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23466788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23466789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23466790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23466791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23466792, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23467164 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2991183, 'mtr_portfolio_id': 23467164, 'created_at': datetime.datetime(2025, 5, 30, 23, 56, 57), 'result': '0.05916405164610108', 'result_long': None, 'result_double': None}] Qualite : 0.05916405164610108 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23467164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467164_30-05-2025_23_56_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23467164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467164_30-05-2025_23_56_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467212, 'pht': 3726}}" where mtr_portfolio_id = 23467164 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23467164 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063212, 0.05916405164610108, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467164_30-05-2025_23_56_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467212, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23467560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2991334, 'mtr_portfolio_id': 23467560, 'created_at': datetime.datetime(2025, 5, 31, 0, 12, 59), 'result': '0.055194967601861954', 'result_long': None, 'result_double': None}] Qualite : 0.055194967601861954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23467560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467560_31-05-2025_00_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23467560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467560_31-05-2025_00_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467573, 'pht': 3726}}" where mtr_portfolio_id = 23467560 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23467560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063213, 0.055194967601861954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23467560_31-05-2025_00_13_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23467562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23467563, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23467564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23467565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23467566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23467567, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23467568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23467569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23467570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23467571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23467572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23467573, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23468153 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2991488, 'mtr_portfolio_id': 23468153, 'created_at': datetime.datetime(2025, 5, 31, 1, 26, 59), 'result': '0.04489460831121576', 'result_long': None, 'result_double': None}] Qualite : 0.04489460831121576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23468153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23468153_31-05-2025_01_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23468153 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23468153_31-05-2025_01_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23468179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23468180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23468181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23468182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23468183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23468184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23468185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23468186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23468187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23468188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23468189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23468190, 'pht': 3726}}" where mtr_portfolio_id = 23468153 and dashboard_run_id = 1859092 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23468153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11063214, 0.04489460831121576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23468153_31-05-2025_01_26_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23468179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23468180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23468181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23468182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23468183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23468184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23468185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23468186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23468187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23468188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23468189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23468190, '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 (23445263,23445706,23446036,23446155,23450391,23450552,23450832,23451020,23451411,23451749,23452146,23452638,23452865,23453145,23453891,23454337,23454787,23455174,23455935,23456234,23457055,23457261,23457567,23458000,23458427,23459138,23459437,23459877,23460253,23460849,23461163,23462045,23462274,23462679,23463079,23463616,23464494,23464924,23465452,23465879,23466432,23466763,23467164,23467560,23468153) result : ((1361697654,), (1361697684,), (1361697687,), (1361697943,), (1361697973,), (1361698052,), (1361698078,), (1361698330,), (1361698337,), (1361698358,), (1361704810,), (1361705381,), (1361705424,), (1361705987,), (1361705993,), (1361706336,), (1361706340,), (1361708829,), (1361708510,), (1361708866,), (1361709340,), (1361709346,), (1361709383,), (1361709388,), (1361709391,), (1361709394,), (1361709446,), (1361709431,), (1361709435,), (1361709437,), (1361709475,), (1361709477,), (1361709480,), (1361709519,), (1361709522,), (1361709552,), (1361709577,), (1361709580,), (1361709619,), (1361709622,), (1361712274,), (1361760094,), (1361760099,), (1361760110,), (1361760221,), (1361760225,), (1361760360,), (1361760375,), (1361760382,), (1361760412,), (1361760417,), (1361760422,), (1361760426,), (1361760460,), (1361760508,), (1361760513,), (1361760580,), (1361760584,), (1361760595,), (1361760672,), (1361760678,), (1361760681,), (1361760719,), (1361760722,), (1361760724,), (1361760729,), (1361760736,), (1361760768,), (1361760772,), (1361760775,), (1361760778,), (1361760786,), (1361760796,), (1361760829,), (1361760834,), (1361760839,), (1361760843,), (1361760911,), (1361760887,), (1361760891,), (1361760897,), (1361760902,), (1361760906,), (1361760938,), (1361760942,), (1361760946,), (1361760950,), (1361760986,), (1361760990,), (1361760993,), (1361760997,), (1361761026,), (1361761031,), (1361761039,), (1361761049,), (1361761054,), (1361761067,), (1361761070,), (1361761072,), (1361761075,), (1361761079,), (1361761087,), (1361761124,), (1361761126,), (1361761129,), (1361761172,), (1361761177,), (1361761181,), (1361761186,), (1361761190,), (1361761192,), (1361761224,), (1361761230,), (1361761242,), (1361761245,), (1361761271,), (1361761275,), (1361761279,), (1361761284,), (1361761620,), (1361761640,), (1361761644,), (1361761652,), (1361761656,), (1361761657,), (1361761694,), (1361761698,), (1361761706,), (1361761744,), (1361761749,), (1361761836,), (1361761842,), (1361761859,), (1361761872,), (1361761878,), (1361761892,), (1361761920,), (1361761925,), (1361762009,), (1361762012,), (1361762051,), (1361762058,), (1361762069,), (1361762073,), (1361762077,), (1361762080,), (1361762112,), (1361762116,), (1361762120,), (1361762129,), (1361762184,), (1361762167,), (1361762171,), (1361762175,), (1361762180,), (1361762224,), (1361762229,), (1361762234,), (1361762237,), (1361762242,), (1361762283,), (1361762286,), (1361762290,), (1361762295,), (1361762331,), (1361762349,), (1361762357,), (1361762362,), (1361762367,), (1361762370,), (1361762396,), (1361762409,), (1361762414,), (1361762454,), (1361762457,), (1361762460,), (1361762465,), (1361762470,), (1361762476,), (1361762505,), (1361762510,), (1361762515,), (1361762520,), (1361762524,), (1361762561,), (1361762566,), (1361762570,), (1361762617,), (1361762622,), (1361762627,), (1361762630,), (1361762671,), (1361762676,), (1361762682,), (1361762688,), (1361762743,), (1361762748,), (1361762752,), (1361762756,), (1361762763,), (1361762767,), (1361762824,), (1361762827,), (1361762830,), (1361762835,), (1361762865,), (1361762905,), (1361762936,), (1361762960,), (1361762964,), (1361762967,), (1361763047,), (1361763055,), (1361763062,), (1361763071,), (1361763077,), (1361763084,), (1361763300,), (1361763354,), (1361763368,), (1361763434,), (1361763412,), (1361763415,), (1361763417,), (1361763420,), (1361763427,), (1361763466,), (1361763471,), (1361763476,), (1361763518,), (1361763521,), (1361763523,), (1361763526,), (1361763529,), (1361763563,), (1361763567,), (1361763571,), (1361763577,), (1361763615,), (1361763619,), (1361763623,), (1361763627,), (1361763633,), (1361763638,), (1361763697,), (1361763705,), (1361763708,), (1361763732,), (1361763828,), (1361763831,), (1361763834,), (1361763838,), (1361763841,), (1361763869,), (1361763875,), (1361763880,), (1361763885,), (1361763930,), (1361763937,), (1361763939,), (1361763943,), (1361763946,), (1361763951,), (1361764223,), (1361764227,), (1361764231,), (1361764235,), (1361764279,), (1361764282,), (1361764286,), (1361764290,), (1361764295,), (1361764299,), (1361764329,), (1361764334,), (1361764338,), (1361764342,), (1361764346,), (1361764385,), (1361764389,), (1361764393,), (1361764397,), (1361764400,), (1361764403,), (1361764436,), (1361764444,), (1361764447,), (1361764453,), (1361764487,), (1361764493,), (1361764498,), (1361764505,), (1361764510,), (1361764513,), (1361764588,), (1361764571,), (1361764576,), (1361764580,), (1361764582,), (1361764785,), (1361764825,), (1361764830,), (1361764836,), (1361764841,), (1361764949,), (1361764955,), (1361764962,), (1361764969,), (1361764974,), (1361765008,), (1361765013,), (1361765015,), (1361765017,), (1361765055,), (1361765065,), (1361765074,), (1361765079,), (1361765084,), (1361765090,), (1361765129,), (1361765134,), (1361765137,), (1361765142,), (1361765180,), (1361765186,), (1361765188,), (1361765195,), (1361765199,), (1361765504,), (1361765509,), (1361765513,), (1361765878,), (1361765918,), (1361765922,), (1361765927,), (1361765969,), (1361765975,), (1361765979,), (1361765984,), (1361765988,), (1361765992,), (1361766051,), (1361766062,), (1361766065,), (1361766069,), (1361766072,), (1361766111,), (1361766114,), (1361766118,), (1361766172,), (1361766270,), (1361766299,), (1361766453,), (1361766457,), (1361766503,), (1361766506,), (1361766551,), (1361766555,), (1361766558,), (1361766563,), (1361766570,), (1361766575,), (1361766607,), (1361766616,), (1361766621,), (1361766626,), (1361766632,), (1361766637,), (1361766685,), (1361766676,), (1361766681,), (1361766737,), (1361766741,), (1361766763,), (1361766766,), (1361766770,), (1361766776,), (1361766805,), (1361766811,), (1361766817,), (1361766824,), (1361766830,), (1361766867,), (1361766871,), (1361766875,), (1361766880,), (1361767432,), (1361767435,), (1361767439,), (1361767445,), (1361767451,), (1361767457,), (1361767755,), (1361767759,), (1361767763,), (1361767788,), (1361768212,), (1361768215,), (1361768243,), (1361768250,), (1361768284,), (1361768288,), (1361768388,), (1361768393,), (1361768397,), (1361768403,), (1361768409,), (1361768447,), (1361768450,), (1361768453,), (1361768461,), (1361768472,), (1361768482,), (1361768519,), (1361768524,), (1361768529,), (1361768577,), (1361768581,), (1361768589,), (1361768595,), (1361768601,), (1361768607,), (1361768642,), (1361768647,), (1361768654,), (1361768660,), (1361768712,), (1361768716,), (1361768719,), (1361768723,), (1361768728,), (1361768773,), (1361768779,), (1361768789,), (1361768798,), (1361768803,), (1361768805,), (1361768838,), (1361768842,), (1361768845,), (1361768849,), (1361768944,), (1361768921,), (1361768925,), (1361768928,), (1361768933,), (1361768938,), (1361769167,), (1361769222,), (1361769252,), (1361769283,), (1361769332,), (1361769336,), (1361769340,), (1361769345,), (1361769351,), (1361769385,), (1361769390,), (1361769394,), (1361769399,), (1361769434,), (1361769437,), (1361769440,), (1361769443,), (1361769449,), (1361769455,), (1361769491,), (1361769497,), (1361769508,), (1361769511,), (1361769546,), (1361769555,), (1361769558,), (1361769564,), (1361769613,), (1361769639,), (1361769646,), (1361769653,), (1361769658,), (1361769661,), (1361770064,), (1361770140,), (1361770142,), (1361770354,), (1361770413,), (1361770431,), (1361770439,), (1361770446,), (1361770451,), (1361770608,), (1361770612,), (1361770616,), (1361770622,), (1361770816,), (1361770852,), (1361770855,), (1361770861,), (1361770865,), (1361770866,), (1361770898,), (1361770905,), (1361770907,), (1361770909,), (1361770918,), (1361770997,), (1361771000,), (1361771003,), (1361771005,), (1361771009,), (1361771081,), (1361771300,), (1361771355,), (1361771360,), (1361771366,), (1361771408,), (1361771412,), (1361771416,), (1361771426,), (1361771437,), (1361771476,), (1361771481,), (1361771487,), (1361771494,), (1361771502,), (1361771507,), (1361771549,), (1361771554,), (1361771558,), (1361771560,), (1361771604,), (1361771606,), (1361771608,), (1361771612,), (1361771617,), (1361771624,), (1361771655,), (1361771665,), (1361771671,), (1361771675,), (1361771719,), (1361771794,), (1361771883,), (1361771988,), (1361772101,), (1361772199,), (1361772327,), (1361772331,), (1361772335,), (1361772341,), (1361772710,), (1361772714,), (1361772718,), (1361772722,), (1361772729,), (1361772734,), (1361772735,), (1361772771,), (1361772858,), (1361772881,), (1361772921,), (1361773005,), (1361773094,), (1361773117,), (1361773121,), (1361773124,), (1361773175,), (1361773182,), (1361773189,), (1361773195,), (1361773200,), (1361773202,), (1361773242,), (1361773245,), (1361773250,), (1361773257,), (1361773296,), (1361773302,), (1361773307,), (1361773312,), (1361773316,), (1361773320,), (1361773363,), (1361773359,), (1361773361,), (1361773413,), (1361773419,), (1361773426,), (1361773498,), (1361773587,), (1361773637,), (1361773860,), (1361773902,), (1361773915,), (1361773966,), (1361773970,), (1361773973,), (1361773977,), (1361773980,), (1361774076,), (1361774271,), (1361774276,), (1361774280,), (1361774463,), (1361774466,), (1361774469,), (1361774536,), (1361774540,), (1361774544,), (1361774548,), (1361774551,), (1361774554,), (1361774591,), (1361774594,), (1361774597,), (1361774601,), (1361774606,), (1361774612,), (1361774692,), (1361774698,), (1361774702,), (1361774967,), (1361775003,), (1361775006,), (1361775012,), (1361775016,), (1361775020,), (1361775066,), (1361775070,), (1361775074,), (1361775078,), (1361775125,), (1361775131,), (1361775135,), (1361775139,), (1361775143,), (1361775146,), (1361775210,), (1361775215,), (1361775219,), (1361775223,), (1361775229,), (1361775365,), (1361775293,), (1361775299,), (1361775304,), (1361775308,), (1361775339,), (1361775767,), (1361775827,), (1361775857,), (1361775885,), (1361776354,), (1361776425,), (1361776485,), (1361776542,), (1361776626,), (1361776686,), (1361776839,), (1361776847,), (1361776874,), (1361776908,), (1361776912,), (1361776915,), (1361776928,), (1361776935,), (1361776944,), (1361777010,), (1361777016,), (1361777021,), (1361777028,), (1361777033,), (1361777176,), (1361777180,), (1361777185,), (1361777243,), (1361777259,), (1361777283,), (1361777459,), (1361777462,), (1361777511,), (1361777676,), (1361777682,), (1361777686,), (1361777700,), (1361777703,), (1361777706,), (1361777858,), (1361777862,), (1361777870,), (1361777879,), (1361777888,), (1361777892,), (1361778097,), (1361778127,), (1361778163,), (1361778232,), (1361778236,), (1361778240,), (1361778245,), (1361778267,), (1361778355,), (1361778627,), (1361778632,), (1361778640,), (1361778650,), (1361778693,), (1361778710,), (1361778751,), (1361778755,), (1361778759,), (1361778822,), (1361778826,), (1361778829,), (1361778854,), (1361778865,), (1361778958,), (1361778936,), (1361778941,), (1361778947,), (1361778953,), (1361779056,), (1361779143,), (1361779145,), (1361779157,), (1361779169,), (1361779375,), (1361779384,), (1361779394,), (1361779397,), (1361779430,), (1361779434,), (1361779436,), (1361779474,), (1361779478,), (1361779481,), (1361779526,), (1361779529,), (1361779577,), (1361779621,), (1361779712,), (1361779748,), (1361779952,), (1361779959,), (1361780119,), (1361780122,), (1361780125,), (1361780191,), (1361780194,), (1361780197,), (1361780198,), (1361780204,), (1361780397,), (1361780445,), (1361780451,), (1361780456,), (1361780459,), (1361780496,), (1361780500,), (1361780503,), (1361780583,), (1361780588,), (1361780592,), (1361780596,), (1361780601,), (1361780604,), (1361780616,), (1361780622,), (1361780628,), (1361780634,), (1361780637,), (1361780656,), (1361780649,), (1361780654,), (1361780847,), (1361780853,), (1361780856,), (1361780869,), (1361780878,), (1361780881,), (1361781120,), (1361781123,), (1361781132,), (1361781141,), (1361781183,), (1361781193,), (1361781202,), (1361781207,), (1361781211,), (1361781214,), (1361781256,), (1361781259,), (1361781263,), (1361781266,), (1361781317,), (1361781320,), (1361781326,), (1361781331,), (1361781335,), (1361781339,), (1361781522,), (1361781550,), (1361781557,), (1361781588,), (1361781592,), (1361781636,), (1361781642,), (1361781649,), (1361781658,), (1361781665,), (1361781673,), (1361781719,), (1361781722,), (1361781725,), (1361781726,), (1361781731,), (1361781771,), (1361781781,), (1361781786,), (1361781790,), (1361781794,), (1361781841,), (1361781848,), (1361781853,), (1361781856,), (1361781860,), (1361782003,), (1361782006,), (1361782008,), (1361782012,), (1361782015,), (1361782060,), (1361782064,), (1361782068,), (1361782074,), (1361782079,), (1361782083,), (1361782116,), (1361782120,), (1361782125,), (1361782129,), (1361782168,), (1361782177,), (1361782182,), (1361782186,), (1361782189,), (1361782191,), (1361782256,), (1361782249,), (1361782252,), (1361782444,), (1361782449,), (1361782510,), (1361782522,), (1361782540,), (1361782620,), (1361782623,), (1361782626,), (1361782629,), (1361782636,), (1361782641,), (1361782717,), (1361782746,), (1361782768,), (1361782771,), (1361782809,), (1361782813,), (1361782821,), (1361782824,), (1361782829,), (1361782831,), (1361782876,), (1361782879,), (1361782882,), (1361782886,), (1361782923,), (1361782925,), (1361782927,), (1361782930,), (1361782933,), (1361782936,), (1361782977,), (1361782985,), (1361782989,), (1361782993,), (1361783033,), (1361783036,), (1361783038,), (1361783041,), (1361783045,), (1361783089,), (1361783094,), (1361783108,), (1361783136,), (1361783188,), (1361783190,), (1361783192,), (1361783195,), (1361783198,), (1361783202,), (1361783250,), (1361783278,), (1361783306,), (1361783310,), (1361783314,), (1361783375,), (1361783382,), (1361783391,), (1361783393,), (1361783396,), (1361784375,), (1361784488,), (1361784576,), (1361784805,), (1361784894,), (1361784998,), (1361785085,), (1361785168,), (1361785254,), (1361786093,), (1361786007,), (1361786036,), (1361786063,), (1361786088,), (1361786091,), (1361786614,), (1361786617,), (1361786683,), (1361787669,), (1361787726,), (1361787768,), (1361787883,), (1361787932,), (1361788323,), (1361788353,), (1361788390,), (1361788938,), (1361788993,), (1361789029,), (1361789304,), (1361789308,), (1361789312,), (1361790109,), (1361790157,), (1361790265,), (1361790396,), (1361790477,), (1361790599,), (1361791184,), (1361791224,), (1361791259,), (1361791924,), (1361791939,), (1361791942,), (1361791945,), (1361791949,), (1361791953,), (1361792002,), (1361792008,), (1361792013,), (1361792018,), (1361792021,), (1361792022,), (1361792082,), (1361792084,), (1361792086,), (1361792090,), (1361792095,), (1361792249,), (1361792256,), (1361792311,), (1361792326,), (1361792328,), (1361792418,), (1361792439,), (1361792443,), (1361792446,), (1361792448,), (1361792685,), (1361792718,), (1361792735,), (1361792739,), (1361792743,), (1361792745,), (1361792776,), (1361792779,), (1361792782,), (1361792788,), (1361792791,), (1361792873,), (1361792860,), (1361792862,), (1361792865,), (1361792868,), (1361792929,), (1361793012,), (1361793087,), (1361793105,), (1361793478,), (1361793485,), (1361793495,), (1361793501,), (1361793508,), (1361793533,), (1361793536,), (1361793615,), (1361793776,), (1361793807,), (1361793828,), (1361793841,), (1361793845,), (1361793928,), (1361793930,), (1361793932,), (1361793936,), (1361793963,), (1361794075,), (1361794080,), (1361794083,), (1361794730,), (1361794778,), (1361794814,), (1361794842,), (1361794921,), (1361794924,), (1361794927,), (1361794930,), (1361794934,), (1361794937,), (1361795373,), (1361795376,), (1361795377,), (1361795381,), (1361795592,), (1361795595,), (1361795598,), (1361795601,), (1361795604,), (1361795684,), (1361795689,), (1361795693,), (1361795696,), (1361795700,), (1361795710,), (1361795715,), (1361795721,), (1361795724,), (1361795727,), (1361795764,), (1361795739,), (1361795752,), (1361795756,), (1361795758,), (1361795761,), (1361795802,), (1361795805,), (1361796228,), (1361796236,), (1361796252,), (1361796291,), (1361796332,), (1361796340,), (1361796346,), (1361796353,), (1361796360,), (1361796389,), (1361796392,), (1361796394,), (1361796397,), (1361796402,), (1361796751,), (1361804818,), (1361804815,), (1361804895,), (1361804896,), (1361804902,), (1361804928,), (1361804951,), (1361804973,), (1361805104,), (1361805133,), (1361805171,), (1361805175,), (1361805179,), (1361805182,), (1361805217,), (1361805221,), (1361805223,), (1361805227,), (1361805232,), (1361805552,), (1361805554,), (1361805557,), (1361805580,), (1361805620,), (1361805650,), (1361805656,), (1361805663,), (1361805667,), (1361805673,), (1361805678,), (1361805713,), (1361805717,), (1361805720,), (1361805723,), (1361805808,), (1361805787,), (1361805788,), (1361805797,), (1361805803,), (1361805860,), (1361805873,), (1361805900,), (1361805931,), (1361805950,), (1361805952,), (1361806193,), (1361806200,), (1361806274,), (1361806311,), (1361806461,), (1361806464,), (1361806467,), (1361806469,), (1361806474,), (1361806477,), (1361806503,), (1361806508,), (1361806518,), (1361806560,), (1361806563,), (1361806566,), (1361806570,), (1361806574,), (1361806576,), (1361806612,), (1361806615,), (1361806618,), (1361806621,), (1361806651,), (1361806653,), (1361806655,), (1361806658,), (1361806661,), (1361806986,), (1361807060,), (1361807067,), (1361807071,), (1361807074,), (1361807340,), (1361807342,), (1361807360,), (1361807393,), (1361807559,), (1361807570,), (1361807574,), (1361807579,), (1361807581,), (1361807583,), (1361807619,), (1361807622,), (1361807624,), (1361807628,), (1361807635,), (1361807673,), (1361807677,), (1361807681,), (1361807685,), (1361807746,), (1361807753,), (1361807759,), (1361807762,), (1361807767,), (1361807771,), (1361807827,), (1361807813,), (1361807816,), (1361807819,), (1361807824,), (1361807857,), (1361807864,), (1361807866,), (1361807881,), (1361807891,), (1361807895,), (1361807995,), (1361808086,), (1361808230,), (1361808480,), (1361809407,), (1361809560,), (1361809570,), (1361809574,), (1361809577,), (1361809579,), (1361809776,), (1361809779,), (1361809782,), (1361809785,), (1361809790,), (1361809855,), (1361809857,), (1361809859,), (1361809862,), (1361809867,), (1361810187,), (1361810265,), (1361810372,), (1361810452,), (1361810538,), (1361810578,), (1361810723,), (1361810751,), (1361810754,), (1361810757,), (1361810783,), (1361810785,), (1361810787,), (1361810788,), (1361810791,), (1361810793,), (1361811186,), (1361811193,), (1361811197,), (1361811207,), (1361811324,), (1361811333,), (1361811336,), (1361811339,), (1361811343,), (1361811345,), (1361811389,), (1361811391,), (1361811393,), (1361811396,), (1361811399,), (1361811403,), (1361811439,), (1361811445,), (1361811448,), (1361811450,), (1361811484,), (1361811492,), (1361811498,), (1361811501,), (1361811506,), (1361811551,), (1361811560,), (1361811566,), (1361811569,), (1361811572,), (1361811649,), (1361811636,), (1361811640,), (1361811642,), (1361811645,), (1361811686,), (1361811687,), (1361811691,), (1361811739,), (1361811741,), (1361811743,), (1361811745,), (1361811748,), (1361811802,), (1361811805,), (1361811808,), (1361811833,), (1361811862,), (1361811886,), (1361811914,), (1361811918,), (1361811926,), (1361811934,), (1361811945,), (1361811981,), (1361811984,), (1361811989,), (1361811995,), (1361812032,), (1361812034,), (1361812035,), (1361812038,), (1361812042,), (1361812046,), (1361812078,), (1361812084,), (1361812087,), (1361812091,), (1361812094,), (1361812096,), (1361812125,), (1361812129,), (1361812136,), (1361812139,), (1361812178,), (1361812181,), (1361812185,), (1361812190,), (1361812201,), (1361812202,), (1361812301,), (1361812303,), (1361812305,), (1361812309,), (1361812312,), (1361812351,), (1361812355,), (1361812359,), (1361812966,), (1361813047,), (1361813122,), (1361813407,), (1361813411,), (1361813415,), (1361813419,), (1361813516,), (1361813544,), (1361813573,), (1361813601,), (1361814146,), (1361814127,), (1361814130,), (1361814142,), (1361814392,), (1361814484,), (1361814520,), (1361814523,), (1361814925,), (1361814935,), (1361814938,), (1361814941,), (1361814944,), (1361814946,), (1361815038,), (1361815052,), (1361815063,), (1361815093,), (1361815119,), (1361815145,), (1361815456,), (1361815482,), (1361815512,), (1361815538,), (1361815755,), (1361815760,), (1361815763,), (1361815769,), (1361815791,), (1361815823,), (1361816091,), (1361816119,), (1361816141,), (1361816157,), (1361816579,), (1361816589,), (1361816630,), (1361816634,), (1361816684,), (1361817062,), (1361817139,), (1361817217,), (1361817293,), (1361817364,), (1361817413,), (1361817941,), (1361818007,), (1361818083,), (1361818174,), (1361818738,), (1361818763,), (1361818788,), (1361818816,), (1361818843,), (1361818870,), (1361819050,), (1361819103,), (1361819122,), (1361819142,), (1361819392,), (1361819423,), (1361819435,), (1361819449,), (1361819463,), (1361819469,), (1361819497,), (1361819499,), (1361819502,), (1361819506,), (1361819510,), (1361819513,), (1361819540,), (1361819545,), (1361819548,), (1361819688,), (1361819644,), (1361819660,), (1361819663,), (1361819685,), (1361819929,), (1361819955,), (1361819963,), (1361819977,), (1361820010,), (1361820013,), (1361820018,), (1361820026,), (1361820033,), (1361820061,), (1361820064,), (1361820066,), (1361820067,), (1361820070,), (1361820073,), (1361820098,), (1361820103,), (1361820108,), (1361820112,), (1361820153,), (1361820155,), (1361820156,), (1361820159,), (1361820163,), (1361820347,), (1361820371,), (1361820375,), (1361820391,), (1361820404,), (1361820406,), (1361820436,), (1361820440,), (1361820444,), (1361820447,), (1361820543,), (1361820547,), (1361820552,), (1361820555,), (1361820588,), (1361820594,), (1361820611,), (1361820617,), (1361820620,), (1361820623,), (1361820660,), (1361820677,), (1361820691,), (1361820695,), (1361820732,), (1361820736,), (1361820883,), (1361820889,), (1361820891,), (1361820894,), (1361821029,), (1361821033,), (1361821035,), (1361821039,), (1361821110,), (1361821115,), (1361821120,), (1361821125,), (1361821129,), (1361821131,), (1361821135,), (1361821139,), (1361821144,), (1361821149,), (1361821193,), (1361821169,), (1361821171,), (1361821175,), (1361821180,), (1361821183,), (1361821345,), (1361821350,), (1361821375,), (1361821406,), (1361821522,), (1361821528,), (1361821536,), (1361821545,), (1361821550,), (1361821553,), (1361821590,), (1361821594,), (1361821597,), (1361821600,), (1361821603,), (1361821635,), (1361821637,), (1361821639,), (1361821641,), (1361821711,), (1361821714,), (1361821717,), (1361821721,), (1361821726,), (1361821904,), (1361821926,), (1361821952,), (1361821971,), (1361821975,), (1361822007,), (1361822010,), (1361822021,), (1361822026,), (1361822028,), (1361822031,), (1361822058,), (1361822061,), (1361822064,), (1361822111,), (1361822600,), (1361822832,), (1361822839,), (1361822849,), (1361822880,), (1361822882,), (1361822883,), (1361822886,), (1361822889,), (1361822950,), (1361822938,), (1361822943,), (1361822946,), (1361822947,), (1361823125,), (1361823139,), (1361823201,), (1361823203,), (1361823207,), (1361823214,), (1361823220,), (1361823227,), (1361823269,), (1361823298,), (1361823325,), (1361823337,), (1361823340,), (1361823363,), (1361823367,), (1361823370,), (1361823397,), (1361823400,), (1361823402,), (1361823405,), (1361823407,), (1361823410,), (1361823522,), (1361823525,), (1361823528,), (1361823593,), (1361823659,), (1361823662,), (1361823665,), (1361823669,), (1361823672,), (1361823676,), (1361823699,), (1361823706,), (1361823709,), (1361823712,), (1361823734,), (1361823735,), (1361823737,), (1361823741,), (1361823744,), (1361823748,), (1361823792,), (1361823796,), (1361823800,), (1361823804,), (1361823967,), (1361823990,), (1361823992,), (1361823995,), (1361823996,), (1361823998,), (1361824018,), (1361824023,), (1361824028,), (1361824031,), (1361824035,), (1361824039,), (1361824059,), (1361824062,), (1361824064,), (1361824066,), (1361824087,), (1361824090,), (1361824093,), (1361824096,), (1361824148,), (1361824130,), (1361824133,), (1361824137,), (1361824142,), (1361824145,), (1361824356,), (1361824368,), (1361824371,), (1361824374,), (1361824378,), (1361824758,), (1361824795,), (1361824986,), (1361824988,), (1361824999,), (1361825068,), (1361825090,), (1361825234,), (1361825258,), (1361825284,), (1361825312,), (1361825342,), (1361825377,), (1361825672,), (1361825701,), (1361825729,), (1361825759,), (1361825788,), (1361826365,), (1361826395,), (1361826561,), (1361826594,), (1361826661,), (1361826767,), (1361826771,), (1361826773,), (1361826776,), (1361826860,), (1361826866,), (1361826873,), (1361826877,), (1361826908,), (1361826913,), (1361826959,), (1361826962,), (1361826964,), (1361826968,), (1361826973,), (1361827099,), (1361827104,), (1361827117,), (1361827136,), (1361827173,), (1361827181,), (1361827185,), (1361827189,), (1361827194,), (1361827258,), (1361827523,), (1361827528,), (1361827531,), (1361827864,), (1361827868,), (1361827874,), (1361827879,), (1361827883,), (1361828004,), (1361827976,), (1361827989,), (1361827992,), (1361827995,), (1361827998,), (1361828031,), (1361828034,), (1361828036,), (1361828041,), (1361828046,), (1361828368,), (1361828400,), (1361828418,), (1361828448,), (1361828456,), (1361828541,), (1361828544,), (1361828582,), (1361828587,), (1361828591,), (1361828594,), (1361828626,), (1361828629,), (1361828637,), (1361828672,), (1361828678,), (1361828724,), (1361828728,), (1361828730,), (1361828767,), (1361828775,), (1361828850,), (1361828878,), (1361828905,), (1361828933,), (1361828937,), (1361828943,), (1361829646,), (1361829657,), (1361829661,), (1361829665,), (1361829703,), (1361829784,), (1361829864,), (1361829945,), (1361830149,), (1361830154,), (1361830158,), (1361830161,), (1361830164,), (1361830180,), (1361830394,), (1361830400,), (1361830404,), (1361830407,), (1361830411,), (1361830415,), (1361830462,), (1361830451,), (1361830455,), (1361830458,), (1361830515,), (1361830524,), (1361830552,), (1361830579,), (1361830583,), (1361830586,), (1361830614,), (1361830623,), (1361830632,), (1361830638,), (1361830683,), (1361830686,), (1361830694,), (1361830703,), (1361830707,), (1361830744,), (1361830748,), (1361830751,), (1361830756,), (1361830761,), (1361830763,), (1361831052,), (1361833154,), (1361833730,), (1361833733,), (1361833735,), (1361833737,), (1361833772,), (1361833775,), (1361833778,), (1361833852,), (1361833923,), (1361834056,), (1361834060,), (1361834064,), (1361834070,), (1361834074,), (1361834104,), (1361834108,), (1361834111,), (1361834114,), (1361834148,), (1361834154,), (1361834157,), (1361834161,), (1361834165,), (1361834168,), (1361840831,), (1361840826,), (1361841039,), (1361841069,), (1361841099,), (1361841377,), (1361841380,), (1361841382,), (1361841385,), (1361841629,), (1361841657,), (1361841681,), (1361842037,), (1361842067,), (1361842093,), (1361842120,), (1361842243,), (1361842245,), (1361842247,), (1361842249,), (1361842254,), (1361842337,), (1361842318,), (1361842325,), (1361842329,), (1361842333,), (1361842972,), (1361843070,), (1361843161,), (1361843207,), (1361843253,), (1361843257,), (1361843259,), (1361843262,), (1361843339,), (1361843421,), (1361843493,), (1361843577,), (1361843650,), (1361843763,), (1361844221,), (1361844282,), (1361844365,), (1361844442,), (1361844664,), (1361844665,), (1361844667,), (1361844671,), (1361844706,), (1361844779,), (1361845073,), (1361845076,), (1361845079,), (1361845082,), (1361845371,), (1361845377,), (1361845398,), (1361845414,), (1361845417,), (1361845514,), (1361845524,), (1361845532,), (1361845535,), (1361845541,), (1361845545,), (1361845592,), (1361845594,), (1361845596,), (1361845599,), (1361845712,), (1361845715,), (1361845731,), (1361845737,), (1361845738,), (1361845859,), (1361845870,), (1361845873,), (1361845875,), (1361845900,), (1361845903,), (1361845944,), (1361845946,), (1361845948,), (1361845949,), (1361846002,), (1361846005,), (1361846007,), (1361846011,), (1361846014,), (1361846016,), (1361846054,), (1361846042,), (1361846045,), (1361846047,), (1361846050,), (1361846216,), (1361846219,), (1361846222,), (1361846225,), (1361846285,), (1361846377,), (1361846379,), (1361846381,), (1361846384,), (1361846387,), (1361846395,), (1361846413,), (1361846416,), (1361846424,), (1361846431,), (1361846462,), (1361846464,), (1361846467,), (1361846526,), (1361846529,), (1361846531,), (1361846535,), (1361846536,), (1361846538,), (1361846672,), (1361846674,), (1361846681,), (1361846687,), (1361846691,), (1361846694,), (1361846724,), (1361846730,), (1361846733,), (1361846736,), (1361846761,), (1361846763,), (1361846765,), (1361846767,), (1361846768,), (1361846769,), (1361846797,), (1361846799,), (1361846825,), (1361846828,), (1361846841,), (1361846844,), (1361846845,), (1361846846,), (1361847007,), (1361847010,), (1361847012,), (1361847015,), (1361847017,), (1361847053,), (1361847058,), (1361847123,), (1361847125,), (1361847128,), (1361847159,), (1361847170,), (1361847176,), (1361847225,), (1361847219,), (1361847221,), (1361847381,), (1361847385,), (1361847420,), (1361847423,), (1361847459,), (1361847493,), (1361847523,), (1361847527,), (1361847530,), (1361847533,), (1361847538,), (1361847543,), (1361847575,), (1361847605,), (1361847632,), (1361847679,), (1361847682,), (1361847685,), (1361847688,), (1361847690,), (1361847692,), (1361847720,), (1361847722,), (1361847724,), (1361847728,), (1361847905,), (1361847909,), (1361847912,), (1361847915,), (1361847917,), (1361847944,), (1361847947,), (1361847949,), (1361847951,), (1361847982,), (1361847990,), (1361847997,), (1361848000,), (1361848002,), (1361848026,), (1361848028,), (1361848031,), (1361848034,), (1361848037,), (1361848039,), (1361848099,), (1361848130,), (1361848306,), (1361848351,), (1361848355,), (1361848370,), (1361848446,), (1361848474,), (1361848592,), (1361848601,), (1361848604,), (1361848605,), (1361848704,), (1361848707,), (1361848718,), (1361848721,), (1361848749,), (1361848757,), (1361848762,), (1361848773,), (1361848780,), (1361848784,), (1361848842,), (1361848834,), (1361848837,), (1361848839,), (1361848866,), (1361848868,), (1361848870,), (1361848877,), (1361848896,), (1361848898,), (1361849126,), (1361849324,), (1361849342,), (1361849368,), (1361849372,), (1361849381,), (1361849408,), (1361849437,), (1361849462,), (1361850402,), (1361850504,), (1361850608,), (1361850731,), (1361851074,), (1361851104,), (1361851123,), (1361851143,), (1361851171,), (1361851200,), (1361851725,), (1361852554,), (1361852579,), (1361852605,), (1361852634,), (1361853449,), (1361853490,), (1361853522,), (1361854118,), (1361854172,), (1361854223,), (1361854273,), (1361854319,), (1361854606,), (1361854644,), (1361854698,), (1361855125,), (1361855202,), (1361855227,), (1361855230,), (1361855566,), (1361855573,), (1361855577,), (1361855580,), (1361855583,), (1361855590,), (1361855798,), (1361855825,), (1361855843,), (1361855845,), (1361855938,), (1361855946,), (1361855948,), (1361855949,), (1361856060,), (1361856004,), (1361856010,), (1361856021,), (1361856048,), (1361856056,), (1361856220,), (1361856244,), (1361856272,), (1361856742,), (1361856747,), (1361856768,), (1361856772,), (1361856844,), (1361856846,), (1361856869,), (1361856890,), (1361856914,), (1361856922,), (1361856927,), (1361856955,), (1361856958,), (1361856961,), (1361856964,), (1361856967,), (1361856972,), (1361856995,), (1361856999,), (1361857002,), (1361857005,), (1361857007,), (1361857030,), (1361857032,), (1361857034,), (1361857110,), (1361857124,), (1361857127,), (1361857130,), (1361857131,), (1361857132,), (1361857160,), (1361857168,), (1361857170,), (1361857173,), (1361857225,), (1361857228,), (1361857231,), (1361857233,), (1361857236,), (1361857369,), (1361857493,), (1361857529,), (1361857562,), (1361857594,), (1361857799,), (1361857809,), (1361857820,), (1361857822,), (1361858984,), (1361858986,), (1361858989,), (1361858991,), (1361858994,), (1361859140,), (1361859034,), (1361859062,), (1361859738,), (1361859827,), (1361859871,), (1361859874,), (1361859878,), (1361859882,), (1361859912,), (1361859918,), (1361859921,), (1361859924,), (1361860331,), (1361860351,), (1361860354,), (1361860356,), (1361860359,), (1361860386,), (1361860389,), (1361860392,), (1361860395,), (1361860431,), (1361860433,), (1361860435,), (1361860438,), (1361860442,), (1361860468,), (1361860470,), (1361860473,), (1361860476,), (1361860507,), (1361860511,), (1361860514,), (1361860517,), (1361860518,), (1361860541,), (1361860543,), (1361860545,), (1361860546,), (1361861038,), (1361861239,), (1361861365,), (1361861400,), (1361861433,), (1361862078,), (1361862081,), (1361862084,), (1361862247,), (1361862249,), (1361862574,), (1361862934,), (1361862932,), (1361863280,), (1361863283,), (1361863285,), (1361863289,), (1361863292,), (1361863316,), (1361863319,), (1361863322,), (1361863326,), (1361863435,), (1361863460,), (1361863485,), (1361863509,), (1361863533,), (1361863832,), (1361863855,), (1361863860,), (1361864048,), (1361864052,), (1361864056,), (1361864162,), (1361864254,), (1361864256,), (1361864345,), (1361864348,), (1361864375,), (1361864376,), (1361864378,), (1361864410,), (1361864413,), (1361864416,), (1361864420,), (1361864421,), (1361864456,), (1361864458,), (1361864461,), (1361864466,), (1361864473,), (1361864509,), (1361864511,), (1361864513,), (1361864529,), (1361864620,), (1361864623,), (1361864627,), (1361864938,), (1361864940,), (1361864943,), (1361864945,), (1361864967,), (1361865252,), (1361865254,), (1361865256,), (1361865259,), (1361865261,), (1361865263,), (1361865457,), (1361865445,), (1361865448,), (1361865451,), (1361865455,), (1361865456,), (1361865481,), (1361865528,), (1361865602,), (1361865619,), (1361865621,), (1361865762,), (1361865801,), (1361865820,), (1361866152,), (1361866179,), (1361866208,), (1361866236,), (1361866262,), (1361866640,), (1361866688,), (1361867410,), (1361867437,), (1361867642,), (1361867672,), (1361867700,), (1361867726,), (1361868033,), (1361868380,), (1361868382,), (1361868384,), (1361868386,), (1361868388,), (1361868407,), (1361868421,), (1361868425,), (1361868426,), (1361868428,), (1361868430,), (1361868457,), (1361868459,), (1361868461,), (1361868464,), (1361868466,), (1361868468,), (1361868630,), (1361868634,), (1361868657,), (1361868694,), (1361868700,), (1361868796,), (1361868800,), (1361868810,), (1361868813,), (1361868815,), (1361868817,), (1361868845,), (1361868848,), (1361868851,), (1361868854,), (1361868879,), (1361868883,), (1361868891,), (1361868894,), (1361868897,), (1361868900,), (1361868954,), (1361868942,), (1361868945,), (1361868948,), (1361868951,), (1361869060,), (1361869066,), (1361869073,), (1361869079,), (1361869107,), (1361869109,), (1361869111,), (1361869115,), (1361869148,), (1361869150,), (1361869175,), (1361869176,), (1361869207,), (1361869210,), (1361869337,), (1361869339,), (1361869482,), (1361869511,), (1361869514,), (1361869550,), (1361869552,), (1361869589,), (1361869777,), (1361869795,), (1361869880,), (1361869881,), (1361869884,), (1361869887,), (1361869894,), (1361869949,), (1361869952,), (1361869953,), (1361869955,), (1361869959,), (1361869962,), (1361869970,), (1361869973,), (1361869976,), (1361869978,), (1361870002,), (1361869989,), (1361869992,), (1361869996,), (1361869999,), (1361870001,), (1361870113,), (1361870116,), (1361870119,), (1361870121,), (1361870149,), (1361870156,), (1361870161,), (1361870164,), (1361870166,), (1361870167,), (1361870483,), (1361870547,), (1361870549,), (1361870552,), (1361870727,), (1361870799,), (1361870813,), (1361870816,), (1361870818,), (1361870865,), (1361871033,), (1361871035,), (1361871037,), (1361871041,), (1361871077,), (1361871080,), (1361871083,), (1361871086,), (1361871089,), (1361871142,), (1361871228,), (1361871318,), (1361871370,), (1361871561,), (1361871564,), (1361871567,), (1361871602,), (1361871765,), (1361871768,), (1361871771,), (1361871802,), (1361871804,), (1361871807,), (1361871810,), (1361871812,), (1361871814,), (1361871992,), (1361871997,), (1361872014,), (1361872040,), (1361872041,), (1361872073,), (1361872076,), (1361872078,), (1361872081,), (1361872110,), (1361872113,), (1361872116,), (1361872119,), (1361872121,), (1361872124,), (1361872148,), (1361872156,), (1361872158,), (1361872161,), (1361872164,), (1361872203,), (1361872196,), (1361872198,), (1361872224,), (1361872226,), (1361872228,), (1361872231,), (1361872240,), (1361872310,), (1361872351,), (1361872446,), (1361872542,), (1361872599,), (1361872635,), (1361872637,), (1361872639,), (1361872708,), (1361872801,), (1361872962,), (1361872983,), (1361872993,), (1361873021,), (1361873024,), (1361873027,), (1361873030,), (1361873194,), (1361873209,), (1361873235,), (1361873237,), (1361873257,), (1361873259,), (1361873292,), (1361873297,), (1361873300,), (1361873343,), (1361873347,), (1361873351,), (1361873426,), (1361873435,), (1361873438,), (1361873462,), (1361873475,), (1361873573,), (1361873784,), (1361873790,), (1361873818,), (1361873820,), (1361873822,), (1361873824,), (1361873847,), (1361873849,), (1361873891,), (1361873878,), (1361873881,), (1361873884,), (1361873886,), (1361873889,), (1361873909,), (1361873911,), (1361873913,), (1361873915,), (1361874223,), (1361874260,), (1361874291,), (1361874317,), (1361874403,), (1361874770,), (1361874799,), (1361874837,), (1361874867,), (1361874906,), (1361875227,), (1361875338,), (1361875367,), (1361875394,), (1361875412,), (1361875543,), (1361875547,), (1361875556,), (1361875583,), (1361875740,), (1361875752,), (1361875755,), (1361875793,), (1361875795,), (1361875796,), (1361875814,), (1361875819,), (1361875826,), (1361875834,), (1361876120,), (1361876153,), (1361876192,), (1361876225,), (1361876256,), (1361876280,), (1361876385,), (1361876420,), (1361876453,), (1361876461,), (1361876479,), (1361876519,), (1361876522,), (1361876525,), (1361876528,), (1361876531,), (1361876533,), (1361876696,), (1361876698,), (1361876732,), (1361876735,), (1361876738,), (1361876763,), (1361876771,), (1361876779,), (1361876784,), (1361876787,), (1361876788,), (1361876805,), (1361876814,), (1361876818,), (1361876821,), (1361876823,), (1361876844,), (1361876846,), (1361876848,), (1361876850,), (1361876854,), (1361876856,), (1361876937,), (1361876932,), (1361876934,), (1361877052,), (1361877079,), (1361877080,), (1361877087,), (1361877098,), (1361877103,), (1361877130,), (1361877132,), (1361877135,), (1361877138,), (1361877166,), (1361877169,), (1361877172,), (1361877175,), (1361877177,), (1361877178,), (1361877199,), (1361877201,), (1361877203,), (1361877206,), (1361877237,), (1361877240,), (1361877246,), (1361877248,), (1361877362,), (1361877364,), (1361877366,), (1361877425,), (1361877442,), (1361877523,), (1361877526,), (1361877529,), (1361877532,), (1361877538,), (1361877544,), (1361877573,), (1361877859,), (1361877861,), (1361877863,), (1361877867,), (1361877870,), (1361877928,), (1361877931,), (1361877934,), (1361877938,), (1361877979,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30052025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23450391]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] map_info['map_portfolio_photo'] : {23450391: [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094]} final : True mtd_id 4302 list_pids : [1361760911, 1361760843, 1361760839, 1361760834, 1361760829, 1361760796, 1361760786, 1361760778, 1361760775, 1361760772, 1361760768, 1361760736, 1361760729, 1361760724, 1361760722, 1361760719, 1361760681, 1361760678, 1361760672, 1361760595, 1361760584, 1361760580, 1361760513, 1361760508, 1361760460, 1361760426, 1361760422, 1361760417, 1361760412, 1361760382, 1361760375, 1361760360, 1361760225, 1361760221, 1361760110, 1361760099, 1361760094] Looping around the photos to save general results len do output : 1 /23450391Didn'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, '2992812') ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812') ('4302', None, None, None, None, None, None, None, '2992812') ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '23450391', 'None', None, None, None, None, '2992812'), ('4302', '23450391', '1361760911', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760843', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760839', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760834', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760829', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760796', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760786', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760778', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760775', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760772', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760768', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760736', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760729', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760724', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760722', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760719', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760681', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760678', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760672', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760595', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760584', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760580', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760513', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760508', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760460', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760426', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760422', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760417', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760412', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760382', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760375', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760360', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760225', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760221', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760110', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760099', None, None, None, None, None, '2992812'), ('4302', '23450391', '1361760094', None, None, None, None, None, '2992812')] time used for this insertion : 0.026358604431152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.078041553497314 time spend to save output : 0.026845932006835938 total time spend for step 5 : 9.10488748550415 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 (2992812) 3.27user 2.23system 0:21.09elapsed 26%CPU (0avgtext+0avgdata 169764maxresident)k 496inputs+21976outputs (2major+75846minor)pagefaults 0swaps