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 : 3305189 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 (3950308) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3950308) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841184 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3950308'] with mtr_portfolio_ids : ['27841184'] and first list_photo_ids : [] new path : /proc/3305189/ Name: python3 Umask: 0002 State: R (running) Tgid: 3305189 Ngid: 0 Pid: 3305189 PPid: 3305188 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3305189 NSpid: 3305189 NSpgid: 3304484 NSsid: 3304484 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99672 kB VmRSS: 99672 kB RssAnon: 59832 kB RssFile: 39840 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 552 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 44 nonvoluntary_ctxt_switches: 175 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3305189', 'Ngid': '0', 'Pid': '3305189', 'PPid': '3305188', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3305189', 'NSpid': '3305189', 'NSpgid': '3304484', 'NSsid': '3304484', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99672 kB', 'VmRSS': '99672 kB', 'RssAnon': '59832 kB', 'RssFile': '39840 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '552 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '44', 'nonvoluntary_ctxt_switches': '175'} ('datou_batch_current', '3305189', '1106856', '0', '1106856', '865608', '99672', b'', 'marlene', '3950308') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27841184) 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 (3950308 ) ) 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 (27841184) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389637392, 'portfolio_id': 27841184}, {'photo_id': 1389637391, 'portfolio_id': 27841184}, {'photo_id': 1389637390, 'portfolio_id': 27841184}, {'photo_id': 1389637386, 'portfolio_id': 27841184}, {'photo_id': 1389637383, 'portfolio_id': 27841184}, {'photo_id': 1389637380, 'portfolio_id': 27841184}, {'photo_id': 1389637329, 'portfolio_id': 27841184}, {'photo_id': 1389637326, 'portfolio_id': 27841184}, {'photo_id': 1389637321, 'portfolio_id': 27841184}, {'photo_id': 1389637317, 'portfolio_id': 27841184}, {'photo_id': 1389637314, 'portfolio_id': 27841184}, {'photo_id': 1389637301, 'portfolio_id': 27841184}, {'photo_id': 1389637299, 'portfolio_id': 27841184}, {'photo_id': 1389637297, 'portfolio_id': 27841184}, {'photo_id': 1389637296, 'portfolio_id': 27841184}, {'photo_id': 1389637268, 'portfolio_id': 27841184}, {'photo_id': 1389637265, 'portfolio_id': 27841184}, {'photo_id': 1389637264, 'portfolio_id': 27841184}, {'photo_id': 1389637262, 'portfolio_id': 27841184}, {'photo_id': 1389637023, 'portfolio_id': 27841184}, {'photo_id': 1389636999, 'portfolio_id': 27841184}, {'photo_id': 1389636995, 'portfolio_id': 27841184}, {'photo_id': 1389636992, 'portfolio_id': 27841184}, {'photo_id': 1389636991, 'portfolio_id': 27841184}, {'photo_id': 1389636989, 'portfolio_id': 27841184}, {'photo_id': 1389636860, 'portfolio_id': 27841184}, {'photo_id': 1389636858, 'portfolio_id': 27841184}, {'photo_id': 1389636539, 'portfolio_id': 27841184}, {'photo_id': 1389636443, 'portfolio_id': 27841184}, {'photo_id': 1389636440, 'portfolio_id': 27841184}, {'photo_id': 1389636438, 'portfolio_id': 27841184}, {'photo_id': 1389636389, 'portfolio_id': 27841184}, {'photo_id': 1389636272, 'portfolio_id': 27841184}, {'photo_id': 1389636269, 'portfolio_id': 27841184}] map_portfolio_id_photo_id: {27841184: [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269]} ##### 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.05287671089172363 #### 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 Thu Oct 16 05:50: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 (27841184) 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 : 27841184 get user id for portfolio 27841184 get sub ptf for main ptf 27841184, type 3726 and hashtags ['Teint_Dans_La_Masse', 'Carton_gris', 'environnement', 'papier', 'cartonnette', 'Carton_brun', 'autre_refus', 'kraft', 'metal', 'mal_croppe', 'plastique', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841184 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','environnement','papier','cartonnette','Carton_brun','autre_refus','kraft','metal','mal_croppe','plastique','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841184 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','environnement','papier','cartonnette','Carton_brun','autre_refus','kraft','metal','mal_croppe','plastique','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27841184, 'sub_port_id': 27841229, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788354, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'autre_refus': {'main_port_id': 27841184, 'sub_port_id': 27841230, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788355, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'metal': {'main_port_id': 27841184, 'sub_port_id': 27841231, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788356, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 27841184, 'sub_port_id': 27841232, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788357, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'papier': {'main_port_id': 27841184, 'sub_port_id': 27841233, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788358, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'cartonnette': {'main_port_id': 27841184, 'sub_port_id': 27841234, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788359, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'plastique': {'main_port_id': 27841184, 'sub_port_id': 27841235, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788360, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'Carton_gris': {'main_port_id': 27841184, 'sub_port_id': 27841236, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788361, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'environnement': {'main_port_id': 27841184, 'sub_port_id': 27841237, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788362, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'flou': {'main_port_id': 27841184, 'sub_port_id': 27841238, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788363, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'kraft': {'main_port_id': 27841184, 'sub_port_id': 27841239, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788364, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}, 'mal_croppe': {'main_port_id': 27841184, 'sub_port_id': 27841240, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788365, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27841229 , 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=27841184 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 (27841229) result : ((1389636523,), (1389637625,), (1389638907,), (1389638908,), (1389638909,), (1389642273,), (1389642330,), (1389642331,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841230 , 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=27841184 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 (27841230) result : ((1389638900,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841231 , 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=27841184 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 (27841231) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841232 , 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=27841184 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 (27841232) result : ((1389636664,), (1389637426,), (1389637621,), (1389638898,), (1389638899,), (1389638955,), (1389639161,), (1389639162,), (1389642270,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841233 , 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=27841184 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 (27841233) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841234 , 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=27841184 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 (27841234) result : ((1389636534,), (1389637429,), (1389637430,), (1389638902,), (1389638903,), (1389638904,), (1389638905,), (1389638906,), (1389639163,), (1389639164,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841235 , 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=27841184 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 (27841235) result : ((1389637626,), (1389638910,), (1389642275,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841236 , 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=27841184 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 (27841236) result : ((1389637427,), (1389637428,), (1389637623,), (1389637624,), (1389638901,), (1389642271,), (1389642272,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841237 , 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=27841184 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 (27841237) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841238 , 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=27841184 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 (27841238) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841239 , 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=27841184 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 (27841239) result : ((1389636524,), (1389638911,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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 27841240 , 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=27841184 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 (27841240) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27841184) result : ((1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,)) 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`=27841184 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','environnement','papier','cartonnette','Carton_brun','autre_refus','kraft','metal','mal_croppe','plastique','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841184 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_gris','environnement','papier','cartonnette','Carton_brun','autre_refus','kraft','metal','mal_croppe','plastique','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27841184, 'sub_port_id': 27841267, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788390, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'autre_refus': {'main_port_id': 27841184, 'sub_port_id': 27841268, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788391, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'metal': {'main_port_id': 27841184, 'sub_port_id': 27841269, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788392, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 27841184, 'sub_port_id': 27841270, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788393, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'papier': {'main_port_id': 27841184, 'sub_port_id': 27841271, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788394, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'cartonnette': {'main_port_id': 27841184, 'sub_port_id': 27841272, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788395, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'plastique': {'main_port_id': 27841184, 'sub_port_id': 27841273, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788396, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'Carton_gris': {'main_port_id': 27841184, 'sub_port_id': 27841275, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788397, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'environnement': {'main_port_id': 27841184, 'sub_port_id': 27841276, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788398, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'flou': {'main_port_id': 27841184, 'sub_port_id': 27841277, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788399, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'kraft': {'main_port_id': 27841184, 'sub_port_id': 27841278, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788400, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}, 'mal_croppe': {'main_port_id': 27841184, 'sub_port_id': 27841279, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18788401, 'last_updated_at': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 15, 20, 19, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 15, 20, 3, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841267,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841229 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841268,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841230 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841269,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841231 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841270,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841271,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841272,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841273,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841235 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841275,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841236 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841276,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841237 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841277,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841238 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841278,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841239 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27841279,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27841240 lien utilise dans velours : https://marlene.fotonower.com/velours/27841267,27841268,27841269,27841270,27841271,27841272,27841273,27841275,27841276,27841277,27841278,27841279?tags=Carton_brun,autre_refus,metal,Teint_Dans_La_Masse,papier,cartonnette,plastique,Carton_gris,environnement,flou,kraft,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27841184]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] map_info['map_portfolio_photo'] : {27841184: [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269]} final : False mtd_id 4302 list_pids : [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] Looping around the photos to save general results len do output : 1 /27841184. 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, '3950308') ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '27841184', "{'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240}", None, None, None, None, '3950308'), ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308')] time used for this insertion : 0.0406947135925293 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.1236371994018555 time spend to save output : 0.041144609451293945 total time spend for step 1 : 5.164781808853149 step2:final Thu Oct 16 05:50:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (27841184) 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 27841184 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389636389,1389636272,1389636269,1389636443,1389636440,1389636438,1389636539,1389636860,1389636858,1389637023,1389636999,1389636995,1389636992,1389636991,1389636989,1389637268,1389637265,1389637264,1389637262,1389637301,1389637299,1389637297,1389637296,1389637392,1389637329,1389637326,1389637391,1389637321,1389637390,1389637317,1389637386,1389637383,1389637314,1389637380); 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([27841184]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} new output for save of step final : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] map_info['map_portfolio_photo'] : {27841184: [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269]} final : False mtd_id 4302 list_pids : [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] Looping around the photos to save general results len do output : 34 /1389637392.Didn't retrieve data . /1389637391.Didn't retrieve data . /1389637390.Didn't retrieve data . /1389637386.Didn't retrieve data . /1389637383.Didn't retrieve data . /1389637380.Didn't retrieve data . /1389637329.Didn't retrieve data . /1389637326.Didn't retrieve data . /1389637321.Didn't retrieve data . /1389637317.Didn't retrieve data . /1389637314.Didn't retrieve data . /1389637301.Didn't retrieve data . /1389637299.Didn't retrieve data . /1389637297.Didn't retrieve data . /1389637296.Didn't retrieve data . /1389637268.Didn't retrieve data . /1389637265.Didn't retrieve data . /1389637264.Didn't retrieve data . /1389637262.Didn't retrieve data . /1389637023.Didn't retrieve data . /1389636999.Didn't retrieve data . /1389636995.Didn't retrieve data . /1389636992.Didn't retrieve data . /1389636991.Didn't retrieve data . /1389636989.Didn't retrieve data . /1389636860.Didn't retrieve data . /1389636858.Didn't retrieve data . /1389636539.Didn't retrieve data . /1389636443.Didn't retrieve data . /1389636440.Didn't retrieve data . /1389636438.Didn't retrieve data . /1389636389.Didn't retrieve data . /1389636272.Didn't retrieve data . /1389636269.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, '3950308') ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 102 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', '27841184', '1389637392', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637391', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637390', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637386', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637383', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637380', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637329', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637326', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637321', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637317', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637314', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637301', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637299', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637297', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637296', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637268', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637265', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637264', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637262', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389637023', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636999', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636995', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636992', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636991', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636989', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636860', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636858', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636539', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636443', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636440', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636438', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636389', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636272', '0.03805331082943212', None, None, None, None, '3950308'), ('4302', '27841184', '1389636269', '0.03805331082943212', None, None, None, None, '3950308')] time used for this insertion : 0.04071784019470215 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24340558052062988 time spend to save output : 0.04214668273925781 total time spend for step 2 : 0.2855522632598877 step3:velours_tree Thu Oct 16 05:50:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27841184: [{'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240}]} input_args_next_step : {27841184: ()} output_args : {27841184: [{'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240}]} args : 27841184 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27841184) 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([27841184]) 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.34407734870910645 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.34412074089050293 step4:send_mail_cod Thu Oct 16 05:50:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} input_args_next_step : {1389637392: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637392 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637391 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637390 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637386 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637383 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637380 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637329 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637326 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637321 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637317 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637314 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637301 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637299 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637297 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637296 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637268 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637265 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637264 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637262 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389637023 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636999 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636995 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636992 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636991 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636989 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636860 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636858 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636539 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636443 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636440 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636438 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636389 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636272 depend.output_id : 0 input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ()} output_args : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',)} args : 1389636269 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 : {27841184: [{'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240}]} input_args_next_step : {1389637392: ('0.03805331082943212',), 1389637391: ('0.03805331082943212',), 1389637390: ('0.03805331082943212',), 1389637386: ('0.03805331082943212',), 1389637383: ('0.03805331082943212',), 1389637380: ('0.03805331082943212',), 1389637329: ('0.03805331082943212',), 1389637326: ('0.03805331082943212',), 1389637321: ('0.03805331082943212',), 1389637317: ('0.03805331082943212',), 1389637314: ('0.03805331082943212',), 1389637301: ('0.03805331082943212',), 1389637299: ('0.03805331082943212',), 1389637297: ('0.03805331082943212',), 1389637296: ('0.03805331082943212',), 1389637268: ('0.03805331082943212',), 1389637265: ('0.03805331082943212',), 1389637264: ('0.03805331082943212',), 1389637262: ('0.03805331082943212',), 1389637023: ('0.03805331082943212',), 1389636999: ('0.03805331082943212',), 1389636995: ('0.03805331082943212',), 1389636992: ('0.03805331082943212',), 1389636991: ('0.03805331082943212',), 1389636989: ('0.03805331082943212',), 1389636860: ('0.03805331082943212',), 1389636858: ('0.03805331082943212',), 1389636539: ('0.03805331082943212',), 1389636443: ('0.03805331082943212',), 1389636440: ('0.03805331082943212',), 1389636438: ('0.03805331082943212',), 1389636389: ('0.03805331082943212',), 1389636272: ('0.03805331082943212',), 1389636269: ('0.03805331082943212',), 27841184: ()} output_args : {27841184: [{'Carton_brun': 27841229, 'autre_refus': 27841230, 'metal': 27841231, 'Teint_Dans_La_Masse': 27841232, 'papier': 27841233, 'cartonnette': 27841234, 'plastique': 27841235, 'Carton_gris': 27841236, 'environnement': 27841237, 'flou': 27841238, 'kraft': 27841239, 'mal_croppe': 27841240}]} args : 27841184 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 :35, first value : ('0.03805331082943212',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27841184) 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_view ph WHERE photo_id IN (1389637392,1389637391,1389637390,1389637386,1389637383,1389637380,1389637329,1389637326,1389637321,1389637317,1389637314,1389637301,1389637299,1389637297,1389637296,1389637268,1389637265,1389637264,1389637262,1389637023,1389636999,1389636995,1389636992,1389636991,1389636989,1389636860,1389636858,1389636539,1389636443,1389636440,1389636438,1389636389,1389636272,1389636269) Found this number of photos: 34 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389636269 begin to download photo : 1389636858 begin to download photo : 1389637023 begin to download photo : 1389637299 begin to download photo : 1389637380 download finish for photo 1389636269 begin to download photo : 1389636272 download finish for photo 1389637299 begin to download photo : 1389637301 download finish for photo 1389637380 begin to download photo : 1389637383 download finish for photo 1389636858 begin to download photo : 1389636860 download finish for photo 1389637023 begin to download photo : 1389637262 download finish for photo 1389636272 begin to download photo : 1389636389 download finish for photo 1389637301 begin to download photo : 1389637314 download finish for photo 1389637383 begin to download photo : 1389637386 download finish for photo 1389637262 begin to download photo : 1389637264 download finish for photo 1389636860 begin to download photo : 1389636989 download finish for photo 1389636389 begin to download photo : 1389636438 download finish for photo 1389637314 begin to download photo : 1389637317 download finish for photo 1389637386 begin to download photo : 1389637390 download finish for photo 1389637264 begin to download photo : 1389637265 download finish for photo 1389636989 begin to download photo : 1389636991 download finish for photo 1389636438 begin to download photo : 1389636440 download finish for photo 1389637317 begin to download photo : 1389637321 download finish for photo 1389637265 begin to download photo : 1389637268 download finish for photo 1389636440 begin to download photo : 1389636443 download finish for photo 1389637390 begin to download photo : 1389637391 download finish for photo 1389636991 begin to download photo : 1389636992 download finish for photo 1389637321 begin to download photo : 1389637326 download finish for photo 1389637268 begin to download photo : 1389637296 download finish for photo 1389637391 begin to download photo : 1389637392 download finish for photo 1389636992 begin to download photo : 1389636995 download finish for photo 1389636443 begin to download photo : 1389636539 download finish for photo 1389637326 begin to download photo : 1389637329 download finish for photo 1389637296 begin to download photo : 1389637297 download finish for photo 1389637392 download finish for photo 1389636995 begin to download photo : 1389636999 download finish for photo 1389636539 download finish for photo 1389637329 download finish for photo 1389637297 download finish for photo 1389636999 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 : 34 ; length of list_pids : 34 ; length of list_args : 34 results_Auto_P27841184_16-10-2025_05_50_38.pdf 27841230 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841230 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389638900: '1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103972_0.png'} change filename to text .imagette278412301760586638/ imagette278412301760586638/1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103972_0.png.png imagette278412311760586638/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9fb6f6f0e13afe593e8b102466b39b83_65156510.png imagette278412301760586638 27841231 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841231 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278412311760586638 27841234 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389636534: '1760551526_2682580_1389636443_520542aafa920d10b316ce643d4ed3d7_rle_crop_3999087593_0.png', 1389637429: '1760552226_2721755_1389637299_b894eadb9e2076d6c3b0f21384be1119_rle_crop_3999096523_0.png', 1389637430: '1760552226_2721755_1389637297_08f608d02a1874d0af5a7c71e1e88913_rle_crop_3999096540_0.png', 1389638902: '1760553206_2769942_1389636999_f200ea66a39d82874bf82ff85b3d26b9_rle_crop_3999103960_0.png', 1389638903: '1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103973_0.png', 1389638904: '1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103974_0.png', 1389638905: '1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103993_0.png', 1389638906: '1760553206_2769942_1389636989_4a30b6b04fc76a347bf7ff34e169c9cf_rle_crop_3999104016_0.png', 1389639163: '1760553544_2785812_1389637023_5fbf30b9b839410dc9d9d22e935df510_rle_crop_3999105983_0.png', 1389639164: '1760553544_2785812_1389636858_671e47c6e09e91cdeec8dd1037449570_rle_crop_3999105998_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/19d8b5424ae3671155ccdcd912b8b522_95317510.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/9c6e51c8334850f05cdc0ff04d5f5917_93663528.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/395d0c7c7eb132c970e13ac81235f2e8_38636117.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/637337d1df90085705e5d9c7c22ea15a_98107882.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/2e377f0f30b3073e19c700175eea9519_70523652.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/cfd6e72e010b92dd21ded10f23ba127c_30800850.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/cc5461a0044d1058ede8a8d48f2ff9ad_50030314.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c181b1b6a822fea0e00c0fde5ca6d083_15081717.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/b1275f6fe84f849ea01bc1a978d6c142_69783320.png change filename to text .imagette278412341760586638/ imagette278412341760586638/1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103974_0.png.png imagette278412341760586638/1760553544_2785812_1389637023_5fbf30b9b839410dc9d9d22e935df510_rle_crop_3999105983_0.png.png imagette278412341760586638/1760551526_2682580_1389636443_520542aafa920d10b316ce643d4ed3d7_rle_crop_3999087593_0.png.png imagette278412341760586638/1760553206_2769942_1389636989_4a30b6b04fc76a347bf7ff34e169c9cf_rle_crop_3999104016_0.png.png imagette278412341760586638/1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103993_0.png.png imagette278412341760586638/1760553544_2785812_1389636858_671e47c6e09e91cdeec8dd1037449570_rle_crop_3999105998_0.png.png imagette278412341760586638/1760552226_2721755_1389637299_b894eadb9e2076d6c3b0f21384be1119_rle_crop_3999096523_0.png.png imagette278412341760586638/1760552226_2721755_1389637297_08f608d02a1874d0af5a7c71e1e88913_rle_crop_3999096540_0.png.png imagette278412341760586638/1760553206_2769942_1389636999_f200ea66a39d82874bf82ff85b3d26b9_rle_crop_3999103960_0.png.png imagette278412341760586638/1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103973_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/202c6763fa403505cdad29d6cdf63ade_54381531.png imagette278412341760586638 27841235 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389637626: '1760552345_2728076_1389637314_8b8c80cf7c55243c8b74284f653f3223_rle_crop_3999097177_0.png', 1389638910: '1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999104004_0.png', 1389642275: '1760555224_2857888_1389637383_f13c0674a3f3f070df4bbb0801e876b3_rle_crop_3999131520_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c371bcb9f1a81beaa4ce8328683ca605_77199744.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/4b28ddd2d93b9f37bdcc91f6f7652dc4_36893630.png change filename to text .imagette278412351760586639/ imagette278412351760586639/1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999104004_0.png.png imagette278412351760586639/1760552345_2728076_1389637314_8b8c80cf7c55243c8b74284f653f3223_rle_crop_3999097177_0.png.png imagette278412351760586639/1760555224_2857888_1389637383_f13c0674a3f3f070df4bbb0801e876b3_rle_crop_3999131520_0.png.png imagette278412381760586639/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/c371bcb9f1a81beaa4ce8328683ca605_68931039.png imagette278412351760586639 27841238 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841238 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278412381760586639 27841239 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841239 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389636524: '1760551504_2680102_1389636438_660aa22a1640851ab17add68da99df49_rle_crop_3999087524_0.png', 1389638911: '1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999103999_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/7c685a0eab4e901362f85a471f4b667f_91738738.png change filename to text .imagette278412391760586639/ imagette278412391760586639/1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999103999_0.png.png imagette278412391760586639/1760551504_2680102_1389636438_660aa22a1640851ab17add68da99df49_rle_crop_3999087524_0.png.png imagette278412401760586639/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/959fafd5d46d25a91e25169fb1bf5935_31106578.png imagette278412391760586639 27841240 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841240 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278412401760586639 27841229 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841229 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389636523: '1760551504_2680102_1389636440_0c7e1e6e392ba1ccb6c38975210c05a1_rle_crop_3999087511_0.png', 1389637625: '1760552345_2728076_1389637317_2d01ebf4f66a033b09ae0a3a66c78450_rle_crop_3999097159_0.png', 1389638907: '1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103991_0.png', 1389638908: '1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103992_0.png', 1389638909: '1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103990_0.png', 1389642273: '1760555224_2857888_1389637386_de744cffc6af91cb611d3a2b18fa44f0_rle_crop_3999131502_0.png', 1389642330: '1760555346_2861804_1389637392_04628c25b5e8717d57d2f487d8faca43_rle_crop_3999131812_0.png', 1389642331: '1760555346_2861804_1389637329_5ace5bb8dd54c30c0a9c6e6d52381bf5_rle_crop_3999131826_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/3b6c4a500901e85bd166966ecec96454_14714980.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/2b3523bfaa7bc808ad288b9d04a69b4e_84006277.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/7f6b87905d3cbab7d238fe2f96e717a0_2771535.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/f7902475c998b059c04fdc184e084efb_75769348.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/373d6641414ae20217ef71fc74f82614_56113371.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/2b3523bfaa7bc808ad288b9d04a69b4e_97527444.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/42b43fc7cf387cab2133084f9a8da2bc_23900716.png change filename to text .imagette278412291760586639/ imagette278412291760586639/1760551504_2680102_1389636440_0c7e1e6e392ba1ccb6c38975210c05a1_rle_crop_3999087511_0.png.png imagette278412291760586639/1760555346_2861804_1389637392_04628c25b5e8717d57d2f487d8faca43_rle_crop_3999131812_0.png.png imagette278412291760586639/1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103991_0.png.png imagette278412291760586639/1760555346_2861804_1389637329_5ace5bb8dd54c30c0a9c6e6d52381bf5_rle_crop_3999131826_0.png.png imagette278412291760586639/1760552345_2728076_1389637317_2d01ebf4f66a033b09ae0a3a66c78450_rle_crop_3999097159_0.png.png imagette278412291760586639/1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103992_0.png.png imagette278412291760586639/1760555224_2857888_1389637386_de744cffc6af91cb611d3a2b18fa44f0_rle_crop_3999131502_0.png.png imagette278412291760586639/1760553206_2769942_1389636992_631fb772c5699a5c667d099d00f56a9d_rle_crop_3999103990_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/42b43fc7cf387cab2133084f9a8da2bc_53347149.png imagette278412291760586639 27841232 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841232 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389636664: '1760551746_2694865_1389636539_c47d2ee8d30f10759518650f8a367bd8_rle_crop_3999089580_0.png', 1389637426: '1760552226_2721755_1389637296_63ecc856be9e29dc27c73901ef262db1_rle_crop_3999096562_0.png', 1389637621: '1760552345_2728076_1389637314_8b8c80cf7c55243c8b74284f653f3223_rle_crop_3999097172_0.png', 1389638898: '1760553206_2769942_1389636999_f200ea66a39d82874bf82ff85b3d26b9_rle_crop_3999103958_0.png', 1389638899: '1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103976_0.png', 1389638955: '1760553324_2775344_1389637262_e0b35492e430a8a67ceb639c67f6c760_rle_crop_3999105226_0.png', 1389639161: '1760553544_2785812_1389637023_5fbf30b9b839410dc9d9d22e935df510_rle_crop_3999105987_0.png', 1389639162: '1760553544_2785812_1389636858_671e47c6e09e91cdeec8dd1037449570_rle_crop_3999106007_0.png', 1389642270: '1760555224_2857888_1389637383_f13c0674a3f3f070df4bbb0801e876b3_rle_crop_3999131515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/53581f7253b54b624c1f78bb603cd4f4_45681906.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/fcb0b426d9b353082a354c5a7228849c_91197310.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/b96828f8ac7ff26a40d672e8750b38f9_16781463.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/4883503157dba4135389cc2cf9ad65c7_97530691.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/6b954a1d4233352acb88a77264ca808c_13819962.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/cc3d7a9a1095665ff03f763464084417_53919845.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/3a5d39f4b41c901a6cf915bbfcf90d65_78974857.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/5a94a26c1cfef1d1dad3a14fc5065c76_2732318.png change filename to text .imagette278412321760586640/ imagette278412321760586640/1760553206_2769942_1389636995_c4492c4debb2b54a3d348d38fc846520_rle_crop_3999103976_0.png.png imagette278412321760586640/1760553544_2785812_1389637023_5fbf30b9b839410dc9d9d22e935df510_rle_crop_3999105987_0.png.png imagette278412321760586640/1760552226_2721755_1389637296_63ecc856be9e29dc27c73901ef262db1_rle_crop_3999096562_0.png.png imagette278412321760586640/1760553324_2775344_1389637262_e0b35492e430a8a67ceb639c67f6c760_rle_crop_3999105226_0.png.png imagette278412321760586640/1760553206_2769942_1389636999_f200ea66a39d82874bf82ff85b3d26b9_rle_crop_3999103958_0.png.png imagette278412321760586640/1760553544_2785812_1389636858_671e47c6e09e91cdeec8dd1037449570_rle_crop_3999106007_0.png.png imagette278412321760586640/1760551746_2694865_1389636539_c47d2ee8d30f10759518650f8a367bd8_rle_crop_3999089580_0.png.png imagette278412321760586640/1760555224_2857888_1389637383_f13c0674a3f3f070df4bbb0801e876b3_rle_crop_3999131515_0.png.png imagette278412321760586640/1760552345_2728076_1389637314_8b8c80cf7c55243c8b74284f653f3223_rle_crop_3999097172_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/b96828f8ac7ff26a40d672e8750b38f9_37915062.png imagette278412321760586640 27841236 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841236 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1389637427: '1760552226_2721755_1389637299_b894eadb9e2076d6c3b0f21384be1119_rle_crop_3999096528_0.png', 1389637428: '1760552226_2721755_1389637296_63ecc856be9e29dc27c73901ef262db1_rle_crop_3999096556_0.png', 1389637623: '1760552345_2728076_1389637326_a5bc4124a09834a1568b78a0e8d188f1_rle_crop_3999097126_0.png', 1389637624: '1760552345_2728076_1389637317_2d01ebf4f66a033b09ae0a3a66c78450_rle_crop_3999097161_0.png', 1389638901: '1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999104000_0.png', 1389642271: '1760555224_2857888_1389637391_ebe55feb05f326996653166c9f78f3c6_rle_crop_3999131469_0.png', 1389642272: '1760555224_2857888_1389637386_de744cffc6af91cb611d3a2b18fa44f0_rle_crop_3999131504_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/15f3423e6575c768ad2aa4700bcf0f18_16977896.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/cb1dd5ce5bf580ce19213379196d4472_94784012.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/1465c972ba9bf7c8cdaed193a9a598c7_89799132.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/03f74c6da55bba145f473946b76f047a_23047958.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/12af63e60d8430250c1342e59d1efa47_2546497.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/1465c972ba9bf7c8cdaed193a9a598c7_3997611.png change filename to text .imagette278412361760586641/ imagette278412361760586641/1760552226_2721755_1389637296_63ecc856be9e29dc27c73901ef262db1_rle_crop_3999096556_0.png.png imagette278412361760586641/1760555224_2857888_1389637386_de744cffc6af91cb611d3a2b18fa44f0_rle_crop_3999131504_0.png.png imagette278412361760586641/1760552226_2721755_1389637299_b894eadb9e2076d6c3b0f21384be1119_rle_crop_3999096528_0.png.png imagette278412361760586641/1760552345_2728076_1389637317_2d01ebf4f66a033b09ae0a3a66c78450_rle_crop_3999097161_0.png.png imagette278412361760586641/1760553206_2769942_1389636991_5745a13759c7103bdc06e15e1aad8c9e_rle_crop_3999104000_0.png.png imagette278412361760586641/1760552345_2728076_1389637326_a5bc4124a09834a1568b78a0e8d188f1_rle_crop_3999097126_0.png.png imagette278412361760586641/1760555224_2857888_1389637391_ebe55feb05f326996653166c9f78f3c6_rle_crop_3999131469_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/03f74c6da55bba145f473946b76f047a_59433954.png imagette278412361760586641 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27841184 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27841267,27841268,27841269,27841270,27841271,27841272,27841273,27841275,27841276,27841277,27841278,27841279?tags=Carton_brun,autre_refus,metal,Teint_Dans_La_Masse,papier,cartonnette,plastique,Carton_gris,environnement,flou,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1389637392] : ('0.03805331082943212',) no score found for photo 1389637392 We are sending mail with results at report@fotonower.com args[1389637391] : ('0.03805331082943212',) no score found for photo 1389637391 We are sending mail with results at report@fotonower.com args[1389637390] : ('0.03805331082943212',) no score found for photo 1389637390 We are sending mail with results at report@fotonower.com args[1389637386] : ('0.03805331082943212',) no score found for photo 1389637386 We are sending mail with results at report@fotonower.com args[1389637383] : ('0.03805331082943212',) no score found for photo 1389637383 We are sending mail with results at report@fotonower.com args[1389637380] : ('0.03805331082943212',) no score found for photo 1389637380 We are sending mail with results at report@fotonower.com args[1389637329] : ('0.03805331082943212',) no score found for photo 1389637329 We are sending mail with results at report@fotonower.com args[1389637326] : ('0.03805331082943212',) no score found for photo 1389637326 We are sending mail with results at report@fotonower.com args[1389637321] : ('0.03805331082943212',) no score found for photo 1389637321 We are sending mail with results at report@fotonower.com args[1389637317] : ('0.03805331082943212',) no score found for photo 1389637317 We are sending mail with results at report@fotonower.com args[1389637314] : ('0.03805331082943212',) no score found for photo 1389637314 We are sending mail with results at report@fotonower.com args[1389637301] : ('0.03805331082943212',) no score found for photo 1389637301 We are sending mail with results at report@fotonower.com args[1389637299] : ('0.03805331082943212',) no score found for photo 1389637299 We are sending mail with results at report@fotonower.com args[1389637297] : ('0.03805331082943212',) no score found for photo 1389637297 We are sending mail with results at report@fotonower.com args[1389637296] : ('0.03805331082943212',) no score found for photo 1389637296 We are sending mail with results at report@fotonower.com args[1389637268] : ('0.03805331082943212',) no score found for photo 1389637268 We are sending mail with results at report@fotonower.com args[1389637265] : ('0.03805331082943212',) no score found for photo 1389637265 We are sending mail with results at report@fotonower.com args[1389637264] : ('0.03805331082943212',) no score found for photo 1389637264 We are sending mail with results at report@fotonower.com args[1389637262] : ('0.03805331082943212',) no score found for photo 1389637262 We are sending mail with results at report@fotonower.com args[1389637023] : ('0.03805331082943212',) no score found for photo 1389637023 We are sending mail with results at report@fotonower.com args[1389636999] : ('0.03805331082943212',) no score found for photo 1389636999 We are sending mail with results at report@fotonower.com args[1389636995] : ('0.03805331082943212',) no score found for photo 1389636995 We are sending mail with results at report@fotonower.com args[1389636992] : ('0.03805331082943212',) no score found for photo 1389636992 We are sending mail with results at report@fotonower.com args[1389636991] : ('0.03805331082943212',) no score found for photo 1389636991 We are sending mail with results at report@fotonower.com args[1389636989] : ('0.03805331082943212',) no score found for photo 1389636989 We are sending mail with results at report@fotonower.com args[1389636860] : ('0.03805331082943212',) no score found for photo 1389636860 We are sending mail with results at report@fotonower.com args[1389636858] : ('0.03805331082943212',) no score found for photo 1389636858 We are sending mail with results at report@fotonower.com args[1389636539] : ('0.03805331082943212',) no score found for photo 1389636539 We are sending mail with results at report@fotonower.com args[1389636443] : ('0.03805331082943212',) no score found for photo 1389636443 We are sending mail with results at report@fotonower.com args[1389636440] : ('0.03805331082943212',) no score found for photo 1389636440 We are sending mail with results at report@fotonower.com args[1389636438] : ('0.03805331082943212',) no score found for photo 1389636438 We are sending mail with results at report@fotonower.com args[1389636389] : ('0.03805331082943212',) no score found for photo 1389636389 We are sending mail with results at report@fotonower.com args[1389636272] : ('0.03805331082943212',) no score found for photo 1389636272 We are sending mail with results at report@fotonower.com args[1389636269] : ('0.03805331082943212',) no score found for photo 1389636269 We are sending mail with results at report@fotonower.com refus_total : 0.03805331082943212 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841184 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_P27841184_16-10-2025_05_50_38.pdf results_Auto_P27841184_16-10-2025_05_50_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.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','27841184','results_Auto_P27841184_16-10-2025_05_50_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf','pdf','','0.35','0.03805331082943212') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27841184]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] map_info['map_portfolio_photo'] : {27841184: [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269]} final : False mtd_id 4302 list_pids : [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] 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, '3950308') ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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', '27841184', '1389637392', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308')] time used for this insertion : 0.03760886192321777 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.980683088302612 time spend to save output : 0.037995100021362305 total time spend for step 4 : 8.018678188323975 step5:split_time_score Thu Oct 16 05:50:44 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 : ['27841184'] 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 : [('27841184',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27841184) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389637380: {'path': 'temp/1760586636_3305189_1389637380_57011e10e2d6f72a42df2ffa0f5585d1.jpg', 'extension': 'jpg'}, 1389637383: {'path': 'temp/1760586636_3305189_1389637383_f13c0674a3f3f070df4bbb0801e876b3.jpg', 'extension': 'jpg'}, 1389637386: {'path': 'temp/1760586636_3305189_1389637386_de744cffc6af91cb611d3a2b18fa44f0.jpg', 'extension': 'jpg'}, 1389637390: {'path': 'temp/1760586636_3305189_1389637390_9ebc62d16a2f2a40af4b274f04bec25b.jpg', 'extension': 'jpg'}, 1389637391: {'path': 'temp/1760586636_3305189_1389637391_ebe55feb05f326996653166c9f78f3c6.jpg', 'extension': 'jpg'}, 1389637392: {'path': 'temp/1760586636_3305189_1389637392_04628c25b5e8717d57d2f487d8faca43.jpg', 'extension': 'jpg'}, 1389636269: {'path': 'temp/1760586636_3305189_1389636269_21e6f435f7a3c0e8ef093c545b86541e.jpg', 'extension': 'jpg'}, 1389636272: {'path': 'temp/1760586636_3305189_1389636272_a9e5814e780f7d33500ac3c3fc8dc910.jpg', 'extension': 'jpg'}, 1389636389: {'path': 'temp/1760586636_3305189_1389636389_98e3d154d5d5f530a71ba313afe07a5c.jpg', 'extension': 'jpg'}, 1389636438: {'path': 'temp/1760586636_3305189_1389636438_660aa22a1640851ab17add68da99df49.jpg', 'extension': 'jpg'}, 1389636440: {'path': 'temp/1760586636_3305189_1389636440_0c7e1e6e392ba1ccb6c38975210c05a1.jpg', 'extension': 'jpg'}, 1389636443: {'path': 'temp/1760586636_3305189_1389636443_520542aafa920d10b316ce643d4ed3d7.jpg', 'extension': 'jpg'}, 1389636539: {'path': 'temp/1760586636_3305189_1389636539_c47d2ee8d30f10759518650f8a367bd8.jpg', 'extension': 'jpg'}, 1389637299: {'path': 'temp/1760586636_3305189_1389637299_b894eadb9e2076d6c3b0f21384be1119.jpg', 'extension': 'jpg'}, 1389637301: {'path': 'temp/1760586636_3305189_1389637301_372d14f183c7441a249535c42fe69068.jpg', 'extension': 'jpg'}, 1389637314: {'path': 'temp/1760586636_3305189_1389637314_8b8c80cf7c55243c8b74284f653f3223.jpg', 'extension': 'jpg'}, 1389637317: {'path': 'temp/1760586636_3305189_1389637317_2d01ebf4f66a033b09ae0a3a66c78450.jpg', 'extension': 'jpg'}, 1389637321: {'path': 'temp/1760586636_3305189_1389637321_aee88deaa5249ca47b5415bfcd4c7777.jpg', 'extension': 'jpg'}, 1389637326: {'path': 'temp/1760586636_3305189_1389637326_a5bc4124a09834a1568b78a0e8d188f1.jpg', 'extension': 'jpg'}, 1389637329: {'path': 'temp/1760586636_3305189_1389637329_5ace5bb8dd54c30c0a9c6e6d52381bf5.jpg', 'extension': 'jpg'}, 1389637023: {'path': 'temp/1760586636_3305189_1389637023_5fbf30b9b839410dc9d9d22e935df510.jpg', 'extension': 'jpg'}, 1389637262: {'path': 'temp/1760586636_3305189_1389637262_e0b35492e430a8a67ceb639c67f6c760.jpg', 'extension': 'jpg'}, 1389637264: {'path': 'temp/1760586636_3305189_1389637264_cda7386db2381487d5dd74474ae3ed88.jpg', 'extension': 'jpg'}, 1389637265: {'path': 'temp/1760586636_3305189_1389637265_dea728be863d8cae5ad5d5da9d3ce1c1.jpg', 'extension': 'jpg'}, 1389637268: {'path': 'temp/1760586636_3305189_1389637268_4ab9b3b610e1c9fd9ca8ede08f63a71d.jpg', 'extension': 'jpg'}, 1389637296: {'path': 'temp/1760586636_3305189_1389637296_63ecc856be9e29dc27c73901ef262db1.jpg', 'extension': 'jpg'}, 1389637297: {'path': 'temp/1760586636_3305189_1389637297_08f608d02a1874d0af5a7c71e1e88913.jpg', 'extension': 'jpg'}, 1389636858: {'path': 'temp/1760586636_3305189_1389636858_671e47c6e09e91cdeec8dd1037449570.jpg', 'extension': 'jpg'}, 1389636860: {'path': 'temp/1760586636_3305189_1389636860_8c96a62af1c4b0eb83c80b0f60127d99.jpg', 'extension': 'jpg'}, 1389636989: {'path': 'temp/1760586636_3305189_1389636989_4a30b6b04fc76a347bf7ff34e169c9cf.jpg', 'extension': 'jpg'}, 1389636991: {'path': 'temp/1760586636_3305189_1389636991_5745a13759c7103bdc06e15e1aad8c9e.jpg', 'extension': 'jpg'}, 1389636992: {'path': 'temp/1760586636_3305189_1389636992_631fb772c5699a5c667d099d00f56a9d.jpg', 'extension': 'jpg'}, 1389636995: {'path': 'temp/1760586636_3305189_1389636995_c4492c4debb2b54a3d348d38fc846520.jpg', 'extension': 'jpg'}, 1389636999: {'path': 'temp/1760586636_3305189_1389636999_f200ea66a39d82874bf82ff85b3d26b9.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 = 27841184; (('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27841184 group by h (('20', 34),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27841184 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 (27841184) 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 (27841184) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15102025 27841184 Nombre de photos uploadées : 34 / 23040 (0%) 15102025 27841184 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 15102025 27841184 Nombre de photos taguées (volume) : 0 / 34 (0%) [{'photo_id': 1389636389, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/98e3d154d5d5f530a71ba313afe07a5c.jpg', 'username': None, 'uploaded_at': 1760551267, 'text': 'image_15102025_20_00_14_010260m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389636272, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/a9e5814e780f7d33500ac3c3fc8dc910.jpg', 'username': None, 'uploaded_at': 1760551267, 'text': 'image_15102025_20_00_34_010144m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389636269, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/21e6f435f7a3c0e8ef093c545b86541e.jpg', 'username': None, 'uploaded_at': 1760551267, 'text': 'image_15102025_20_00_44_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1389636443, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/15/520542aafa920d10b316ce643d4ed3d7.jpg', 'username': None, 'uploaded_at': 1760551337, 'text': 'image_15102025_20_00_54_010137m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015807151794433594 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27841184, '2025-10-15' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-15' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2450453,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.662834644317627 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= 2450453 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818432, 'dashboard_result_id': 16446146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818482, 'dashboard_result_id': 16446147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27818873, 'dashboard_result_id': 16446148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27819596, 'dashboard_result_id': 16446149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820246, 'dashboard_result_id': 16446150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820351, 'dashboard_result_id': 16446151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820632, 'dashboard_result_id': 16446152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27820994, 'dashboard_result_id': 16446153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27821801, 'dashboard_result_id': 16446154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27821853, 'dashboard_result_id': 16446155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27822193, 'dashboard_result_id': 16446156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27822707, 'dashboard_result_id': 16446157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27823105, 'dashboard_result_id': 16446158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27834475, 'dashboard_result_id': 16446159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27834822, 'dashboard_result_id': 16446160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27835066, 'dashboard_result_id': 16446161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27836024, 'dashboard_result_id': 16446162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27836830, 'dashboard_result_id': 16446163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27837435, 'dashboard_result_id': 16446164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27837819, 'dashboard_result_id': 16446165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27838415, 'dashboard_result_id': 16446166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27838969, 'dashboard_result_id': 16446167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27839774, 'dashboard_result_id': 16446168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27840279, 'dashboard_result_id': 16446169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27840850, 'dashboard_result_id': 16446170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27841184, 'dashboard_result_id': 16446171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_15-10-2025_20_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27841863, 'dashboard_result_id': 16446172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_15-10-2025_20_33_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27842278, 'dashboard_result_id': 16446173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_15-10-2025_20_53_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27842861, 'dashboard_result_id': 16446174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_15-10-2025_21_05_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843177, 'dashboard_result_id': 16446175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_15-10-2025_21_19_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843398, 'dashboard_result_id': 16446176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27843805, 'dashboard_result_id': 16446177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27844258, 'dashboard_result_id': 16446178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27844744, 'dashboard_result_id': 16446179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27845406, 'dashboard_result_id': 16446180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27845935, 'dashboard_result_id': 16446181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27846621, 'dashboard_result_id': 16446182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27847151, 'dashboard_result_id': 16446183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27847886, 'dashboard_result_id': 16446184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27848411, 'dashboard_result_id': 16446185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}"}, {'dashboat_entry_day': 2450453, 'dashboard_run_id': 2466907, 'mtr_portfolio_id': 27849019, 'dashboard_result_id': 16446186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, '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 = 27818432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950283, 'mtr_portfolio_id': 27818432, 'created_at': datetime.datetime(2025, 10, 16, 5, 34, 33), 'result': '0.05544326831338731', 'result_long': None, 'result_double': None}] Qualite : 0.05544326831338731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}" where mtr_portfolio_id = 27818432 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446146, 0.05544326831338731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818432_16-10-2025_05_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818433, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818434, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818444, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27818482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950284, 'mtr_portfolio_id': 27818482, 'created_at': datetime.datetime(2025, 10, 16, 5, 36), 'result': '0.03591790016127145', 'result_long': None, 'result_double': None}] Qualite : 0.03591790016127145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}" where mtr_portfolio_id = 27818482 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446147, 0.03591790016127145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818482_16-10-2025_05_36_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27818486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27818487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818489, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27818873 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950285, 'mtr_portfolio_id': 27818873, 'created_at': datetime.datetime(2025, 10, 16, 5, 36, 5), 'result': '0.053092943552620155', 'result_long': None, 'result_double': None}] Qualite : 0.053092943552620155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27818873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27818873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}" where mtr_portfolio_id = 27818873 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27818873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446148, 0.053092943552620155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27818873_16-10-2025_05_36_09.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27818878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27818879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27818880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27818881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27818882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27818883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27818884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27818885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27818886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27818887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27818888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27818889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27819596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950286, 'mtr_portfolio_id': 27819596, 'created_at': datetime.datetime(2025, 10, 16, 5, 36, 34), 'result': '0.044617789794046306', 'result_long': None, 'result_double': None}] Qualite : 0.044617789794046306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27819596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27819596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}" where mtr_portfolio_id = 27819596 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27819596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446149, 0.044617789794046306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27819596_16-10-2025_05_36_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27819599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27819600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27819601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27819602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27819603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27819604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27819605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27819606, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27819607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27819608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27819609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27819610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950287, 'mtr_portfolio_id': 27820246, 'created_at': datetime.datetime(2025, 10, 16, 5, 37, 34), 'result': '0.0508651783352559', 'result_long': None, 'result_double': None}] Qualite : 0.0508651783352559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}" where mtr_portfolio_id = 27820246 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446150, 0.0508651783352559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820246_16-10-2025_05_37_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27820247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820248, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950288, 'mtr_portfolio_id': 27820351, 'created_at': datetime.datetime(2025, 10, 16, 5, 38, 1), 'result': '0.048644203198791335', 'result_long': None, 'result_double': None}] Qualite : 0.048644203198791335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}" where mtr_portfolio_id = 27820351 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446151, 0.048644203198791335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820351_16-10-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820383, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820632 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950289, 'mtr_portfolio_id': 27820632, 'created_at': datetime.datetime(2025, 10, 16, 5, 38, 59), 'result': '0.0576768016220554', 'result_long': None, 'result_double': None}] Qualite : 0.0576768016220554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820632 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}" where mtr_portfolio_id = 27820632 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446152, 0.0576768016220554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820632_16-10-2025_05_39_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27820661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27820662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27820663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27820664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27820665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27820666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27820667, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27820668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27820669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27820670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27820671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27820672, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27820994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950290, 'mtr_portfolio_id': 27820994, 'created_at': datetime.datetime(2025, 10, 16, 5, 39, 34), 'result': '0.04285134157784997', 'result_long': None, 'result_double': None}] Qualite : 0.04285134157784997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27820994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27820994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}" where mtr_portfolio_id = 27820994 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27820994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446153, 0.04285134157784997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27820994_16-10-2025_05_39_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27821000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27821801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950291, 'mtr_portfolio_id': 27821801, 'created_at': datetime.datetime(2025, 10, 16, 5, 40, 2), 'result': '0.015510548282426711', 'result_long': None, 'result_double': None}] Qualite : 0.015510548282426711 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27821801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27821801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}" where mtr_portfolio_id = 27821801 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27821801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446154, 0.015510548282426711, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821801_16-10-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821811, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27821853 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950292, 'mtr_portfolio_id': 27821853, 'created_at': datetime.datetime(2025, 10, 16, 5, 40, 29), 'result': '0.04719180262029262', 'result_long': None, 'result_double': None}] Qualite : 0.04719180262029262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27821853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27821853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}" where mtr_portfolio_id = 27821853 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27821853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446155, 0.04719180262029262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27821853_16-10-2025_05_40_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27821855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27821856, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27821857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27821858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27821859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27821860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27821861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27821862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27821863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27821864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27821865, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27821866, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27822193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950293, 'mtr_portfolio_id': 27822193, 'created_at': datetime.datetime(2025, 10, 16, 5, 41, 5), 'result': '0.044767273930773906', 'result_long': None, 'result_double': None}] Qualite : 0.044767273930773906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27822193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27822193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}" where mtr_portfolio_id = 27822193 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27822193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446156, 0.044767273930773906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822193_16-10-2025_05_41_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27822202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27822707 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950294, 'mtr_portfolio_id': 27822707, 'created_at': datetime.datetime(2025, 10, 16, 5, 41, 31), 'result': '0.05758315422379833', 'result_long': None, 'result_double': None}] Qualite : 0.05758315422379833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27822707 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27822707 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}" where mtr_portfolio_id = 27822707 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27822707 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446157, 0.05758315422379833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27822707_16-10-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27822731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27822732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27822733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27822734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27822735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27822736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27822737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27822738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27822739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27822740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27822741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27822742, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27823105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950295, 'mtr_portfolio_id': 27823105, 'created_at': datetime.datetime(2025, 10, 16, 5, 42, 5), 'result': '0.056218202327586536', 'result_long': None, 'result_double': None}] Qualite : 0.056218202327586536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27823105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27823105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}" where mtr_portfolio_id = 27823105 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27823105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446158, 0.056218202327586536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27823105_16-10-2025_05_42_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27823137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27823138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27823139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27823140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27823141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27823142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27823143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27823144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27823145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27823146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27823147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27823148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27834475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950296, 'mtr_portfolio_id': 27834475, 'created_at': datetime.datetime(2025, 10, 16, 5, 43, 4), 'result': '0.03026264770764648', 'result_long': None, 'result_double': None}] Qualite : 0.03026264770764648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27834475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27834475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}" where mtr_portfolio_id = 27834475 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27834475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446159, 0.03026264770764648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834475_16-10-2025_05_43_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27834476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834487, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27834822 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950297, 'mtr_portfolio_id': 27834822, 'created_at': datetime.datetime(2025, 10, 16, 5, 43, 34), 'result': '0.048894162065639075', 'result_long': None, 'result_double': None}] Qualite : 0.048894162065639075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27834822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27834822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}" where mtr_portfolio_id = 27834822 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27834822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446160, 0.048894162065639075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27834822_16-10-2025_05_43_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27834823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27834824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27834825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27834826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27834827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27834828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27834829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27834831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27834832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27834833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27834834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27835066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950298, 'mtr_portfolio_id': 27835066, 'created_at': datetime.datetime(2025, 10, 16, 5, 44, 3), 'result': '0.049431803672301995', 'result_long': None, 'result_double': None}] Qualite : 0.049431803672301995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27835066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27835066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}" where mtr_portfolio_id = 27835066 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27835066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446161, 0.049431803672301995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27835066_16-10-2025_05_44_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27835071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27835072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27835073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27835074, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27835075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27835076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27835077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27835078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27835079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27835080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27835082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27835083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27836024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950299, 'mtr_portfolio_id': 27836024, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 4), 'result': '0.031078878183300854', 'result_long': None, 'result_double': None}] Qualite : 0.031078878183300854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27836024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}" where mtr_portfolio_id = 27836024 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27836024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446162, 0.031078878183300854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836024_16-10-2025_05_45_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27836030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836036, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27836830 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950300, 'mtr_portfolio_id': 27836830, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 30), 'result': '0.07107256909221417', 'result_long': None, 'result_double': None}] Qualite : 0.07107256909221417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27836830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27836830 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}" where mtr_portfolio_id = 27836830 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27836830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446163, 0.07107256909221417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27836830_16-10-2025_05_45_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27836832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27836833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27836834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27836835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27836836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27836837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27836838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27836839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27836840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27836841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27836842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27836843, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27837435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950301, 'mtr_portfolio_id': 27837435, 'created_at': datetime.datetime(2025, 10, 16, 5, 45, 59), 'result': '0.04749786895138458', 'result_long': None, 'result_double': None}] Qualite : 0.04749786895138458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27837435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27837435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}" where mtr_portfolio_id = 27837435 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27837435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446164, 0.04749786895138458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837435_16-10-2025_05_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837475, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27837819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950302, 'mtr_portfolio_id': 27837819, 'created_at': datetime.datetime(2025, 10, 16, 5, 46, 6), 'result': '0.04498073571010339', 'result_long': None, 'result_double': None}] Qualite : 0.04498073571010339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27837819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27837819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}" where mtr_portfolio_id = 27837819 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27837819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446165, 0.04498073571010339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27837819_16-10-2025_05_46_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27837849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27837850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27837851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27837852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27837853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27837854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27837855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27837856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27837857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27837858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27837859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27837860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27838415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950303, 'mtr_portfolio_id': 27838415, 'created_at': datetime.datetime(2025, 10, 16, 5, 46, 34), 'result': '0.05321937850040381', 'result_long': None, 'result_double': None}] Qualite : 0.05321937850040381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27838415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27838415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}" where mtr_portfolio_id = 27838415 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27838415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446166, 0.05321937850040381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838415_16-10-2025_05_46_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27838439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27838440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27838441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27838442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27838443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27838444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27838445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27838446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27838447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27838448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27838449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27838450, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27838969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950304, 'mtr_portfolio_id': 27838969, 'created_at': datetime.datetime(2025, 10, 16, 5, 47, 32), 'result': '0.0407988362929384', 'result_long': None, 'result_double': None}] Qualite : 0.0407988362929384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27838969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27838969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}" where mtr_portfolio_id = 27838969 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27838969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446167, 0.0407988362929384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27838969_16-10-2025_05_47_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839029, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27839774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950305, 'mtr_portfolio_id': 27839774, 'created_at': datetime.datetime(2025, 10, 16, 5, 48, 4), 'result': '0.05174334810054409', 'result_long': None, 'result_double': None}] Qualite : 0.05174334810054409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27839774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27839774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}" where mtr_portfolio_id = 27839774 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27839774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446168, 0.05174334810054409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27839774_16-10-2025_05_48_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27839785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27839786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27839787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27839788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27839789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27839790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27839791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27839792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27839793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27839794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27839795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27839796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27840279 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950306, 'mtr_portfolio_id': 27840279, 'created_at': datetime.datetime(2025, 10, 16, 5, 48, 28), 'result': '0.030250193161555985', 'result_long': None, 'result_double': None}] Qualite : 0.030250193161555985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27840279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27840279 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}" where mtr_portfolio_id = 27840279 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27840279 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446169, 0.030250193161555985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840279_16-10-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27840294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27840305, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27840850 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950307, 'mtr_portfolio_id': 27840850, 'created_at': datetime.datetime(2025, 10, 16, 5, 49, 59), 'result': '0.05361018755953789', 'result_long': None, 'result_double': None}] Qualite : 0.05361018755953789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27840850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27840850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}" where mtr_portfolio_id = 27840850 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27840850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446170, 0.05361018755953789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27840850_16-10-2025_05_50_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27840861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27840862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27840863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27840864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27840865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27840866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27840867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27840868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27840869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27840870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27840871, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27840872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27841184 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3950308, 'mtr_portfolio_id': 27841184, 'created_at': datetime.datetime(2025, 10, 16, 5, 50, 36), 'result': '0.03805331082943212', 'result_long': None, 'result_double': None}] Qualite : 0.03805331082943212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27841184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27841184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}" where mtr_portfolio_id = 27841184 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446171, 0.03805331082943212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841184_16-10-2025_05_50_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27841863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947700, 'mtr_portfolio_id': 27841863, 'created_at': datetime.datetime(2025, 10, 15, 20, 33, 6), 'result': '0.04184572381838551', 'result_long': None, 'result_double': None}] Qualite : 0.04184572381838551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27841863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_15-10-2025_20_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27841863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_15-10-2025_20_33_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}" where mtr_portfolio_id = 27841863 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27841863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446172, 0.04184572381838551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27841863_15-10-2025_20_33_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27841872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27841873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27841874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27841875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27841876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27841877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27841878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27841879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27841880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27841881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27841882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27841883, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27842278 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947771, 'mtr_portfolio_id': 27842278, 'created_at': datetime.datetime(2025, 10, 15, 20, 53, 5), 'result': '0.047769071632582885', 'result_long': None, 'result_double': None}] Qualite : 0.047769071632582885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27842278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_15-10-2025_20_53_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27842278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_15-10-2025_20_53_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}" where mtr_portfolio_id = 27842278 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27842278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446173, 0.047769071632582885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842278_15-10-2025_20_53_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842292, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27842861 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947857, 'mtr_portfolio_id': 27842861, 'created_at': datetime.datetime(2025, 10, 15, 21, 5, 5), 'result': '0.05369611890573279', 'result_long': None, 'result_double': None}] Qualite : 0.05369611890573279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27842861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_15-10-2025_21_05_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27842861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_15-10-2025_21_05_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}" where mtr_portfolio_id = 27842861 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27842861 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446174, 0.05369611890573279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27842861_15-10-2025_21_05_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27842862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27842863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27842864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27842865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27842866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27842867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27842868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27842869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27842870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27842871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27842872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27842873, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947897, 'mtr_portfolio_id': 27843177, 'created_at': datetime.datetime(2025, 10, 15, 21, 19, 5), 'result': '0.06617678827008662', 'result_long': None, 'result_double': None}] Qualite : 0.06617678827008662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_15-10-2025_21_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_15-10-2025_21_19_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}" where mtr_portfolio_id = 27843177 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446175, 0.06617678827008662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843177_15-10-2025_21_19_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843190, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843398 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947918, 'mtr_portfolio_id': 27843398, 'created_at': datetime.datetime(2025, 10, 15, 21, 32, 31), 'result': '0.04898311687144687', 'result_long': None, 'result_double': None}] Qualite : 0.04898311687144687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843398 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}" where mtr_portfolio_id = 27843398 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446176, 0.04898311687144687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843398_15-10-2025_21_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843414, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27843805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3947971, 'mtr_portfolio_id': 27843805, 'created_at': datetime.datetime(2025, 10, 15, 21, 49, 4), 'result': '0.047065529804678874', 'result_long': None, 'result_double': None}] Qualite : 0.047065529804678874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27843805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27843805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}" where mtr_portfolio_id = 27843805 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27843805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446177, 0.047065529804678874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27843805_15-10-2025_21_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27843816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27843817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27843819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27843820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27843821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27843822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27843823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27843824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27843825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27843826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27843827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27844258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948026, 'mtr_portfolio_id': 27844258, 'created_at': datetime.datetime(2025, 10, 15, 22, 3, 3), 'result': '0.0672479423342678', 'result_long': None, 'result_double': None}] Qualite : 0.0672479423342678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27844258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27844258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}" where mtr_portfolio_id = 27844258 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27844258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446178, 0.0672479423342678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844258_15-10-2025_22_03_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844268, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844273, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27844744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948151, 'mtr_portfolio_id': 27844744, 'created_at': datetime.datetime(2025, 10, 15, 22, 18, 35), 'result': '0.06308699523274494', 'result_long': None, 'result_double': None}] Qualite : 0.06308699523274494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27844744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27844744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}" where mtr_portfolio_id = 27844744 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27844744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446179, 0.06308699523274494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27844744_15-10-2025_22_18_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27844757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27844758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27844759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27844760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27844761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27844762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27844763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27844764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27844765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27844766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27844767, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27844768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27845406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948259, 'mtr_portfolio_id': 27845406, 'created_at': datetime.datetime(2025, 10, 15, 22, 34, 33), 'result': '0.030419830186023337', 'result_long': None, 'result_double': None}] Qualite : 0.030419830186023337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27845406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27845406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}" where mtr_portfolio_id = 27845406 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27845406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446180, 0.030419830186023337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845406_15-10-2025_22_34_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27845411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27845412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27845413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27845414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27845415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27845417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27845418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27845419, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27845420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27845422, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27845935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948362, 'mtr_portfolio_id': 27845935, 'created_at': datetime.datetime(2025, 10, 15, 22, 48, 59), 'result': '0.060758841720927916', 'result_long': None, 'result_double': None}] Qualite : 0.060758841720927916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27845935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27845935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}" where mtr_portfolio_id = 27845935 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27845935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446181, 0.060758841720927916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27845935_15-10-2025_22_49_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27845998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27845999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846009, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27846621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948457, 'mtr_portfolio_id': 27846621, 'created_at': datetime.datetime(2025, 10, 15, 23, 3, 26), 'result': '0.05315631643035128', 'result_long': None, 'result_double': None}] Qualite : 0.05315631643035128 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27846621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27846621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}" where mtr_portfolio_id = 27846621 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27846621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446182, 0.05315631643035128, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27846621_15-10-2025_23_03_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27846631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27846632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27846633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27846634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27846635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27846636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27846637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27846638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27846639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27846640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27846641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27846642, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27847151 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948534, 'mtr_portfolio_id': 27847151, 'created_at': datetime.datetime(2025, 10, 15, 23, 19, 2), 'result': '0.0516013730319455', 'result_long': None, 'result_double': None}] Qualite : 0.0516013730319455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27847151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27847151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}" where mtr_portfolio_id = 27847151 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27847151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446183, 0.0516013730319455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847151_15-10-2025_23_19_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847161, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847162, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847167, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27847886 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948621, 'mtr_portfolio_id': 27847886, 'created_at': datetime.datetime(2025, 10, 15, 23, 33, 5), 'result': '0.03676683205593549', 'result_long': None, 'result_double': None}] Qualite : 0.03676683205593549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27847886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27847886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}" where mtr_portfolio_id = 27847886 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27847886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446184, 0.03676683205593549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27847886_15-10-2025_23_33_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27847898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27847899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27847900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27847901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27847902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27847903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27847904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27847905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27847906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27847907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27847908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27847909, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27848411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948718, 'mtr_portfolio_id': 27848411, 'created_at': datetime.datetime(2025, 10, 15, 23, 49, 26), 'result': '0.051600182052438374', 'result_long': None, 'result_double': None}] Qualite : 0.051600182052438374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27848411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27848411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}" where mtr_portfolio_id = 27848411 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27848411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446185, 0.051600182052438374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27848411_15-10-2025_23_49_26.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27848448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27848449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27848450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27848451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27848452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27848453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27848454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27848455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27848456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27848457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27848458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27848459, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27849019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3948831, 'mtr_portfolio_id': 27849019, 'created_at': datetime.datetime(2025, 10, 16, 1, 12, 4), 'result': '0.06246820083880543', 'result_long': None, 'result_double': None}] Qualite : 0.06246820083880543 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27849019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27849019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, 'pht': 3726}}" where mtr_portfolio_id = 27849019 and dashboard_run_id = 2466907 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27849019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16446186, 0.06246820083880543, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27849019_16-10-2025_01_12_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27849060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27849061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27849062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27849063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27849064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27849065, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27849066, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27849067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27849068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27849069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27849070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27849071, '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 (27818432,27818482,27818873,27819596,27820246,27820351,27820632,27820994,27821801,27821853,27822193,27822707,27823105,27834475,27834822,27835066,27836024,27836830,27837435,27837819,27838415,27838969,27839774,27840279,27840850,27841184,27841863,27842278,27842861,27843177,27843398,27843805,27844258,27844744,27845406,27845935,27846621,27847151,27847886,27848411,27849019) result : ((1389500533,), (1389500687,), (1389500688,), (1389500689,), (1389500719,), (1389500721,), (1389500723,), (1389500726,), (1389500728,), (1389500776,), (1389500779,), (1389500781,), (1389500782,), (1389500783,), (1389500784,), (1389500756,), (1389500760,), (1389500767,), (1389500772,), (1389500785,), (1389500789,), (1389500793,), (1389500795,), (1389500801,), (1389500802,), (1389500804,), (1389500807,), (1389500810,), (1389500818,), (1389500861,), (1389500862,), (1389500864,), (1389500867,), (1389500870,), (1389500873,), (1389500878,), (1389500880,), (1389500881,), (1389500903,), (1389500905,), (1389500907,), (1389500909,), (1389500910,), (1389500911,), (1389500919,), (1389500920,), (1389500923,), (1389500924,), (1389500927,), (1389500928,), (1389500948,), (1389500949,), (1389500950,), (1389500953,), (1389500957,), (1389500960,), (1389500971,), (1389500972,), (1389500974,), (1389500977,), (1389500980,), (1389500983,), (1389500988,), (1389500989,), (1389500990,), (1389500991,), (1389500992,), (1389500996,), (1389501000,), (1389501005,), (1389501012,), (1389501039,), (1389501042,), (1389501044,), (1389501047,), (1389501050,), (1389501053,), (1389501061,), (1389501062,), (1389501063,), (1389501065,), (1389501083,), (1389501084,), (1389501086,), (1389501089,), (1389501092,), (1389501095,), (1389501127,), (1389501128,), (1389501130,), (1389501156,), (1389501157,), (1389501159,), (1389501162,), (1389501165,), (1389501167,), (1389501172,), (1389501177,), (1389501179,), (1389501183,), (1389501188,), (1389501194,), (1389501228,), (1389501221,), (1389501222,), (1389501223,), (1389501225,), (1389501237,), (1389501238,), (1389501239,), (1389501241,), (1389501244,), (1389501273,), (1389501276,), (1389501277,), (1389501279,), (1389501282,), (1389501285,), (1389501327,), (1389501328,), (1389501330,), (1389501333,), (1389501359,), (1389501360,), (1389501361,), (1389501363,), (1389501367,), (1389501369,), (1389501377,), (1389501378,), (1389501380,), (1389501385,), (1389501388,), (1389501390,), (1389501409,), (1389501411,), (1389501421,), (1389501427,), (1389501428,), (1389501429,), (1389501433,), (1389501435,), (1389501438,), (1389501440,), (1389501444,), (1389501445,), (1389501446,), (1389501448,), (1389501451,), (1389501453,), (1389501484,), (1389501504,), (1389501509,), (1389501511,), (1389501514,), (1389501517,), (1389501536,), (1389501537,), (1389501538,), (1389501540,), (1389501567,), (1389501568,), (1389501569,), (1389501572,), (1389501576,), (1389501578,), (1389501585,), (1389501586,), (1389501587,), (1389501589,), (1389501776,), (1389501934,), (1389501935,), (1389501936,), (1389501938,), (1389501955,), (1389501958,), (1389501961,), (1389501963,), (1389501967,), (1389501972,), (1389501977,), (1389502017,), (1389504900,), (1389504898,), (1389504920,), (1389504922,), (1389504923,), (1389504926,), (1389504929,), (1389504932,), (1389504962,), (1389504963,), (1389504965,), (1389504968,), (1389504971,), (1389504974,), (1389504979,), (1389504980,), (1389505005,), (1389505012,), (1389505013,), (1389505014,), (1389505015,), (1389505017,), (1389505026,), (1389505027,), (1389505031,), (1389505033,), (1389505036,), (1389505038,), (1389505040,), (1389505051,), (1389505053,), (1389505054,), (1389505055,), (1389505056,), (1389505061,), (1389505062,), (1389505247,), (1389512777,), (1389512872,), (1389513090,), (1389513148,), (1389513149,), (1389513150,), (1389513167,), (1389513168,), (1389513170,), (1389513172,), (1389513175,), (1389513179,), (1389513276,), (1389513247,), (1389513260,), (1389513274,), (1389513275,), (1389513301,), (1389513303,), (1389513304,), (1389513306,), (1389513310,), (1389513318,), (1389513319,), (1389513320,), (1389513333,), (1389513334,), (1389513335,), (1389513360,), (1389513361,), (1389513363,), (1389513365,), (1389513377,), (1389513379,), (1389513383,), (1389513388,), (1389513398,), (1389513401,), (1389513406,), (1389513407,), (1389513408,), (1389513410,), (1389513431,), (1389513432,), (1389513433,), (1389513435,), (1389513438,), (1389513444,), (1389513464,), (1389513465,), (1389513466,), (1389513469,), (1389513482,), (1389513483,), (1389513487,), (1389513491,), (1389513498,), (1389513500,), (1389513506,), (1389513511,), (1389513513,), (1389513523,), (1389513514,), (1389513515,), (1389513516,), (1389513519,), (1389513533,), (1389513534,), (1389513535,), (1389513538,), (1389513565,), (1389513566,), (1389513567,), (1389513569,), (1389513572,), (1389513587,), (1389513588,), (1389513589,), (1389513591,), (1389513595,), (1389513623,), (1389513624,), (1389513626,), (1389513641,), (1389513642,), (1389513644,), (1389513646,), (1389513673,), (1389513674,), (1389513676,), (1389513679,), (1389513682,), (1389513691,), (1389513692,), (1389513693,), (1389513696,), (1389513700,), (1389513724,), (1389513725,), (1389513726,), (1389513728,), (1389513741,), (1389513742,), (1389513744,), (1389513748,), (1389513755,), (1389513760,), (1389513768,), (1389513769,), (1389513770,), (1389513771,), (1389513774,), (1389513777,), (1389513779,), (1389513782,), (1389513785,), (1389513789,), (1389513790,), (1389513791,), (1389513829,), (1389513830,), (1389513831,), (1389513837,), (1389513840,), (1389513843,), (1389514624,), (1389514957,), (1389514961,), (1389514964,), (1389514966,), (1389515238,), (1389515225,), (1389515227,), (1389515229,), (1389515233,), (1389515265,), (1389515267,), (1389515269,), (1389515273,), (1389515285,), (1389515287,), (1389515289,), (1389515451,), (1389515728,), (1389515732,), (1389515929,), (1389515931,), (1389515968,), (1389515973,), (1389515978,), (1389515981,), (1389515993,), (1389515995,), (1389515999,), (1389516004,), (1389516007,), (1389516013,), (1389516026,), (1389516028,), (1389516030,), (1389516033,), (1389516035,), (1389516040,), (1389516045,), (1389516049,), (1389516051,), (1389516053,), (1389516054,), (1389516065,), (1389516067,), (1389516069,), (1389516072,), (1389516096,), (1389516098,), (1389516101,), (1389516105,), (1389516118,), (1389516120,), (1389516123,), (1389516128,), (1389516132,), (1389516139,), (1389516151,), (1389516153,), (1389516155,), (1389516169,), (1389516173,), (1389516177,), (1389516183,), (1389516187,), (1389516190,), (1389518757,), (1389519610,), (1389519627,), (1389519632,), (1389519633,), (1389519635,), (1389519646,), (1389519660,), (1389519662,), (1389519686,), (1389519679,), (1389519680,), (1389519681,), (1389519683,), (1389519697,), (1389519698,), (1389519700,), (1389519715,), (1389519716,), (1389519717,), (1389519719,), (1389519722,), (1389519726,), (1389519741,), (1389519743,), (1389519746,), (1389519750,), (1389519753,), (1389519762,), (1389519763,), (1389519764,), (1389519766,), (1389519769,), (1389519782,), (1389519783,), (1389519784,), (1389519786,), (1389519790,), (1389519816,), (1389519818,), (1389519821,), (1389519823,), (1389519827,), (1389519835,), (1389519837,), (1389519838,), (1389519840,), (1389519842,), (1389519852,), (1389519878,), (1389519880,), (1389519881,), (1389519883,), (1389519903,), (1389519906,), (1389519909,), (1389519912,), (1389519922,), (1389519929,), (1389519933,), (1389519935,), (1389519937,), (1389519940,), (1389519946,), (1389519949,), (1389519952,), (1389519954,), (1389519956,), (1389519962,), (1389519965,), (1389519967,), (1389519970,), (1389519973,), (1389519978,), (1389519997,), (1389520000,), (1389520002,), (1389520006,), (1389520308,), (1389520311,), (1389520314,), (1389520317,), (1389520320,), (1389520325,), (1389520331,), (1389520333,), (1389520334,), (1389520335,), (1389521412,), (1389520349,), (1389520353,), (1389520823,), (1389521365,), (1389521427,), (1389521428,), (1389521626,), (1389521637,), (1389521667,), (1389522074,), (1389522081,), (1389522104,), (1389522131,), (1389522135,), (1389522161,), (1389522165,), (1389522167,), (1389522171,), (1389522175,), (1389522178,), (1389522183,), (1389522185,), (1389522189,), (1389522193,), (1389522209,), (1389522216,), (1389522221,), (1389522225,), (1389522228,), (1389522231,), (1389522235,), (1389522239,), (1389522241,), (1389522243,), (1389522245,), (1389522246,), (1389522252,), (1389522254,), (1389522256,), (1389522259,), (1389522262,), (1389522287,), (1389522288,), (1389522289,), (1389522292,), (1389522296,), (1389522304,), (1389522305,), (1389522306,), (1389522309,), (1389522315,), (1389522321,), (1389522324,), (1389522325,), (1389522329,), (1389522335,), (1389522337,), (1389522341,), (1389522342,), (1389522343,), (1389522345,), (1389522386,), (1389522387,), (1389522388,), (1389522390,), (1389522393,), (1389522408,), (1389522409,), (1389522410,), (1389522412,), (1389522414,), (1389522440,), (1389522443,), (1389522444,), (1389522446,), (1389522449,), (1389522452,), (1389522462,), (1389522463,), (1389522466,), (1389522472,), (1389522479,), (1389522481,), (1389522487,), (1389522494,), (1389522495,), (1389522496,), (1389522512,), (1389522499,), (1389522501,), (1389522504,), (1389522507,), (1389522510,), (1389522518,), (1389522519,), (1389522520,), (1389522522,), (1389522563,), (1389522565,), (1389522566,), (1389522568,), (1389522571,), (1389522587,), (1389522588,), (1389522589,), (1389522591,), (1389522594,), (1389522626,), (1389522628,), (1389522630,), (1389522632,), (1389522635,), (1389522645,), (1389522648,), (1389522649,), (1389522651,), (1389522659,), (1389522678,), (1389522680,), (1389522681,), (1389522683,), (1389522686,), (1389522694,), (1389522695,), (1389522696,), (1389522698,), (1389522701,), (1389522704,), (1389522735,), (1389522737,), (1389522738,), (1389522741,), (1389522756,), (1389522765,), (1389522767,), (1389522770,), (1389522776,), (1389522780,), (1389522785,), (1389522787,), (1389522788,), (1389522789,), (1389522792,), (1389522794,), (1389522797,), (1389522800,), (1389522807,), (1389522808,), (1389522810,), (1389522812,), (1389522815,), (1389522822,), (1389522843,), (1389522845,), (1389522847,), (1389522855,), (1389522856,), (1389522857,), (1389522859,), (1389522862,), (1389522865,), (1389522890,), (1389522892,), (1389522893,), (1389522895,), (1389522934,), (1389522909,), (1389522912,), (1389522918,), (1389522925,), (1389522930,), (1389522951,), (1389522953,), (1389522955,), (1389522957,), (1389522969,), (1389522970,), (1389522971,), (1389522974,), (1389522984,), (1389522988,), (1389523009,), (1389523011,), (1389523012,), (1389523015,), (1389523019,), (1389523030,), (1389523032,), (1389523034,), (1389523037,), (1389523047,), (1389523049,), (1389523055,), (1389523059,), (1389527864,), (1389594501,), (1389595115,), (1389595117,), (1389595306,), (1389595307,), (1389595308,), (1389595310,), (1389595314,), (1389595328,), (1389595329,), (1389595330,), (1389595348,), (1389595350,), (1389595352,), (1389597367,), (1389598080,), (1389598241,), (1389598243,), (1389598272,), (1389598279,), (1389598296,), (1389598299,), (1389598302,), (1389598333,), (1389598334,), (1389598335,), (1389598337,), (1389598342,), (1389598363,), (1389598366,), (1389598368,), (1389598371,), (1389598374,), (1389598377,), (1389598382,), (1389598383,), (1389598385,), (1389598387,), (1389598390,), (1389598393,), (1389598403,), (1389598465,), (1389598473,), (1389598475,), (1389598479,), (1389598483,), (1389598486,), (1389598519,), (1389598524,), (1389598529,), (1389598542,), (1389598543,), (1389598949,), (1389598950,), (1389598953,), (1389598954,), (1389598972,), (1389598973,), (1389599177,), (1389599108,), (1389599123,), (1389599156,), (1389601671,), (1389601674,), (1389601677,), (1389601693,), (1389601969,), (1389601971,), (1389602034,), (1389602037,), (1389602516,), (1389602583,), (1389602585,), (1389603834,), (1389603836,), (1389604063,), (1389604065,), (1389604816,), (1389604970,), (1389604978,), (1389604986,), (1389604991,), (1389604994,), (1389605020,), (1389605021,), (1389605150,), (1389605234,), (1389605236,), (1389605239,), (1389605242,), (1389605245,), (1389605250,), (1389605252,), (1389605255,), (1389605258,), (1389605303,), (1389605305,), (1389605308,), (1389605311,), (1389605314,), (1389605318,), (1389605321,), (1389605322,), (1389605324,), (1389605325,), (1389605327,), (1389605330,), (1389605333,), (1389605625,), (1389605629,), (1389607994,), (1389606795,), (1389607991,), (1389607992,), (1389608525,), (1389608620,), (1389608621,), (1389608659,), (1389608677,), (1389608706,), (1389608798,), (1389608799,), (1389608802,), (1389608804,), (1389608808,), (1389608811,), (1389608816,), (1389608817,), (1389608818,), (1389608821,), (1389608881,), (1389608884,), (1389608886,), (1389615950,), (1389615942,), (1389615944,), (1389615946,), (1389616368,), (1389616370,), (1389616371,), (1389616396,), (1389616410,), (1389616411,), (1389616413,), (1389616428,), (1389617168,), (1389617178,), (1389617182,), (1389617185,), (1389617187,), (1389617208,), (1389618288,), (1389618290,), (1389618294,), (1389618375,), (1389618405,), (1389618408,), (1389618410,), (1389618423,), (1389618799,), (1389618800,), (1389618802,), (1389618876,), (1389618883,), (1389618971,), (1389618979,), (1389618999,), (1389619000,), (1389619002,), (1389619009,), (1389619431,), (1389619548,), (1389619549,), (1389619551,), (1389619811,), (1389619813,), (1389619823,), (1389619903,), (1389619917,), (1389619927,), (1389619992,), (1389619993,), (1389619994,), (1389619997,), (1389620044,), (1389620045,), (1389620046,), (1389620049,), (1389620053,), (1389620081,), (1389620083,), (1389620086,), (1389620088,), (1389620092,), (1389620113,), (1389620114,), (1389620115,), (1389620118,), (1389620123,), (1389620126,), (1389620163,), (1389620166,), (1389620169,), (1389620174,), (1389620176,), (1389620177,), (1389620178,), (1389620143,), (1389620148,), (1389620160,), (1389620182,), (1389620183,), (1389620188,), (1389620196,), (1389620215,), (1389620216,), (1389620217,), (1389620219,), (1389620239,), (1389620242,), (1389620243,), (1389620246,), (1389620250,), (1389620259,), (1389620277,), (1389620279,), (1389620281,), (1389620284,), (1389620300,), (1389620303,), (1389620314,), (1389620320,), (1389620324,), (1389620363,), (1389620364,), (1389620365,), (1389620367,), (1389620371,), (1389620375,), (1389620387,), (1389620388,), (1389620390,), (1389620392,), (1389620409,), (1389620410,), (1389620412,), (1389620415,), (1389620419,), (1389620423,), (1389620435,), (1389620436,), (1389620437,), (1389620439,), (1389620442,), (1389620449,), (1389620467,), (1389620469,), (1389620471,), (1389620475,), (1389620478,), (1389620481,), (1389620489,), (1389620493,), (1389620506,), (1389620510,), (1389620514,), (1389620517,), (1389620527,), (1389620529,), (1389620530,), (1389620531,), (1389620533,), (1389620536,), (1389620546,), (1389620549,), (1389620552,), (1389620554,), (1389620557,), (1389620558,), (1389620568,), (1389620575,), (1389620588,), (1389620592,), (1389620598,), (1389620607,), (1389620617,), (1389620620,), (1389620624,), (1389620627,), (1389620653,), (1389620656,), (1389620773,), (1389620776,), (1389620777,), (1389620797,), (1389620798,), (1389620812,), (1389620814,), (1389620709,), (1389620713,), (1389620735,), (1389620779,), (1389620780,), (1389620783,), (1389620785,), (1389620788,), (1389620792,), (1389620830,), (1389620833,), (1389620836,), (1389620893,), (1389620895,), (1389620897,), (1389620899,), (1389620903,), (1389620906,), (1389620922,), (1389620923,), (1389620925,), (1389620927,), (1389620935,), (1389620946,), (1389620947,), (1389620949,), (1389620952,), (1389620955,), (1389620958,), (1389620963,), (1389620965,), (1389620966,), (1389620972,), (1389620974,), (1389620989,), (1389621004,), (1389621012,), (1389621020,), (1389621051,), (1389621052,), (1389621057,), (1389621064,), (1389621068,), (1389621071,), (1389621105,), (1389621106,), (1389621107,), (1389621109,), (1389621165,), (1389621174,), (1389621176,), (1389621179,), (1389621182,), (1389621185,), (1389621199,), (1389621200,), (1389621204,), (1389621213,), (1389621216,), (1389621217,), (1389621241,), (1389621245,), (1389621248,), (1389621251,), (1389621297,), (1389621302,), (1389621466,), (1389621487,), (1389621490,), (1389621684,), (1389621686,), (1389621689,), (1389621725,), (1389621729,), (1389621732,), (1389621835,), (1389621836,), (1389621837,), (1389621934,), (1389621938,), (1389621945,), (1389621948,), (1389621868,), (1389621911,), (1389621913,), (1389621930,), (1389621982,), (1389621984,), (1389621985,), (1389621987,), (1389622101,), (1389622102,), (1389622103,), (1389622106,), (1389622111,), (1389622114,), (1389622176,), (1389622189,), (1389622197,), (1389622214,), (1389622386,), (1389622405,), (1389622427,), (1389622430,), (1389622434,), (1389622437,), (1389622446,), (1389622448,), (1389622450,), (1389622453,), (1389622475,), (1389622476,), (1389622477,), (1389622480,), (1389622484,), (1389622650,), (1389622651,), (1389622652,), (1389622654,), (1389622658,), (1389622669,), (1389622688,), (1389622689,), (1389622692,), (1389622696,), (1389622707,), (1389622716,), (1389622728,), (1389622734,), (1389622738,), (1389622742,), (1389622882,), (1389622886,), (1389622954,), (1389622976,), (1389622979,), (1389623019,), (1389623030,), (1389623031,), (1389623032,), (1389623033,), (1389623037,), (1389623043,), (1389623052,), (1389623055,), (1389623057,), (1389623059,), (1389623064,), (1389623066,), (1389623068,), (1389623071,), (1389624498,), (1389624525,), (1389624543,), (1389624547,), (1389624551,), (1389624578,), (1389624570,), (1389624573,), (1389624576,), (1389624607,), (1389624609,), (1389624684,), (1389624803,), (1389624807,), (1389624997,), (1389624999,), (1389625002,), (1389625004,), (1389625008,), (1389625013,), (1389625026,), (1389625029,), (1389625030,), (1389625032,), (1389625047,), (1389625049,), (1389625053,), (1389625060,), (1389625068,), (1389625071,), (1389625456,), (1389625459,), (1389625462,), (1389625466,), (1389625473,), (1389625476,), (1389625611,), (1389625612,), (1389625681,), (1389625682,), (1389625779,), (1389625781,), (1389625784,), (1389625788,), (1389625792,), (1389625796,), (1389625816,), (1389625899,), (1389625900,), (1389625939,), (1389625993,), (1389625996,), (1389625998,), (1389626016,), (1389626026,), (1389626057,), (1389626058,), (1389626059,), (1389626061,), (1389626066,), (1389626070,), (1389626203,), (1389626204,), (1389626244,), (1389626283,), (1389626305,), (1389626463,), (1389626464,), (1389626465,), (1389626470,), (1389626474,), (1389626477,), (1389626485,), (1389626486,), (1389626491,), (1389626494,), (1389626545,), (1389626547,), (1389626548,), (1389626551,), (1389626755,), (1389627042,), (1389627043,), (1389627044,), (1389627079,), (1389627093,), (1389627096,), (1389627122,), (1389627070,), (1389627071,), (1389627074,), (1389627123,), (1389627124,), (1389627125,), (1389629106,), (1389629107,), (1389629108,), (1389629293,), (1389629295,), (1389629298,), (1389629301,), (1389629304,), (1389629307,), (1389629312,), (1389629314,), (1389629316,), (1389629317,), (1389629318,), (1389629320,), (1389629323,), (1389629364,), (1389629382,), (1389629383,), (1389629404,), (1389629419,), (1389629420,), (1389629421,), (1389629423,), (1389629455,), (1389629457,), (1389629458,), (1389629461,), (1389629478,), (1389629481,), (1389629647,), (1389629596,), (1389629608,), (1389629610,), (1389629644,), (1389629662,), (1389629666,), (1389629667,), (1389629669,), (1389629682,), (1389629683,), (1389629684,), (1389629686,), (1389630094,), (1389630547,), (1389630549,), (1389630550,), (1389630674,), (1389631192,), (1389631725,), (1389631802,), (1389631803,), (1389631804,), (1389631806,), (1389631809,), (1389631815,), (1389632190,), (1389632286,), (1389632288,), (1389632291,), (1389632294,), (1389632297,), (1389632302,), (1389632308,), (1389632314,), (1389632323,), (1389632549,), (1389632551,), (1389632554,), (1389632561,), (1389632564,), (1389632567,), (1389632573,), (1389632575,), (1389632576,), (1389632578,), (1389632580,), (1389632596,), (1389632598,), (1389632600,), (1389632602,), (1389632605,), (1389632608,), (1389632625,), (1389632627,), (1389632630,), (1389632633,), (1389632636,), (1389632703,), (1389632704,), (1389632705,), (1389632708,), (1389632712,), (1389632720,), (1389632730,), (1389632732,), (1389632734,), (1389632738,), (1389632750,), (1389632787,), (1389632792,), (1389632794,), (1389632798,), (1389632803,), (1389632810,), (1389632821,), (1389632823,), (1389632825,), (1389632828,), (1389632832,), (1389632843,), (1389632844,), (1389632846,), (1389632848,), (1389632852,), (1389632884,), (1389632887,), (1389632893,), (1389632894,), (1389632895,), (1389632896,), (1389632875,), (1389632876,), (1389632878,), (1389632881,), (1389632898,), (1389632899,), (1389632901,), (1389632904,), (1389632916,), (1389632933,), (1389632935,), (1389632937,), (1389632939,), (1389632942,), (1389632945,), (1389632963,), (1389632964,), (1389632965,), (1389632968,), (1389633134,), (1389633162,), (1389633163,), (1389633166,), (1389633170,), (1389633173,), (1389633182,), (1389633183,), (1389633184,), (1389633186,), (1389633220,), (1389633223,), (1389633227,), (1389633229,), (1389633233,), (1389633236,), (1389633244,), (1389633245,), (1389633247,), (1389633249,), (1389633272,), (1389633274,), (1389633275,), (1389633278,), (1389633282,), (1389633841,), (1389633842,), (1389633843,), (1389633846,), (1389633850,), (1389633857,), (1389634083,), (1389634084,), (1389634194,), (1389634197,), (1389634200,), (1389634203,), (1389634209,), (1389634210,), (1389634211,), (1389634212,), (1389634215,), (1389634225,), (1389634228,), (1389634231,), (1389634235,), (1389634239,), (1389634253,), (1389634259,), (1389634261,), (1389634263,), (1389634265,), (1389635486,), (1389635507,), (1389635651,), (1389635656,), (1389635697,), (1389635711,), (1389636405,), (1389636269,), (1389636272,), (1389636389,), (1389636438,), (1389636440,), (1389636443,), (1389636539,), (1389636858,), (1389636860,), (1389636989,), (1389636991,), (1389636992,), (1389636995,), (1389636999,), (1389637023,), (1389637262,), (1389637264,), (1389637265,), (1389637268,), (1389637296,), (1389637297,), (1389637299,), (1389637301,), (1389637314,), (1389637317,), (1389637321,), (1389637326,), (1389637329,), (1389637380,), (1389637383,), (1389637386,), (1389637390,), (1389637391,), (1389637392,), (1389637372,), (1389637374,), (1389637377,), (1389637398,), (1389637405,), (1389637459,), (1389637460,), (1389637461,), (1389637464,), (1389637467,), (1389637609,), (1389637611,), (1389637612,), (1389637615,), (1389637618,), (1389637651,), (1389637652,), (1389637655,), (1389637659,), (1389637662,), (1389637665,), (1389637670,), (1389637671,), (1389637672,), (1389638009,), (1389638010,), (1389638011,), (1389638014,), (1389638015,), (1389638017,), (1389638023,), (1389638024,), (1389638065,), (1389638068,), (1389638111,), (1389638112,), (1389638237,), (1389638239,), (1389638259,), (1389638260,), (1389638261,), (1389638263,), (1389638276,), (1389638278,), (1389638279,), (1389638390,), (1389638407,), (1389638506,), (1389638522,), (1389638523,), (1389638853,), (1389638913,), (1389638914,), (1389638915,), (1389638918,), (1389638922,), (1389638925,), (1389638933,), (1389638935,), (1389638936,), (1389638938,), (1389638958,), (1389638960,), (1389638965,), (1389638968,), (1389638971,), (1389638974,), (1389638985,), (1389638986,), (1389638987,), (1389638989,), (1389638992,), (1389638995,), (1389639001,), (1389639006,), (1389639025,), (1389639070,), (1389639136,), (1389639139,), (1389639142,), (1389639145,), (1389639153,), (1389639155,), (1389639156,), (1389639158,), (1389639165,), (1389639168,), (1389639179,), (1389639181,), (1389639183,), (1389639497,), (1389639495,), (1389639536,), (1389639537,), (1389639538,), (1389639556,), (1389639559,), (1389639560,), (1389639562,), (1389639576,), (1389639577,), (1389639597,), (1389639599,), (1389639615,), (1389639617,), (1389641803,), (1389642324,), (1389642325,), (1389642326,), (1389642343,), (1389642353,), (1389642355,), (1389642357,), (1389642360,), (1389642363,), (1389642369,), (1389642371,), (1389642372,), (1389642374,), (1389642379,), (1389642384,), (1389642390,), (1389642397,), (1389642399,), (1389642462,), (1389642464,), (1389642467,), (1389642471,), (1389642474,), (1389642491,), (1389642492,), (1389642493,), (1389642495,), (1389642498,), (1389642507,), (1389642510,), (1389642511,), (1389642513,), (1389642515,), (1389642556,), (1389642559,), (1389642560,), (1389642561,), (1389642563,), (1389642565,), (1389642546,), (1389642547,), (1389642549,), (1389642552,), (1389642554,), (1389642566,), (1389642571,), (1389642583,), (1389642592,), (1389642594,), (1389642617,), (1389642618,), (1389642619,), (1389642621,), (1389642636,), (1389642637,), (1389642638,), (1389642640,), (1389642643,), (1389642660,), (1389642662,), (1389642663,), (1389642665,), (1389642668,), (1389642680,), (1389642682,), (1389642683,), (1389642685,), (1389642692,), (1389642695,), (1389642719,), (1389642720,), (1389642722,), (1389642724,), (1389642727,), (1389642734,), (1389642736,), (1389642737,), (1389642740,), (1389642766,), (1389642767,), (1389642769,), (1389642772,), (1389642775,), (1389642790,), (1389642792,), (1389642794,), (1389642796,), (1389642799,), (1389642823,), (1389642825,), (1389642828,), (1389642832,), (1389642836,), (1389642838,), (1389642841,), (1389642843,), (1389642844,), (1389642845,), (1389642846,), (1389642847,), (1389642849,), (1389642852,), (1389642899,), (1389642900,), (1389642902,), (1389642904,), (1389642907,), (1389642917,), (1389642919,), (1389642920,), (1389642922,), (1389642941,), (1389642943,), (1389642944,), (1389642967,), (1389642985,), (1389642986,), (1389642988,), (1389642990,), (1389643003,), (1389643006,), (1389643010,), (1389643013,), (1389643016,), (1389643056,), (1389643057,), (1389643058,), (1389643073,), (1389643075,), (1389643076,), (1389643078,), (1389643083,), (1389643115,), (1389643116,), (1389643119,), (1389643123,), (1389643126,), (1389643129,), (1389643137,), (1389643139,), (1389643140,), (1389643141,), (1389643155,), (1389643173,), (1389643182,), (1389643186,), (1389643190,), (1389643208,), (1389643209,), (1389643210,), (1389643213,), (1389643217,), (1389643220,), (1389643227,), (1389643229,), (1389643230,), (1389643234,), (1389643294,), (1389643339,), (1389643341,), (1389643356,), (1389643362,), (1389643365,), (1389643386,), (1389643388,), (1389643390,), (1389643393,), (1389643396,), (1389643399,), (1389643459,), (1389643461,), (1389643464,), (1389643468,), (1389643480,), (1389643553,), (1389643564,), (1389643569,), (1389643571,), (1389643574,), (1389643750,), (1389643835,), (1389643836,), (1389643899,), (1389643901,), (1389643905,), (1389643908,), (1389643917,), (1389643920,), (1389643992,), (1389643995,), (1389643998,), (1389643983,), (1389643984,), (1389643986,), (1389643989,), (1389644001,), (1389644003,), (1389644004,), (1389644005,), (1389644009,), (1389644103,), (1389644116,), (1389644117,), (1389644122,), (1389644132,), (1389644264,), (1389644265,), (1389644266,), (1389644294,), (1389644297,), (1389644299,), (1389644358,), (1389644360,), (1389644374,), (1389644377,), (1389644406,), (1389644407,), (1389644409,), (1389644410,), (1389644412,), (1389644414,), (1389644433,), (1389644435,), (1389644446,), (1389644450,), (1389644453,), (1389644471,), (1389644512,), (1389644513,), (1389644515,), (1389644516,), (1389644663,), (1389644711,), (1389644712,), (1389644714,), (1389644717,), (1389644724,), (1389644725,), (1389644727,), (1389644728,), (1389644730,), (1389644732,), (1389644736,), (1389644737,), (1389644738,), (1389644741,), (1389644742,), (1389644744,), (1389644746,), (1389644750,), (1389644769,), (1389644770,), (1389644771,), (1389644772,), (1389644774,), (1389644781,), (1389645018,), (1389645023,), (1389645027,), (1389645036,), (1389645038,), (1389645040,), (1389645060,), (1389645062,), (1389645064,), (1389645958,), (1389645131,), (1389645922,), (1389645939,), (1389645946,), (1389645954,), (1389646257,), (1389646265,), (1389646268,), (1389646291,), (1389646295,), (1389646298,), (1389646301,), (1389646304,), (1389646307,), (1389646327,), (1389646328,), (1389646329,), (1389646330,), (1389647166,), (1389647167,), (1389647168,), (1389647170,), (1389647315,), (1389647395,), (1389647396,), (1389647397,), (1389647399,), (1389647401,), (1389647403,), (1389647415,), (1389647417,), (1389647418,), (1389647421,), (1389647430,), (1389647437,), (1389647438,), (1389647440,), (1389647461,), (1389647463,), (1389647465,), (1389647467,), (1389647470,), (1389647473,), (1389647482,), (1389647483,), (1389647484,), (1389647516,), (1389647518,), (1389647519,), (1389647521,), (1389647524,), (1389647526,), (1389647532,), (1389647533,), (1389647534,), (1389647536,), (1389647578,), (1389647590,), (1389647591,), (1389647593,), (1389647596,), (1389647598,), (1389647622,), (1389647623,), (1389647624,), (1389647626,), (1389647629,), (1389647655,), (1389647667,), (1389647669,), (1389647671,), (1389647673,), (1389647681,), (1389647816,), (1389648339,), (1389648817,), (1389648819,), (1389648821,), (1389649106,), (1389649107,), (1389649108,), (1389649163,), (1389649164,), (1389649243,), (1389649265,), (1389648841,), (1389649097,), (1389649105,), (1389649267,), (1389649268,), (1389649269,), (1389649270,), (1389649275,), (1389649294,), (1389649295,), (1389649296,), (1389649297,), (1389649299,), (1389649323,), (1389649324,), (1389649325,), (1389649338,), (1389649340,), (1389650288,), (1389650454,), (1389650455,), (1389650456,), (1389650486,), (1389650488,), (1389650490,), (1389650683,), (1389650789,), (1389650798,), (1389650876,), (1389650974,), (1389650975,), (1389651032,), (1389651034,), (1389651037,), (1389651997,), (1389651999,), (1389652001,), (1389652003,), (1389652397,), (1389652398,), (1389652399,), (1389652402,), (1389652492,), (1389652527,), (1389652541,), (1389652733,), (1389653238,), (1389653509,), (1389653511,), (1389653513,), (1389653516,), (1389653518,), (1389653519,), (1389653520,), (1389653734,), (1389653778,), (1389653780,), (1389653829,), (1389653852,), (1389653867,), (1389653870,), (1389653872,), (1389653875,), (1389653878,), (1389653889,), (1389653891,), (1389653892,), (1389653893,), (1389653909,), (1389653912,), (1389654080,), (1389654373,), (1389654376,), (1389654545,), (1389654569,), (1389654531,), (1389654537,), (1389654542,), (1389654543,), (1389654544,), (1389654552,), (1389654554,), (1389654556,), (1389654558,), (1389654560,), (1389654562,), (1389654566,), (1389654567,), (1389654570,), (1389654571,), (1389654573,), (1389654579,), (1389654582,), (1389654585,), (1389654597,), (1389654599,), (1389654600,), (1389654601,), (1389654604,), (1389654606,), (1389654614,), (1389654615,), (1389654616,), (1389654627,), (1389654628,), (1389654630,), (1389654632,), (1389654634,), (1389654636,), (1389654643,), (1389654652,), (1389654658,), (1389654669,), (1389654670,), (1389654677,), (1389654683,), (1389654685,), (1389654700,), (1389654703,), (1389654705,), (1389654715,), (1389654716,), (1389654740,), (1389654742,), (1389654755,), (1389654775,), (1389654779,), (1389654792,), (1389654794,), (1389654832,), (1389654852,), (1389654935,), (1389655394,), (1389655545,), (1389655897,), (1389655899,), (1389655900,), (1389656196,), (1389656198,), (1389656200,), (1389656202,), (1389656238,), (1389656239,), (1389656241,), (1389656245,), (1389656246,), (1389656230,), (1389656231,), (1389656234,), (1389656247,), (1389656248,), (1389656249,), (1389656254,), (1389656256,), (1389657387,), (1389657405,), (1389657406,), (1389657585,), (1389657683,), (1389657684,), (1389657685,), (1389657775,), (1389657776,), (1389657777,), (1389657779,), (1389657791,), (1389657792,), (1389657793,), (1389657795,), (1389657797,), (1389657803,), (1389657845,), (1389657889,), (1389657900,), (1389657911,), (1389657916,), (1389657918,), (1389657969,), (1389657970,), (1389657972,), (1389657975,), (1389657977,), (1389657979,), (1389657981,), (1389657989,), (1389657990,), (1389657991,), (1389659046,), (1389659047,), (1389659050,), (1389659052,), (1389659054,), (1389659056,), (1389659285,), (1389659312,), (1389659313,), (1389659350,), (1389659356,), (1389659359,), (1389659367,), (1389659368,), (1389659369,), (1389659371,), (1389659373,), (1389659375,), (1389659378,), (1389659380,), (1389659382,), (1389659658,), (1389660227,), (1389660492,), (1389660504,), (1389660507,), (1389660509,), (1389660607,), (1389660891,), (1389660896,), (1389660899,), (1389660903,), (1389660907,), (1389660909,), (1389661689,), (1389661468,), (1389661470,), (1389661473,), (1389661477,), (1389661764,), (1389661766,), (1389661768,), (1389661771,), (1389661774,), (1389661776,), (1389661780,), (1389661781,), (1389661782,), (1389661827,), (1389661829,), (1389661830,), (1389661832,), (1389661834,), (1389661836,), (1389662659,), (1389662768,), (1389662769,), (1389662770,), (1389663036,), (1389663038,), (1389663039,), (1389663041,), (1389663043,), (1389663045,), (1389663059,), (1389663060,), (1389663061,), (1389664558,), (1389664711,), (1389664754,), (1389664852,), (1389664853,), (1389664855,), (1389664857,), (1389664887,), (1389664888,), (1389664890,), (1389664892,), (1389664895,), (1389664902,), (1389664911,), (1389664913,), (1389664915,), (1389664922,), (1389664924,), (1389664925,), (1389664927,), (1389664929,), (1389664936,), (1389664982,), (1389664985,), (1389664987,), (1389664989,), (1389664992,), (1389664994,), (1389664995,), (1389664979,), (1389664980,), (1389664997,), (1389664998,), (1389664999,), (1389665001,), (1389665007,), (1389665019,), (1389665021,), (1389665022,), (1389665052,), (1389665053,), (1389665054,), (1389665056,), (1389665059,), (1389665066,), (1389665085,), (1389665087,), (1389665089,), (1389665091,), (1389665094,), (1389665096,), (1389665102,), (1389665103,), (1389665104,), (1389665106,), (1389665151,), (1389665153,), (1389665154,), (1389665156,), (1389665164,), (1389665165,), (1389665166,), (1389665186,), (1389665188,), (1389665189,), (1389665190,), (1389665233,), (1389665234,), (1389665235,), (1389665252,), (1389665253,), (1389665254,), (1389665256,), (1389665258,), (1389665261,), (1389665668,), (1389665669,), (1389665672,), (1389665674,), (1389665795,), (1389665797,), (1389665860,), (1389665861,), (1389665862,), (1389665865,), (1389665866,), (1389665868,), (1389665871,), (1389665877,), (1389665878,), (1389665879,), (1389665880,), (1389665882,), (1389665894,), (1389665896,), (1389665897,), (1389665921,), (1389665919,), (1389665920,), (1389665958,), (1389665970,), (1389665972,), (1389665975,), (1389665977,), (1389665979,), (1389666351,), (1389666352,), (1389666353,), (1389666587,), (1389666589,), (1389666591,), (1389666601,), (1389666602,), (1389666603,), (1389666604,), (1389666606,), (1389666609,), (1389666628,), (1389666629,), (1389666630,), (1389666633,), (1389666634,), (1389666636,), (1389666647,), (1389666648,), (1389666649,), (1389666650,), (1389666652,), (1389666653,), (1389666654,), (1389666662,), (1389666664,), (1389666702,), (1389666703,), (1389666704,), (1389666715,), (1389666716,), (1389666717,), (1389666718,), (1389666720,), (1389666722,), (1389666740,), (1389666741,), (1389666743,), (1389666744,), (1389666747,), (1389667255,), (1389667620,), (1389667621,), (1389667623,), (1389667631,), (1389667639,), (1389667644,), (1389667645,), (1389668094,), (1389668095,), (1389668096,), (1389668097,), (1389668984,), (1389668986,), (1389668988,), (1389668991,), (1389669153,), (1389669224,), (1389669226,), (1389669227,), (1389669229,), (1389669231,), (1389669282,), (1389669284,), (1389669286,), (1389669289,), (1389669290,), (1389669291,), (1389669275,), (1389669276,), (1389669277,), (1389669293,), (1389669295,), (1389669298,), (1389669304,), (1389669306,), (1389669312,), (1389669314,), (1389669316,), (1389669318,), (1389669358,), (1389669359,), (1389669360,), (1389669370,), (1389669372,), (1389669373,), (1389669376,), (1389669378,), (1389669380,), (1389670392,), (1389670394,), (1389670395,), (1389670397,), (1389670403,), (1389670409,), (1389671311,), (1389671482,), (1389671540,), (1389671566,), (1389671689,), (1389671690,), (1389671691,), (1389671693,), (1389671696,), (1389671698,), (1389671733,), (1389671735,), (1389671736,), (1389671739,), (1389671742,), (1389671744,), (1389671763,), (1389671764,), (1389672063,), (1389672396,), (1389672398,), (1389672399,), (1389672401,), (1389672404,), (1389672722,), (1389672724,), (1389672725,), (1389672727,), (1389672729,), (1389672731,), (1389672732,), (1389672733,), (1389672734,), (1389672735,), (1389672736,), (1389672743,), (1389672749,), (1389672805,), (1389672807,), (1389672808,), (1389673389,), (1389673392,), (1389673762,), (1389674261,), (1389674277,), (1389674279,), (1389674285,), (1389674304,), (1389674308,), (1389674486,), (1389674492,), (1389674574,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15102025': {'nb_upload': 34, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27841184]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] map_info['map_portfolio_photo'] : {27841184: [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269]} final : True mtd_id 4302 list_pids : [1389637392, 1389637391, 1389637390, 1389637386, 1389637383, 1389637380, 1389637329, 1389637326, 1389637321, 1389637317, 1389637314, 1389637301, 1389637299, 1389637297, 1389637296, 1389637268, 1389637265, 1389637264, 1389637262, 1389637023, 1389636999, 1389636995, 1389636992, 1389636991, 1389636989, 1389636860, 1389636858, 1389636539, 1389636443, 1389636440, 1389636438, 1389636389, 1389636272, 1389636269] Looping around the photos to save general results len do output : 1 /27841184Didn'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, '3950308') ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308') ('4302', None, None, None, None, None, None, None, '3950308') ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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, '27841184', 'None', None, None, None, None, '3950308'), ('4302', '27841184', '1389637392', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637391', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637390', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637386', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637383', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637380', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637329', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637326', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637321', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637317', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637314', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637301', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637299', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637297', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637296', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637268', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637265', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637264', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637262', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389637023', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636999', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636995', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636992', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636991', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636989', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636860', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636858', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636539', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636443', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636440', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636438', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636389', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636272', None, None, None, None, None, '3950308'), ('4302', '27841184', '1389636269', None, None, None, None, None, '3950308')] time used for this insertion : 0.04263448715209961 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.188233137130737 time spend to save output : 0.04306960105895996 total time spend for step 5 : 10.231302738189697 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 (3950308) 3.31user 2.08system 0:28.83elapsed 18%CPU (0avgtext+0avgdata 163332maxresident)k 280inputs+25456outputs (0major+83341minor)pagefaults 0swaps