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 : 688306 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 (2786980) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2786980) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597376 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2786980'] with mtr_portfolio_ids : ['22597376'] and first list_photo_ids : [] new path : /proc/688306/ Name: python3 Umask: 0002 State: R (running) Tgid: 688306 Ngid: 0 Pid: 688306 PPid: 688304 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 688306 NSpid: 688306 NSpgid: 687203 NSsid: 687203 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98784 kB VmRSS: 98784 kB RssAnon: 60228 kB RssFile: 38556 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 45 nonvoluntary_ctxt_switches: 340 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '688306', 'Ngid': '0', 'Pid': '688306', 'PPid': '688304', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '688306', 'NSpid': '688306', 'NSpgid': '687203', 'NSsid': '687203', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98784 kB', 'VmRSS': '98784 kB', 'RssAnon': '60228 kB', 'RssFile': '38556 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '45', 'nonvoluntary_ctxt_switches': '340'} ('datou_batch_current', '688306', '1107228', '0', '1107228', '865976', '98784', b'', 'marlene', '2786980') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22597376) 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 (2786980 ) ) 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 (22597376) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1355250091, 'portfolio_id': 22597376}, {'photo_id': 1355249647, 'portfolio_id': 22597376}, {'photo_id': 1355249595, 'portfolio_id': 22597376}, {'photo_id': 1355249443, 'portfolio_id': 22597376}, {'photo_id': 1355249411, 'portfolio_id': 22597376}, {'photo_id': 1355249381, 'portfolio_id': 22597376}, {'photo_id': 1355249345, 'portfolio_id': 22597376}, {'photo_id': 1355248564, 'portfolio_id': 22597376}, {'photo_id': 1355248561, 'portfolio_id': 22597376}, {'photo_id': 1355248557, 'portfolio_id': 22597376}, {'photo_id': 1355248554, 'portfolio_id': 22597376}, {'photo_id': 1355248551, 'portfolio_id': 22597376}, {'photo_id': 1355248204, 'portfolio_id': 22597376}, {'photo_id': 1355248196, 'portfolio_id': 22597376}, {'photo_id': 1355248159, 'portfolio_id': 22597376}, {'photo_id': 1355248155, 'portfolio_id': 22597376}, {'photo_id': 1355248152, 'portfolio_id': 22597376}, {'photo_id': 1355248149, 'portfolio_id': 22597376}, {'photo_id': 1355248107, 'portfolio_id': 22597376}, {'photo_id': 1355248105, 'portfolio_id': 22597376}, {'photo_id': 1355248044, 'portfolio_id': 22597376}, {'photo_id': 1355248036, 'portfolio_id': 22597376}, {'photo_id': 1355248035, 'portfolio_id': 22597376}, {'photo_id': 1355247822, 'portfolio_id': 22597376}, {'photo_id': 1355247783, 'portfolio_id': 22597376}, {'photo_id': 1355247780, 'portfolio_id': 22597376}, {'photo_id': 1355247778, 'portfolio_id': 22597376}, {'photo_id': 1355247739, 'portfolio_id': 22597376}, {'photo_id': 1355247735, 'portfolio_id': 22597376}, {'photo_id': 1355247732, 'portfolio_id': 22597376}, {'photo_id': 1355247690, 'portfolio_id': 22597376}, {'photo_id': 1355247687, 'portfolio_id': 22597376}, {'photo_id': 1355247684, 'portfolio_id': 22597376}, {'photo_id': 1355247586, 'portfolio_id': 22597376}, {'photo_id': 1355247560, 'portfolio_id': 22597376}, {'photo_id': 1355246791, 'portfolio_id': 22597376}, {'photo_id': 1355246735, 'portfolio_id': 22597376}, {'photo_id': 1355246733, 'portfolio_id': 22597376}, {'photo_id': 1355246678, 'portfolio_id': 22597376}] map_portfolio_id_photo_id: {22597376: [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678]} ##### 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.020092010498046875 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat May 3 05:40:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22597376) 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 : 22597376 get user id for portfolio 22597376 get sub ptf for main ptf 22597376, type 3726 and hashtags ['metal', 'environnement', 'plastique', 'cartonnette', 'autre_refus', 'papier', 'flou', 'kraft', 'Carton_gris', 'Teint_Dans_La_Masse', 'mal_croppe', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22597376 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','plastique','cartonnette','autre_refus','papier','flou','kraft','Carton_gris','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) 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`=22597376 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','plastique','cartonnette','autre_refus','papier','flou','kraft','Carton_gris','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22597376, 'sub_port_id': 22597377, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027210, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'autre_refus': {'main_port_id': 22597376, 'sub_port_id': 22597378, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027211, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'flou': {'main_port_id': 22597376, 'sub_port_id': 22597379, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027212, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'environnement': {'main_port_id': 22597376, 'sub_port_id': 22597380, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027213, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'papier': {'main_port_id': 22597376, 'sub_port_id': 22597381, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027214, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'plastique': {'main_port_id': 22597376, 'sub_port_id': 22597382, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027215, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'Carton_gris': {'main_port_id': 22597376, 'sub_port_id': 22597383, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027216, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'Carton_brun': {'main_port_id': 22597376, 'sub_port_id': 22597384, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027217, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 22597376, 'sub_port_id': 22597385, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027218, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'kraft': {'main_port_id': 22597376, 'sub_port_id': 22597386, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027219, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'metal': {'main_port_id': 22597376, 'sub_port_id': 22597387, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027220, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}, 'mal_croppe': {'main_port_id': 22597376, 'sub_port_id': 22597388, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027221, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22597377 , 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=22597376 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 (22597377) result : ((1355247705,), (1355247751,), (1355247797,), (1355248083,), (1355248084,), (1355248136,), (1355250301,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597378 , 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=22597376 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 (22597378) result : ((1355250313,), (1355250758,), (1355254750,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597379 , 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=22597376 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 (22597379) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597380 , 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=22597376 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 (22597380) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597381 , 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=22597376 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 (22597381) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597382 , 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=22597376 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 (22597382) result : ((1355248085,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597383 , 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=22597376 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 (22597383) result : ((1355248135,), (1355248180,), (1355248366,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597384 , 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=22597376 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 (22597384) result : ((1355247804,), (1355248182,), (1355248372,), (1355250307,), (1355250308,), (1355250318,), (1355254751,), (1355254752,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597385 , 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=22597376 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 (22597385) result : ((1355247794,), (1355248079,), (1355248080,), (1355248129,), (1355248130,), (1355248131,), (1355248132,), (1355248134,), (1355248177,), (1355248178,), (1355250384,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597386 , 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=22597376 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 (22597386) result : ((1355250393,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597387 , 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=22597376 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 (22597387) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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 22597388 , 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=22597376 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 (22597388) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22597376) result : ((1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,)) 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`=22597376 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','plastique','cartonnette','autre_refus','papier','flou','kraft','Carton_gris','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) 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`=22597376 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','plastique','cartonnette','autre_refus','papier','flou','kraft','Carton_gris','Teint_Dans_La_Masse','mal_croppe','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22597376, 'sub_port_id': 22597389, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027222, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'autre_refus': {'main_port_id': 22597376, 'sub_port_id': 22597390, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027223, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'flou': {'main_port_id': 22597376, 'sub_port_id': 22597391, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027224, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'environnement': {'main_port_id': 22597376, 'sub_port_id': 22597392, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027225, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'papier': {'main_port_id': 22597376, 'sub_port_id': 22597393, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027226, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'plastique': {'main_port_id': 22597376, 'sub_port_id': 22597394, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027227, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'Carton_gris': {'main_port_id': 22597376, 'sub_port_id': 22597395, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027228, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'Carton_brun': {'main_port_id': 22597376, 'sub_port_id': 22597396, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027229, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22597376, 'sub_port_id': 22597397, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027230, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'kraft': {'main_port_id': 22597376, 'sub_port_id': 22597398, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027231, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'metal': {'main_port_id': 22597376, 'sub_port_id': 22597399, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027232, 'last_updated_at': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 9, 48, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}, 'mal_croppe': {'main_port_id': 22597376, 'sub_port_id': 22597400, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15027233, 'last_updated_at': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 2, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 2, 9, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597389,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597377 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597378 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597391,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597379 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597392,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597380 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597393,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597381 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597394,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597382 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597395,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597383 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597396,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597384 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597397,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597385 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597398,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597386 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597399,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597387 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22597400,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22597388 lien utilise dans velours : https://www.fotonower.com/velours/22597389,22597390,22597391,22597392,22597393,22597394,22597395,22597396,22597397,22597398,22597399,22597400?tags=cartonnette,autre_refus,flou,environnement,papier,plastique,Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,metal,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22597376]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] map_info['map_portfolio_photo'] : {22597376: [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678]} final : False mtd_id 4302 list_pids : [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] Looping around the photos to save general results len do output : 1 /22597376. 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, '2786980') ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22597376', "{'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388}", None, None, None, None, '2786980'), ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980')] time used for this insertion : 0.02194809913635254 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4220402240753174 time spend to save output : 0.02260613441467285 total time spend for step 1 : 1.4446463584899902 step2:final Sat May 3 05:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22597376) 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 22597376 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1355246678,1355246735,1355246733,1355246791,1355247586,1355247560,1355247690,1355247687,1355247684,1355247739,1355247735,1355247732,1355247783,1355247780,1355247778,1355248044,1355248036,1355248035,1355247822,1355248107,1355248105,1355248159,1355248155,1355248152,1355248149,1355248204,1355248196,1355248564,1355248561,1355248557,1355248554,1355248551,1355249443,1355249411,1355249381,1355249345,1355249647,1355249595,1355250091); 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([22597376]) Inside saveOutput : final : False verbose : True original output for save of step final : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} new output for save of step final : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] map_info['map_portfolio_photo'] : {22597376: [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678]} final : False mtd_id 4302 list_pids : [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] Looping around the photos to save general results len do output : 39 /1355250091.Didn't retrieve data . /1355249647.Didn't retrieve data . /1355249595.Didn't retrieve data . /1355249443.Didn't retrieve data . /1355249411.Didn't retrieve data . /1355249381.Didn't retrieve data . /1355249345.Didn't retrieve data . /1355248564.Didn't retrieve data . /1355248561.Didn't retrieve data . /1355248557.Didn't retrieve data . /1355248554.Didn't retrieve data . /1355248551.Didn't retrieve data . /1355248204.Didn't retrieve data . /1355248196.Didn't retrieve data . /1355248159.Didn't retrieve data . /1355248155.Didn't retrieve data . /1355248152.Didn't retrieve data . /1355248149.Didn't retrieve data . /1355248107.Didn't retrieve data . /1355248105.Didn't retrieve data . /1355248044.Didn't retrieve data . /1355248036.Didn't retrieve data . /1355248035.Didn't retrieve data . /1355247822.Didn't retrieve data . /1355247783.Didn't retrieve data . /1355247780.Didn't retrieve data . /1355247778.Didn't retrieve data . /1355247739.Didn't retrieve data . /1355247735.Didn't retrieve data . /1355247732.Didn't retrieve data . /1355247690.Didn't retrieve data . /1355247687.Didn't retrieve data . /1355247684.Didn't retrieve data . /1355247586.Didn't retrieve data . /1355247560.Didn't retrieve data . /1355246791.Didn't retrieve data . /1355246735.Didn't retrieve data . /1355246733.Didn't retrieve data . /1355246678.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, '2786980') ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22597376', '1355250091', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249647', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249595', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249443', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249411', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249381', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355249345', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248564', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248561', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248557', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248554', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248551', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248204', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248196', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248159', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248155', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248152', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248149', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248107', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248105', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248044', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248036', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355248035', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247822', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247783', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247780', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247778', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247739', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247735', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247732', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247690', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247687', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247684', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247586', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355247560', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355246791', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355246735', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355246733', '0.04540340085618681', None, None, None, None, '2786980'), ('4302', '22597376', '1355246678', '0.04540340085618681', None, None, None, None, '2786980')] time used for this insertion : 0.018489360809326172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06662416458129883 time spend to save output : 0.020255565643310547 total time spend for step 2 : 0.08687973022460938 step3:velours_tree Sat May 3 05:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22597376: [{'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388}]} input_args_next_step : {22597376: ()} output_args : {22597376: [{'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388}]} args : 22597376 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22597376) 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([22597376]) 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.3327348232269287 time spend to save output : 5.793571472167969e-05 total time spend for step 3 : 0.3327927589416504 step4:send_mail_cod Sat May 3 05:40:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} input_args_next_step : {1355250091: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355250091 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249647 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249595 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249443 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249411 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249381 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355249345 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248564 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248561 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248557 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248554 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248551 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248204 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248196 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248159 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248155 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248152 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248149 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248107 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248105 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248044 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248036 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355248035 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247822 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247783 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247780 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247778 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247739 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247735 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247732 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247690 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247687 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247684 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247586 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355247560 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355246791 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355246735 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355246733 depend.output_id : 0 input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ()} output_args : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',)} args : 1355246678 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 : {22597376: [{'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388}]} input_args_next_step : {1355250091: ('0.04540340085618681',), 1355249647: ('0.04540340085618681',), 1355249595: ('0.04540340085618681',), 1355249443: ('0.04540340085618681',), 1355249411: ('0.04540340085618681',), 1355249381: ('0.04540340085618681',), 1355249345: ('0.04540340085618681',), 1355248564: ('0.04540340085618681',), 1355248561: ('0.04540340085618681',), 1355248557: ('0.04540340085618681',), 1355248554: ('0.04540340085618681',), 1355248551: ('0.04540340085618681',), 1355248204: ('0.04540340085618681',), 1355248196: ('0.04540340085618681',), 1355248159: ('0.04540340085618681',), 1355248155: ('0.04540340085618681',), 1355248152: ('0.04540340085618681',), 1355248149: ('0.04540340085618681',), 1355248107: ('0.04540340085618681',), 1355248105: ('0.04540340085618681',), 1355248044: ('0.04540340085618681',), 1355248036: ('0.04540340085618681',), 1355248035: ('0.04540340085618681',), 1355247822: ('0.04540340085618681',), 1355247783: ('0.04540340085618681',), 1355247780: ('0.04540340085618681',), 1355247778: ('0.04540340085618681',), 1355247739: ('0.04540340085618681',), 1355247735: ('0.04540340085618681',), 1355247732: ('0.04540340085618681',), 1355247690: ('0.04540340085618681',), 1355247687: ('0.04540340085618681',), 1355247684: ('0.04540340085618681',), 1355247586: ('0.04540340085618681',), 1355247560: ('0.04540340085618681',), 1355246791: ('0.04540340085618681',), 1355246735: ('0.04540340085618681',), 1355246733: ('0.04540340085618681',), 1355246678: ('0.04540340085618681',), 22597376: ()} output_args : {22597376: [{'cartonnette': 22597377, 'autre_refus': 22597378, 'flou': 22597379, 'environnement': 22597380, 'papier': 22597381, 'plastique': 22597382, 'Carton_gris': 22597383, 'Carton_brun': 22597384, 'Teint_Dans_La_Masse': 22597385, 'kraft': 22597386, 'metal': 22597387, 'mal_croppe': 22597388}]} args : 22597376 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :40, first value : ('0.04540340085618681',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22597376) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1355250091,1355249647,1355249595,1355249443,1355249411,1355249381,1355249345,1355248564,1355248561,1355248557,1355248554,1355248551,1355248204,1355248196,1355248159,1355248155,1355248152,1355248149,1355248107,1355248105,1355248044,1355248036,1355248035,1355247822,1355247783,1355247780,1355247778,1355247739,1355247735,1355247732,1355247690,1355247687,1355247684,1355247586,1355247560,1355246791,1355246735,1355246733,1355246678) Found this number of photos: 39 ##### Call download_photos : nb_thread : 5 begin to download photo : 1355246678 begin to download photo : 1355247690 begin to download photo : 1355248035 begin to download photo : 1355248159 begin to download photo : 1355249345 download finish for photo 1355246678 begin to download photo : 1355246733 download finish for photo 1355249345 begin to download photo : 1355249381 download finish for photo 1355248159 begin to download photo : 1355248196 download finish for photo 1355247690 begin to download photo : 1355247732 download finish for photo 1355246733 begin to download photo : 1355246735 download finish for photo 1355248196 begin to download photo : 1355248204 download finish for photo 1355249381 begin to download photo : 1355249411 download finish for photo 1355247732 begin to download photo : 1355247735 download finish for photo 1355246735 begin to download photo : 1355246791 download finish for photo 1355247735 begin to download photo : 1355247739 download finish for photo 1355249411 begin to download photo : 1355249443 download finish for photo 1355248204 begin to download photo : 1355248551 download finish for photo 1355246791 begin to download photo : 1355247560 download finish for photo 1355249443 begin to download photo : 1355249595 download finish for photo 1355247739 begin to download photo : 1355247778 download finish for photo 1355248551 begin to download photo : 1355248554 download finish for photo 1355247560 begin to download photo : 1355247586 download finish for photo 1355248554 begin to download photo : 1355248557 download finish for photo 1355249595 begin to download photo : 1355249647 download finish for photo 1355247778 begin to download photo : 1355247780 download finish for photo 1355247586 begin to download photo : 1355247684 download finish for photo 1355249647 begin to download photo : 1355250091 download finish for photo 1355248557 begin to download photo : 1355248561 download finish for photo 1355247780 begin to download photo : 1355247783 download finish for photo 1355247684 begin to download photo : 1355247687 download finish for photo 1355250091 download finish for photo 1355248561 begin to download photo : 1355248564 download finish for photo 1355247783 begin to download photo : 1355247822 download finish for photo 1355247687 download finish for photo 1355248564 download finish for photo 1355248035 begin to download photo : 1355248036 download finish for photo 1355247822 download finish for photo 1355248036 begin to download photo : 1355248044 download finish for photo 1355248044 begin to download photo : 1355248105 download finish for photo 1355248105 begin to download photo : 1355248107 download finish for photo 1355248107 begin to download photo : 1355248149 download finish for photo 1355248149 begin to download photo : 1355248152 download finish for photo 1355248152 begin to download photo : 1355248155 download finish for photo 1355248155 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 39 ; length of list_pids : 39 ; length of list_args : 39 results_Auto_P22597376_03-05-2025_05_40_33.pdf 22597377 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597377 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355247705: '1746172271_2465738_1355246733_f550519d2687fc6bc5c87cec2c68f1f6_rle_crop_3779445548_0.png', 1355247751: '1746172333_2466341_1355246735_a443ba72f6baacc27edb068268933f52_rle_crop_3779445805_0.png', 1355247797: '1746172392_2466845_1355247735_33ab27b4375a544b0810d2fe6f3c94f0_rle_crop_3779445916_0.png', 1355248083: '1746172452_2467406_1355247687_94c3ae3831896e01ac4e2b8dce0a8fd1_rle_crop_3779446052_0.png', 1355248084: '1746172452_2467406_1355247684_bacb9c496034b9da9788f3b179565a18_rle_crop_3779446068_0.png', 1355248136: '1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447424_0.png', 1355250301: '1746172872_2479243_1355248196_5fd8c7ebaec24d332724b05903b18ce6_rle_crop_3779464907_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41f028c62ef4b3eab17391d4addee646_62466475.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49c7e6996123379e7db8ba8b27b694c4_10157199.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d8fa214fa8b0db651518f99272bfc2f_15199993.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a037db1e64a9e16e4fd55e8286ee8778_81047447.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4715cbc005efc8bf5c7b2cc7e42cc8d9_91664671.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84d14255fc62d95570d82fbedb72ab5f_49011615.png change filename to text .imagette225973771746243633/ imagette225973771746243633/1746172271_2465738_1355246733_f550519d2687fc6bc5c87cec2c68f1f6_rle_crop_3779445548_0.png.png imagette225973771746243633/1746172333_2466341_1355246735_a443ba72f6baacc27edb068268933f52_rle_crop_3779445805_0.png.png imagette225973771746243633/1746172392_2466845_1355247735_33ab27b4375a544b0810d2fe6f3c94f0_rle_crop_3779445916_0.png.png imagette225973771746243633/1746172452_2467406_1355247687_94c3ae3831896e01ac4e2b8dce0a8fd1_rle_crop_3779446052_0.png.png imagette225973771746243633/1746172872_2479243_1355248196_5fd8c7ebaec24d332724b05903b18ce6_rle_crop_3779464907_0.png.png imagette225973771746243633/1746172452_2467406_1355247684_bacb9c496034b9da9788f3b179565a18_rle_crop_3779446068_0.png.png imagette225973771746243633/1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447424_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c557fd946070a65b136c9df9bb2edad4_50410781.png imagette225973771746243633 22597378 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597378 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355250313: '1746172860_2479051_1355249411_467e72bd7cd9b128367f013c4431cd7f_rle_crop_3779464863_0.png', 1355250758: '1746172992_2480822_1355249595_3a5a4436df0928e4a6a11a1aa6f687d8_rle_crop_3779466043_0.png', 1355254750: '1746176171_2513836_1355249411_467e72bd7cd9b128367f013c4431cd7f_rle_crop_3779464863_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/312af63f0c282528b2a56ed04698d7db_60195470.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1299e45bfc0b80fecce21a3a3489189_80170378.png change filename to text .imagette225973781746243634/ imagette225973781746243634/1746172992_2480822_1355249595_3a5a4436df0928e4a6a11a1aa6f687d8_rle_crop_3779466043_0.png.png imagette225973781746243634/1746172860_2479051_1355249411_467e72bd7cd9b128367f013c4431cd7f_rle_crop_3779464863_0.png.png imagette225973781746243634/1746176171_2513836_1355249411_467e72bd7cd9b128367f013c4431cd7f_rle_crop_3779464863_0.png.png imagette225973791746243634/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/312af63f0c282528b2a56ed04698d7db_34307540.png imagette225973781746243634 22597379 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597379 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225973791746243634 22597382 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597382 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355248085: '1746172452_2467406_1355247739_fff7be12c2414cc224d0b9660badc6e8_rle_crop_3779446040_0.png'} change filename to text .imagette225973821746243634/ imagette225973821746243634/1746172452_2467406_1355247739_fff7be12c2414cc224d0b9660badc6e8_rle_crop_3779446040_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c1ded7abe34d309a7c25b435169b2ff_40033434.png imagette225973821746243634 22597386 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597386 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355250393: '1746172886_1320731_1355248554_f544834b930f08db7fc4d650fb7e68a8_rle_crop_3779465184_0.png'} change filename to text .imagette225973861746243634/ imagette225973861746243634/1746172886_1320731_1355248554_f544834b930f08db7fc4d650fb7e68a8_rle_crop_3779465184_0.png.png imagette225973871746243637/ imagette225973881746243637/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe6258a56fe23149f1e20c8340188ade_15825461.png imagette225973861746243634 22597387 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597387 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225973871746243637 22597388 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597388 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette225973881746243637 22597383 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597383 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355248135: '1746172512_2468074_1355247822_b5733d65044b279efcaca82425ce38e3_rle_crop_3779447456_0.png', 1355248180: '1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461224_0.png', 1355248366: '1746172630_2469262_1355248159_a6707b88429aae6e2a306d2af8ecda99_rle_crop_3779464281_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1306a57613b30beacde38be799d474e1_58306674.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/332d93543e638eb6265d18d0675eeee8_89860851.png change filename to text .imagette225973831746243637/ imagette225973831746243637/1746172630_2469262_1355248159_a6707b88429aae6e2a306d2af8ecda99_rle_crop_3779464281_0.png.png imagette225973831746243637/1746172512_2468074_1355247822_b5733d65044b279efcaca82425ce38e3_rle_crop_3779447456_0.png.png imagette225973831746243637/1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461224_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f624187981a2acba2f08b1aa399e340d_82233737.png imagette225973831746243637 22597384 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597384 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355247804: '1746172406_298067_1355247560_c0e9c56901b0febd19ab4f4855245e50_rle_crop_3779445958_0.png', 1355248182: '1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461218_0.png', 1355248372: '1746172630_2469262_1355248105_48d029049da5f4d7f6e9f831cb808628_rle_crop_3779464292_0.png', 1355250307: '1746172872_2479243_1355248564_577950c9b8478f456d29de685d9fa5b0_rle_crop_3779464880_0.png', 1355250308: '1746172872_2479243_1355248196_5fd8c7ebaec24d332724b05903b18ce6_rle_crop_3779464910_0.png', 1355250318: '1746172860_2479051_1355249345_088724bc06812aebb67b69b2cfcdec40_rle_crop_3779464920_0.png', 1355254751: '1746176171_2513836_1355249647_24ec63d114860b1f7175052cae5253d9_rle_crop_3779497827_0.png', 1355254752: '1746176171_2513836_1355249345_088724bc06812aebb67b69b2cfcdec40_rle_crop_3779464920_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7dc3ff6b1312adf5dffb9af2a962eca_90386833.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c1643a7cf96d7873dfa194834a5df1d_22733125.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/639e31263525ae65c2d63b044ee98d87_80552758.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14ceac710d0a7e7e1690c0a677e4e0f1_86350697.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0da45524a8159f18ff8411193755ed7_66966099.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44c7b569acdeeebad6330bba961db201_9329969.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba25b7e544aafcc7658ff6cab70037b8_37136933.png change filename to text .imagette225973841746243638/ imagette225973841746243638/1746172860_2479051_1355249345_088724bc06812aebb67b69b2cfcdec40_rle_crop_3779464920_0.png.png imagette225973841746243638/1746172630_2469262_1355248105_48d029049da5f4d7f6e9f831cb808628_rle_crop_3779464292_0.png.png imagette225973841746243638/1746172872_2479243_1355248564_577950c9b8478f456d29de685d9fa5b0_rle_crop_3779464880_0.png.png imagette225973841746243638/1746172872_2479243_1355248196_5fd8c7ebaec24d332724b05903b18ce6_rle_crop_3779464910_0.png.png imagette225973841746243638/1746172406_298067_1355247560_c0e9c56901b0febd19ab4f4855245e50_rle_crop_3779445958_0.png.png imagette225973841746243638/1746176171_2513836_1355249345_088724bc06812aebb67b69b2cfcdec40_rle_crop_3779464920_0.png.png imagette225973841746243638/1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461218_0.png.png imagette225973841746243638/1746176171_2513836_1355249647_24ec63d114860b1f7175052cae5253d9_rle_crop_3779497827_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44c7b569acdeeebad6330bba961db201_53730285.png imagette225973841746243638 22597385 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597385 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1355247794: '1746172392_2466845_1355247732_877ef2f98b45d268bf753da61605528f_rle_crop_3779445935_0.png', 1355248079: '1746172452_2467406_1355247739_fff7be12c2414cc224d0b9660badc6e8_rle_crop_3779446041_0.png', 1355248080: '1746172452_2467406_1355247684_bacb9c496034b9da9788f3b179565a18_rle_crop_3779446071_0.png', 1355248129: '1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447430_0.png', 1355248130: '1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447429_0.png', 1355248131: '1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447433_0.png', 1355248132: '1746172512_2468074_1355248035_4c7d275a1f094287abc1f1dade56719f_rle_crop_3779447442_0.png', 1355248134: '1746172512_2468074_1355248035_4c7d275a1f094287abc1f1dade56719f_rle_crop_3779447445_0.png', 1355248177: '1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461225_0.png', 1355248178: '1746172572_2468577_1355247778_33ec93276e074ade0da4c558f8a03ea8_rle_crop_3779461249_0.png', 1355250384: '1746172886_1320731_1355248557_e9fa621459a88d7a235ec4776e88bab6_rle_crop_3779465170_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ccdebcc5e190aa18e988efe2add8d49_49770185.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71dc370bcc60833ae904287e7d502b3d_13579589.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b56922e3f7622115c548a4c78abb5e50_34317356.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b7a45f8e0a50ae636eae328cd17a1dd_66062181.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73d9ddb627ee88c8bfbf420ed9013150_82845459.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87fe322af4c682bf3374f2d5cf8d53f8_30532785.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c194a80fbd4ee993ed855225c288298_33439740.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4c921c32053a77487b1d941a302f3f5_78171865.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/035d96c994c3c7a3591d3a1e207f283d_87747167.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44595f9b6dfb79eb212ad856e6f01bd1_75909783.png change filename to text .imagette225973851746243638/ imagette225973851746243638/1746172452_2467406_1355247684_bacb9c496034b9da9788f3b179565a18_rle_crop_3779446071_0.png.png imagette225973851746243638/1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447430_0.png.png imagette225973851746243638/1746172886_1320731_1355248557_e9fa621459a88d7a235ec4776e88bab6_rle_crop_3779465170_0.png.png imagette225973851746243638/1746172392_2466845_1355247732_877ef2f98b45d268bf753da61605528f_rle_crop_3779445935_0.png.png imagette225973851746243638/1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447433_0.png.png imagette225973851746243638/1746172572_2468577_1355247778_33ec93276e074ade0da4c558f8a03ea8_rle_crop_3779461249_0.png.png imagette225973851746243638/1746172572_2468577_1355248044_befd0ef9493a74c5cb2bcbed12d48057_rle_crop_3779461225_0.png.png imagette225973851746243638/1746172512_2468074_1355248035_4c7d275a1f094287abc1f1dade56719f_rle_crop_3779447445_0.png.png imagette225973851746243638/1746172512_2468074_1355248036_8e4a3a55cc612c0011f89a8f903a94bf_rle_crop_3779447429_0.png.png imagette225973851746243638/1746172452_2467406_1355247739_fff7be12c2414cc224d0b9660badc6e8_rle_crop_3779446041_0.png.png imagette225973851746243638/1746172512_2468074_1355248035_4c7d275a1f094287abc1f1dade56719f_rle_crop_3779447442_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9317eaa5495bd6dfafc709fa14930ab8_27554520.png imagette225973851746243638 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22597376 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22597389,22597390,22597391,22597392,22597393,22597394,22597395,22597396,22597397,22597398,22597399,22597400?tags=cartonnette,autre_refus,flou,environnement,papier,plastique,Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,metal,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1355250091] : ('0.04540340085618681',) no score found for photo 1355250091 We are sending mail with results at report@fotonower.com args[1355249647] : ('0.04540340085618681',) no score found for photo 1355249647 We are sending mail with results at report@fotonower.com args[1355249595] : ('0.04540340085618681',) no score found for photo 1355249595 We are sending mail with results at report@fotonower.com args[1355249443] : ('0.04540340085618681',) no score found for photo 1355249443 We are sending mail with results at report@fotonower.com args[1355249411] : ('0.04540340085618681',) no score found for photo 1355249411 We are sending mail with results at report@fotonower.com args[1355249381] : ('0.04540340085618681',) no score found for photo 1355249381 We are sending mail with results at report@fotonower.com args[1355249345] : ('0.04540340085618681',) no score found for photo 1355249345 We are sending mail with results at report@fotonower.com args[1355248564] : ('0.04540340085618681',) no score found for photo 1355248564 We are sending mail with results at report@fotonower.com args[1355248561] : ('0.04540340085618681',) no score found for photo 1355248561 We are sending mail with results at report@fotonower.com args[1355248557] : ('0.04540340085618681',) no score found for photo 1355248557 We are sending mail with results at report@fotonower.com args[1355248554] : ('0.04540340085618681',) no score found for photo 1355248554 We are sending mail with results at report@fotonower.com args[1355248551] : ('0.04540340085618681',) no score found for photo 1355248551 We are sending mail with results at report@fotonower.com args[1355248204] : ('0.04540340085618681',) no score found for photo 1355248204 We are sending mail with results at report@fotonower.com args[1355248196] : ('0.04540340085618681',) no score found for photo 1355248196 We are sending mail with results at report@fotonower.com args[1355248159] : ('0.04540340085618681',) no score found for photo 1355248159 We are sending mail with results at report@fotonower.com args[1355248155] : ('0.04540340085618681',) no score found for photo 1355248155 We are sending mail with results at report@fotonower.com args[1355248152] : ('0.04540340085618681',) no score found for photo 1355248152 We are sending mail with results at report@fotonower.com args[1355248149] : ('0.04540340085618681',) no score found for photo 1355248149 We are sending mail with results at report@fotonower.com args[1355248107] : ('0.04540340085618681',) no score found for photo 1355248107 We are sending mail with results at report@fotonower.com args[1355248105] : ('0.04540340085618681',) no score found for photo 1355248105 We are sending mail with results at report@fotonower.com args[1355248044] : ('0.04540340085618681',) no score found for photo 1355248044 We are sending mail with results at report@fotonower.com args[1355248036] : ('0.04540340085618681',) no score found for photo 1355248036 We are sending mail with results at report@fotonower.com args[1355248035] : ('0.04540340085618681',) no score found for photo 1355248035 We are sending mail with results at report@fotonower.com args[1355247822] : ('0.04540340085618681',) no score found for photo 1355247822 We are sending mail with results at report@fotonower.com args[1355247783] : ('0.04540340085618681',) no score found for photo 1355247783 We are sending mail with results at report@fotonower.com args[1355247780] : ('0.04540340085618681',) no score found for photo 1355247780 We are sending mail with results at report@fotonower.com args[1355247778] : ('0.04540340085618681',) no score found for photo 1355247778 We are sending mail with results at report@fotonower.com args[1355247739] : ('0.04540340085618681',) no score found for photo 1355247739 We are sending mail with results at report@fotonower.com args[1355247735] : ('0.04540340085618681',) no score found for photo 1355247735 We are sending mail with results at report@fotonower.com args[1355247732] : ('0.04540340085618681',) no score found for photo 1355247732 We are sending mail with results at report@fotonower.com args[1355247690] : ('0.04540340085618681',) no score found for photo 1355247690 We are sending mail with results at report@fotonower.com args[1355247687] : ('0.04540340085618681',) no score found for photo 1355247687 We are sending mail with results at report@fotonower.com args[1355247684] : ('0.04540340085618681',) no score found for photo 1355247684 We are sending mail with results at report@fotonower.com args[1355247586] : ('0.04540340085618681',) no score found for photo 1355247586 We are sending mail with results at report@fotonower.com args[1355247560] : ('0.04540340085618681',) no score found for photo 1355247560 We are sending mail with results at report@fotonower.com args[1355246791] : ('0.04540340085618681',) no score found for photo 1355246791 We are sending mail with results at report@fotonower.com args[1355246735] : ('0.04540340085618681',) no score found for photo 1355246735 We are sending mail with results at report@fotonower.com args[1355246733] : ('0.04540340085618681',) no score found for photo 1355246733 We are sending mail with results at report@fotonower.com args[1355246678] : ('0.04540340085618681',) no score found for photo 1355246678 We are sending mail with results at report@fotonower.com refus_total : 0.04540340085618681 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597376 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_P22597376_03-05-2025_05_40_33.pdf results_Auto_P22597376_03-05-2025_05_40_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22597376','results_Auto_P22597376_03-05-2025_05_40_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf','pdf','','0.38','0.04540340085618681') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22597376]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] map_info['map_portfolio_photo'] : {22597376: [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678]} final : False mtd_id 4302 list_pids : [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] 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, '2786980') ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22597376', '1355250091', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980')] time used for this insertion : 0.0173492431640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.830440521240234 time spend to save output : 0.017890453338623047 total time spend for step 4 : 11.848330974578857 step5:split_time_score Sat May 3 05:40:43 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 : ['22597376'] 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 : [('22597376',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22597376) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1355249345: {'path': 'temp/1746243631_688306_1355249345_088724bc06812aebb67b69b2cfcdec40.jpg', 'extension': 'jpg'}, 1355249381: {'path': 'temp/1746243631_688306_1355249381_4c0709e4dcdd8a37a75d898778b2d4b4.jpg', 'extension': 'jpg'}, 1355249411: {'path': 'temp/1746243631_688306_1355249411_467e72bd7cd9b128367f013c4431cd7f.jpg', 'extension': 'jpg'}, 1355249443: {'path': 'temp/1746243631_688306_1355249443_4952ee857098686263d7ba90245a2213.jpg', 'extension': 'jpg'}, 1355249595: {'path': 'temp/1746243631_688306_1355249595_3a5a4436df0928e4a6a11a1aa6f687d8.jpg', 'extension': 'jpg'}, 1355249647: {'path': 'temp/1746243631_688306_1355249647_24ec63d114860b1f7175052cae5253d9.jpg', 'extension': 'jpg'}, 1355250091: {'path': 'temp/1746243631_688306_1355250091_eb5abe01bb4ae26989784c5cc1e60560.jpg', 'extension': 'jpg'}, 1355246678: {'path': 'temp/1746243631_688306_1355246678_7378371bb272deb4279af831f562fabc.jpg', 'extension': 'jpg'}, 1355246733: {'path': 'temp/1746243631_688306_1355246733_f550519d2687fc6bc5c87cec2c68f1f6.jpg', 'extension': 'jpg'}, 1355246735: {'path': 'temp/1746243631_688306_1355246735_a443ba72f6baacc27edb068268933f52.jpg', 'extension': 'jpg'}, 1355246791: {'path': 'temp/1746243631_688306_1355246791_4cba7fd228cb45b5c717373cba926cb2.jpg', 'extension': 'jpg'}, 1355247560: {'path': 'temp/1746243631_688306_1355247560_c0e9c56901b0febd19ab4f4855245e50.jpg', 'extension': 'jpg'}, 1355247586: {'path': 'temp/1746243631_688306_1355247586_f331d818d42ebf4d006a8c7f2f5ae5bd.jpg', 'extension': 'jpg'}, 1355247684: {'path': 'temp/1746243631_688306_1355247684_bacb9c496034b9da9788f3b179565a18.jpg', 'extension': 'jpg'}, 1355247687: {'path': 'temp/1746243631_688306_1355247687_94c3ae3831896e01ac4e2b8dce0a8fd1.jpg', 'extension': 'jpg'}, 1355248159: {'path': 'temp/1746243631_688306_1355248159_a6707b88429aae6e2a306d2af8ecda99.jpg', 'extension': 'jpg'}, 1355248196: {'path': 'temp/1746243631_688306_1355248196_5fd8c7ebaec24d332724b05903b18ce6.jpg', 'extension': 'jpg'}, 1355248204: {'path': 'temp/1746243631_688306_1355248204_4614f934904ac26956f2599d2a2e70a4.jpg', 'extension': 'jpg'}, 1355248551: {'path': 'temp/1746243631_688306_1355248551_cb73465922e1b32469dc0bb1435682a1.jpg', 'extension': 'jpg'}, 1355248554: {'path': 'temp/1746243631_688306_1355248554_f544834b930f08db7fc4d650fb7e68a8.jpg', 'extension': 'jpg'}, 1355248557: {'path': 'temp/1746243631_688306_1355248557_e9fa621459a88d7a235ec4776e88bab6.jpg', 'extension': 'jpg'}, 1355248561: {'path': 'temp/1746243631_688306_1355248561_fb9b544152032e34d80f012976544736.jpg', 'extension': 'jpg'}, 1355248564: {'path': 'temp/1746243631_688306_1355248564_577950c9b8478f456d29de685d9fa5b0.jpg', 'extension': 'jpg'}, 1355247690: {'path': 'temp/1746243631_688306_1355247690_dcccf55e3f785dbd0df896023d872dfc.jpg', 'extension': 'jpg'}, 1355247732: {'path': 'temp/1746243631_688306_1355247732_877ef2f98b45d268bf753da61605528f.jpg', 'extension': 'jpg'}, 1355247735: {'path': 'temp/1746243631_688306_1355247735_33ab27b4375a544b0810d2fe6f3c94f0.jpg', 'extension': 'jpg'}, 1355247739: {'path': 'temp/1746243631_688306_1355247739_fff7be12c2414cc224d0b9660badc6e8.jpg', 'extension': 'jpg'}, 1355247778: {'path': 'temp/1746243631_688306_1355247778_33ec93276e074ade0da4c558f8a03ea8.jpg', 'extension': 'jpg'}, 1355247780: {'path': 'temp/1746243631_688306_1355247780_4aaafb31dc362a3637b3dd968166c231.jpg', 'extension': 'jpg'}, 1355247783: {'path': 'temp/1746243631_688306_1355247783_42e6a0b4f141093394bc5b50f4847ced.jpg', 'extension': 'jpg'}, 1355247822: {'path': 'temp/1746243631_688306_1355247822_b5733d65044b279efcaca82425ce38e3.jpg', 'extension': 'jpg'}, 1355248035: {'path': 'temp/1746243631_688306_1355248035_4c7d275a1f094287abc1f1dade56719f.jpg', 'extension': 'jpg'}, 1355248036: {'path': 'temp/1746243631_688306_1355248036_8e4a3a55cc612c0011f89a8f903a94bf.jpg', 'extension': 'jpg'}, 1355248044: {'path': 'temp/1746243631_688306_1355248044_befd0ef9493a74c5cb2bcbed12d48057.jpg', 'extension': 'jpg'}, 1355248105: {'path': 'temp/1746243631_688306_1355248105_48d029049da5f4d7f6e9f831cb808628.jpg', 'extension': 'jpg'}, 1355248107: {'path': 'temp/1746243631_688306_1355248107_4ac57fbeea7ede7d140d776aec405c20.jpg', 'extension': 'jpg'}, 1355248149: {'path': 'temp/1746243631_688306_1355248149_826bcd868d4a30c89927b697df33ac6b.jpg', 'extension': 'jpg'}, 1355248152: {'path': 'temp/1746243631_688306_1355248152_b0d3dc37b0613afd5582c97949dac1a2.jpg', 'extension': 'jpg'}, 1355248155: {'path': 'temp/1746243631_688306_1355248155_c245928cb32a780f29c7d0f9d5b00eb2.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 = 22597376; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22597376 group by h (('09', 39),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22597376 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 (22597376) 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 (22597376) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02052025 22597376 Nombre de photos uploadées : 39 / 23040 (0%) 02052025 22597376 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 02052025 22597376 Nombre de photos taguées (volume) : 0 / 39 (0%) [{'photo_id': 1355246678, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7378371bb272deb4279af831f562fabc.jpg', 'username': None, 'uploaded_at': 1746171967, 'text': 'image_02052025_09_45_14_009124m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355246735, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a443ba72f6baacc27edb068268933f52.jpg', 'username': None, 'uploaded_at': 1746172027, 'text': 'image_02052025_09_45_44_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355246733, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f550519d2687fc6bc5c87cec2c68f1f6.jpg', 'username': None, 'uploaded_at': 1746172027, 'text': 'image_02052025_09_46_15_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1355246791, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cba7fd228cb45b5c717373cba926cb2.jpg', 'username': None, 'uploaded_at': 1746172088, 'text': 'image_02052025_09_46_24_009123m0.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.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.58306884765625e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016994476318359375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22597376, '2025-05-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1765550,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.031208038330078125 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= 1765550 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589204, 'dashboard_result_id': 10266252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589345, 'dashboard_result_id': 10266253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22589743, 'dashboard_result_id': 10266254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590338, 'dashboard_result_id': 10266255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590734, 'dashboard_result_id': 10266256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22590863, 'dashboard_result_id': 10266257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591348, 'dashboard_result_id': 10266258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22591636, 'dashboard_result_id': 10266259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592221, 'dashboard_result_id': 10266260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22592634, 'dashboard_result_id': 10266261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593197, 'dashboard_result_id': 10266262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22593637, 'dashboard_result_id': 10266263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594215, 'dashboard_result_id': 10266264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22594939, 'dashboard_result_id': 10266265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22595293, 'dashboard_result_id': 10266266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22596857, 'dashboard_result_id': 10266267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597376, 'dashboard_result_id': 10266268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_02-05-2025_10_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22597852, 'dashboard_result_id': 10266269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_02-05-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598402, 'dashboard_result_id': 10266270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_02-05-2025_10_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22598714, 'dashboard_result_id': 10266271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_02-05-2025_10_47_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599216, 'dashboard_result_id': 10266272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_02-05-2025_11_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22599783, 'dashboard_result_id': 10266273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_02-05-2025_11_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600238, 'dashboard_result_id': 10266274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_02-05-2025_11_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22600776, 'dashboard_result_id': 10266275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_02-05-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601365, 'dashboard_result_id': 10266276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_02-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22601825, 'dashboard_result_id': 10266277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_00_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22604792, 'dashboard_result_id': 10266278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_02-05-2025_14_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605092, 'dashboard_result_id': 10266279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_02-05-2025_14_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22605713, 'dashboard_result_id': 10266280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_02-05-2025_15_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606058, 'dashboard_result_id': 10266281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_02-05-2025_15_16_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22606881, 'dashboard_result_id': 10266282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_02-05-2025_15_51_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22607985, 'dashboard_result_id': 10266283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_02-05-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22608501, 'dashboard_result_id': 10266284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_02-05-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609408, 'dashboard_result_id': 10266285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22609715, 'dashboard_result_id': 10266286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610437, 'dashboard_result_id': 10266287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22610994, 'dashboard_result_id': 10266288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22611606, 'dashboard_result_id': 10266289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613023, 'dashboard_result_id': 10266290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22613686, 'dashboard_result_id': 10266291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22614349, 'dashboard_result_id': 10266292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615158, 'dashboard_result_id': 10266293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22615897, 'dashboard_result_id': 10266294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22616551, 'dashboard_result_id': 10266295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22617232, 'dashboard_result_id': 10266296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618017, 'dashboard_result_id': 10266297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22618470, 'dashboard_result_id': 10266298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619074, 'dashboard_result_id': 10266299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22619744, 'dashboard_result_id': 10266300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620531, 'dashboard_result_id': 10266301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22620848, 'dashboard_result_id': 10266302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621300, 'dashboard_result_id': 10266303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22621997, 'dashboard_result_id': 10266304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22622472, 'dashboard_result_id': 10266305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22623210, 'dashboard_result_id': 10266306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624019, 'dashboard_result_id': 10266307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22624848, 'dashboard_result_id': 10266308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22625733, 'dashboard_result_id': 10266309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22626287, 'dashboard_result_id': 10266310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627137, 'dashboard_result_id': 10266311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}"}, {'dashboat_entry_day': 1765550, 'dashboard_run_id': 1777835, 'mtr_portfolio_id': 22627814, 'dashboard_result_id': 10266312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 = 22589204 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': 2786964, 'mtr_portfolio_id': 22589204, 'created_at': datetime.datetime(2025, 5, 3, 5, 34, 29), 'result': '0.11578722670962653', 'result_long': None, 'result_double': None}] Qualite : 0.11578722670962653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, 'pht': 3726}}" where mtr_portfolio_id = 22589204 and dashboard_run_id = 1777835 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`=22589204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266252, 0.11578722670962653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589204_03-05-2025_05_34_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589216, '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 = 22589345 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': 2786965, 'mtr_portfolio_id': 22589345, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 1), 'result': '0.06688132689946549', 'result_long': None, 'result_double': None}] Qualite : 0.06688132689946549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, 'pht': 3726}}" where mtr_portfolio_id = 22589345 and dashboard_run_id = 1777835 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`=22589345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266253, 0.06688132689946549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589345_03-05-2025_05_35_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22589349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589357, '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 = 22589743 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': 2786966, 'mtr_portfolio_id': 22589743, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 31), 'result': '0.05017581572593625', 'result_long': None, 'result_double': None}] Qualite : 0.05017581572593625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22589743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22589743 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, 'pht': 3726}}" where mtr_portfolio_id = 22589743 and dashboard_run_id = 1777835 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`=22589743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266254, 0.05017581572593625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22589743_03-05-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22589746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22589747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22589748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22589749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22589750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22589751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22589752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22589753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22589754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22589755, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22589756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22589757, '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 = 22590338 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': 2786967, 'mtr_portfolio_id': 22590338, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 28), 'result': '0.060157682598092205', 'result_long': None, 'result_double': None}] Qualite : 0.060157682598092205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, 'pht': 3726}}" where mtr_portfolio_id = 22590338 and dashboard_run_id = 1777835 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`=22590338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266255, 0.060157682598092205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590338_03-05-2025_05_35_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590375, '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 = 22590734 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': 2786968, 'mtr_portfolio_id': 22590734, 'created_at': datetime.datetime(2025, 5, 3, 5, 35, 57), 'result': '0.037654898727380724', 'result_long': None, 'result_double': None}] Qualite : 0.037654898727380724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, 'pht': 3726}}" where mtr_portfolio_id = 22590734 and dashboard_run_id = 1777835 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`=22590734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266256, 0.037654898727380724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590734_03-05-2025_05_35_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22590737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590748, '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 = 22590863 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': 2786969, 'mtr_portfolio_id': 22590863, 'created_at': datetime.datetime(2025, 5, 3, 5, 36, 29), 'result': '0.0644989178083683', 'result_long': None, 'result_double': None}] Qualite : 0.0644989178083683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22590863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22590863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, 'pht': 3726}}" where mtr_portfolio_id = 22590863 and dashboard_run_id = 1777835 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`=22590863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266257, 0.0644989178083683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22590863_03-05-2025_05_36_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22590864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22590865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22590866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22590867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22590868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22590869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22590870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22590871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22590872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22590873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22590874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22590875, '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 = 22591348 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': 2786970, 'mtr_portfolio_id': 22591348, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 1), 'result': '0.05650957500100291', 'result_long': None, 'result_double': None}] Qualite : 0.05650957500100291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, 'pht': 3726}}" where mtr_portfolio_id = 22591348 and dashboard_run_id = 1777835 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`=22591348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266258, 0.05650957500100291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591348_03-05-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591367, '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 = 22591636 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': 2786971, 'mtr_portfolio_id': 22591636, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.06432818209472826', 'result_long': None, 'result_double': None}] Qualite : 0.06432818209472826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22591636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22591636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, 'pht': 3726}}" where mtr_portfolio_id = 22591636 and dashboard_run_id = 1777835 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`=22591636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266259, 0.06432818209472826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22591636_03-05-2025_05_37_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22591661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22591662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22591663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22591664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22591665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22591666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22591667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22591668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22591669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22591670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22591671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22591672, '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 = 22592221 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': 2786972, 'mtr_portfolio_id': 22592221, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 31), 'result': '0.04293719768344841', 'result_long': None, 'result_double': None}] Qualite : 0.04293719768344841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592221 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592221 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, 'pht': 3726}}" where mtr_portfolio_id = 22592221 and dashboard_run_id = 1777835 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`=22592221 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266260, 0.04293719768344841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592221_03-05-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592237, '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 = 22592634 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': 2786973, 'mtr_portfolio_id': 22592634, 'created_at': datetime.datetime(2025, 5, 3, 5, 37, 28), 'result': '0.06915123421417789', 'result_long': None, 'result_double': None}] Qualite : 0.06915123421417789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22592634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22592634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, 'pht': 3726}}" where mtr_portfolio_id = 22592634 and dashboard_run_id = 1777835 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`=22592634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266261, 0.06915123421417789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22592634_03-05-2025_05_37_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22592672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22592673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22592674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22592675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22592676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22592677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22592678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22592679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22592680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22592681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22592682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22592683, '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 = 22593197 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': 2786974, 'mtr_portfolio_id': 22593197, 'created_at': datetime.datetime(2025, 5, 3, 5, 38), 'result': '0.047061770014372145', 'result_long': None, 'result_double': None}] Qualite : 0.047061770014372145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, 'pht': 3726}}" where mtr_portfolio_id = 22593197 and dashboard_run_id = 1777835 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`=22593197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266262, 0.047061770014372145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593197_03-05-2025_05_38_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593228, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593233, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593237, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593238, '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 = 22593637 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': 2786975, 'mtr_portfolio_id': 22593637, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 30), 'result': '0.04982009173922521', 'result_long': None, 'result_double': None}] Qualite : 0.04982009173922521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22593637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22593637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, 'pht': 3726}}" where mtr_portfolio_id = 22593637 and dashboard_run_id = 1777835 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`=22593637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266263, 0.04982009173922521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22593637_03-05-2025_05_38_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22593642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22593643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22593644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22593645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22593646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22593647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22593648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22593649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22593650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22593651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22593652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22593653, '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 = 22594215 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': 2786976, 'mtr_portfolio_id': 22594215, 'created_at': datetime.datetime(2025, 5, 3, 5, 38, 58), 'result': '0.052097345220194914', 'result_long': None, 'result_double': None}] Qualite : 0.052097345220194914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, 'pht': 3726}}" where mtr_portfolio_id = 22594215 and dashboard_run_id = 1777835 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`=22594215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266264, 0.052097345220194914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594215_03-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22594245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594256, '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 = 22594939 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': 2786977, 'mtr_portfolio_id': 22594939, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 27), 'result': '0.06944314021104031', 'result_long': None, 'result_double': None}] Qualite : 0.06944314021104031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22594939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22594939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, 'pht': 3726}}" where mtr_portfolio_id = 22594939 and dashboard_run_id = 1777835 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`=22594939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266265, 0.06944314021104031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22594939_03-05-2025_05_39_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22594940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22594941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22594942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22594943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22594944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22594945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22594946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22594947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22594948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22594949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22594950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22594951, '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 = 22595293 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': 2786978, 'mtr_portfolio_id': 22595293, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 29), 'result': '0.06928306352067726', 'result_long': None, 'result_double': None}] Qualite : 0.06928306352067726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22595293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22595293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, 'pht': 3726}}" where mtr_portfolio_id = 22595293 and dashboard_run_id = 1777835 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`=22595293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266266, 0.06928306352067726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22595293_03-05-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22595298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22595299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22595300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22595301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22595302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22595303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22595304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22595305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22595306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22595307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22595308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22595309, '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 = 22596857 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': 2786979, 'mtr_portfolio_id': 22596857, 'created_at': datetime.datetime(2025, 5, 3, 5, 39, 57), 'result': '0.03762434420756704', 'result_long': None, 'result_double': None}] Qualite : 0.03762434420756704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22596857 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22596857 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, 'pht': 3726}}" where mtr_portfolio_id = 22596857 and dashboard_run_id = 1777835 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`=22596857 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266267, 0.03762434420756704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22596857_03-05-2025_05_39_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22596858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22596859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22596860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22596861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22596862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22596863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22596864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22596865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22596866, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22596867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22596868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22596869, '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 = 22597376 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': 2786980, 'mtr_portfolio_id': 22597376, 'created_at': datetime.datetime(2025, 5, 3, 5, 40, 30), 'result': '0.04540340085618681', 'result_long': None, 'result_double': None}] Qualite : 0.04540340085618681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, 'pht': 3726}}" where mtr_portfolio_id = 22597376 and dashboard_run_id = 1777835 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`=22597376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266268, 0.04540340085618681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597376_03-05-2025_05_40_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597388, '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 = 22597852 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': 2782609, 'mtr_portfolio_id': 22597852, 'created_at': datetime.datetime(2025, 5, 2, 10, 16, 30), 'result': '0.04260121675308527', 'result_long': None, 'result_double': None}] Qualite : 0.04260121675308527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22597852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_02-05-2025_10_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22597852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_02-05-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, 'pht': 3726}}" where mtr_portfolio_id = 22597852 and dashboard_run_id = 1777835 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`=22597852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266269, 0.04260121675308527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22597852_02-05-2025_10_16_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22597854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22597855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22597856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22597857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22597858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22597859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22597860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22597861, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22597862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22597863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22597864, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22597865, '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 = 22598402 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': 2782674, 'mtr_portfolio_id': 22598402, 'created_at': datetime.datetime(2025, 5, 2, 10, 33), 'result': '0.0613456778126357', 'result_long': None, 'result_double': None}] Qualite : 0.0613456778126357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_02-05-2025_10_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_02-05-2025_10_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, 'pht': 3726}}" where mtr_portfolio_id = 22598402 and dashboard_run_id = 1777835 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`=22598402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266270, 0.0613456778126357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598402_02-05-2025_10_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598417, '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 = 22598714 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': 2782724, 'mtr_portfolio_id': 22598714, 'created_at': datetime.datetime(2025, 5, 2, 10, 47, 27), 'result': '0.04843794702838668', 'result_long': None, 'result_double': None}] Qualite : 0.04843794702838668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22598714 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_02-05-2025_10_47_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22598714 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_02-05-2025_10_47_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, 'pht': 3726}}" where mtr_portfolio_id = 22598714 and dashboard_run_id = 1777835 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`=22598714 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266271, 0.04843794702838668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22598714_02-05-2025_10_47_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22598743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22598744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22598745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22598746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22598747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22598748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22598749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22598750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22598751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22598752, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22598753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22598754, '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 = 22599216 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': 2782781, 'mtr_portfolio_id': 22599216, 'created_at': datetime.datetime(2025, 5, 2, 11, 3, 29), 'result': '0.07107325147203536', 'result_long': None, 'result_double': None}] Qualite : 0.07107325147203536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_02-05-2025_11_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_02-05-2025_11_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, 'pht': 3726}}" where mtr_portfolio_id = 22599216 and dashboard_run_id = 1777835 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`=22599216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266272, 0.07107325147203536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599216_02-05-2025_11_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599232, '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 = 22599783 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': 2782860, 'mtr_portfolio_id': 22599783, 'created_at': datetime.datetime(2025, 5, 2, 11, 16, 59), 'result': '0.07637225675810834', 'result_long': None, 'result_double': None}] Qualite : 0.07637225675810834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22599783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_02-05-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22599783 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_02-05-2025_11_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, 'pht': 3726}}" where mtr_portfolio_id = 22599783 and dashboard_run_id = 1777835 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`=22599783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266273, 0.07637225675810834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22599783_02-05-2025_11_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22599842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22599843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22599845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22599846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22599847, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22599849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22599850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22599851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22599852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22599853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22599854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22599855, '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 = 22600238 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': 2782908, 'mtr_portfolio_id': 22600238, 'created_at': datetime.datetime(2025, 5, 2, 11, 32, 59), 'result': '0.04390587398786276', 'result_long': None, 'result_double': None}] Qualite : 0.04390587398786276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_02-05-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_02-05-2025_11_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, 'pht': 3726}}" where mtr_portfolio_id = 22600238 and dashboard_run_id = 1777835 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`=22600238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266274, 0.04390587398786276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600238_02-05-2025_11_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600279, '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 = 22600776 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': 2782983, 'mtr_portfolio_id': 22600776, 'created_at': datetime.datetime(2025, 5, 2, 11, 48, 58), 'result': '0.06303955095703372', 'result_long': None, 'result_double': None}] Qualite : 0.06303955095703372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22600776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_02-05-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22600776 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_02-05-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, 'pht': 3726}}" where mtr_portfolio_id = 22600776 and dashboard_run_id = 1777835 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`=22600776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266275, 0.06303955095703372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22600776_02-05-2025_11_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22600818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22600819, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22600820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22600821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22600822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22600823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22600824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22600825, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22600826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22600827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22600828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22600829, '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 = 22601365 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': 2783043, 'mtr_portfolio_id': 22601365, 'created_at': datetime.datetime(2025, 5, 2, 12, 2, 59), 'result': '0.043742499238654364', 'result_long': None, 'result_double': None}] Qualite : 0.043742499238654364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_02-05-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_02-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, 'pht': 3726}}" where mtr_portfolio_id = 22601365 and dashboard_run_id = 1777835 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`=22601365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266276, 0.043742499238654364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601365_02-05-2025_12_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22601399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601407, '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 = 22601825 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': 2783117, 'mtr_portfolio_id': 22601825, 'created_at': datetime.datetime(2025, 5, 3, 0, 1, 32), 'result': '0.04072841462141023', 'result_long': None, 'result_double': None}] Qualite : 0.04072841462141023 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22601825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_00_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22601825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_00_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, 'pht': 3726}}" where mtr_portfolio_id = 22601825 and dashboard_run_id = 1777835 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`=22601825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266277, 0.04072841462141023, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22601825_03-05-2025_00_01_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22601890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22601891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22601892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22601893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22601894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22601895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22601896, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22601897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22601898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22601899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22601900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22601901, '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 = 22604792 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': 2783583, 'mtr_portfolio_id': 22604792, 'created_at': datetime.datetime(2025, 5, 2, 14, 32, 59), 'result': '0.01945970456472961', 'result_long': None, 'result_double': None}] Qualite : 0.01945970456472961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22604792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_02-05-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22604792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_02-05-2025_14_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, 'pht': 3726}}" where mtr_portfolio_id = 22604792 and dashboard_run_id = 1777835 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`=22604792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266278, 0.01945970456472961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22604792_02-05-2025_14_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22604793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22604794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22604795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22604796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22604797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22604798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22604799, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22604800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22604801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22604802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22604803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22604804, '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 = 22605092 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': 2783635, 'mtr_portfolio_id': 22605092, 'created_at': datetime.datetime(2025, 5, 2, 14, 49, 1), 'result': '0.03623925008779537', 'result_long': None, 'result_double': None}] Qualite : 0.03623925008779537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_02-05-2025_14_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_02-05-2025_14_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, 'pht': 3726}}" where mtr_portfolio_id = 22605092 and dashboard_run_id = 1777835 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`=22605092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266279, 0.03623925008779537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605092_02-05-2025_14_49_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22605138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605149, '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 = 22605713 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': 2783699, 'mtr_portfolio_id': 22605713, 'created_at': datetime.datetime(2025, 5, 2, 15, 3, 28), 'result': '0.061109413484783714', 'result_long': None, 'result_double': None}] Qualite : 0.061109413484783714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22605713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_02-05-2025_15_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22605713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_02-05-2025_15_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, 'pht': 3726}}" where mtr_portfolio_id = 22605713 and dashboard_run_id = 1777835 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`=22605713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266280, 0.061109413484783714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22605713_02-05-2025_15_03_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22605714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22605715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22605716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22605717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22605718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22605719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22605720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22605721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22605722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22605723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22605724, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22605725, '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 = 22606058 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': 2783757, 'mtr_portfolio_id': 22606058, 'created_at': datetime.datetime(2025, 5, 2, 15, 16, 57), 'result': '0.05565416358618291', 'result_long': None, 'result_double': None}] Qualite : 0.05565416358618291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_02-05-2025_15_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_02-05-2025_15_16_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, 'pht': 3726}}" where mtr_portfolio_id = 22606058 and dashboard_run_id = 1777835 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`=22606058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266281, 0.05565416358618291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606058_02-05-2025_15_16_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606067, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606074, '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 = 22606881 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': 2783824, 'mtr_portfolio_id': 22606881, 'created_at': datetime.datetime(2025, 5, 2, 15, 51, 1), 'result': '0.03180261307965461', 'result_long': None, 'result_double': None}] Qualite : 0.03180261307965461 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22606881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_02-05-2025_15_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22606881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_02-05-2025_15_51_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, 'pht': 3726}}" where mtr_portfolio_id = 22606881 and dashboard_run_id = 1777835 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`=22606881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266282, 0.03180261307965461, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22606881_02-05-2025_15_51_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22606900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22606901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22606902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22606903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22606904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22606905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22606906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22606907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22606908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22606909, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22606910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22606911, '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 = 22607985 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': 2783949, 'mtr_portfolio_id': 22607985, 'created_at': datetime.datetime(2025, 5, 2, 16, 2, 58), 'result': '0.04428150887972835', 'result_long': None, 'result_double': None}] Qualite : 0.04428150887972835 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22607985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_02-05-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22607985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_02-05-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, 'pht': 3726}}" where mtr_portfolio_id = 22607985 and dashboard_run_id = 1777835 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`=22607985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266283, 0.04428150887972835, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22607985_02-05-2025_16_02_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22607987, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22607988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22607989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22607990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22607991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22607992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22607993, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22607994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22607995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22607996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22607997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22607998, '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 = 22608501 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': 2784006, 'mtr_portfolio_id': 22608501, 'created_at': datetime.datetime(2025, 5, 2, 16, 16, 57), 'result': '0.04776155844756096', 'result_long': None, 'result_double': None}] Qualite : 0.04776155844756096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22608501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_02-05-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22608501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_02-05-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, 'pht': 3726}}" where mtr_portfolio_id = 22608501 and dashboard_run_id = 1777835 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`=22608501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266284, 0.04776155844756096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22608501_02-05-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22608547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22608548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22608549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22608550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22608551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22608552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22608553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22608554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22608555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22608556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22608557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22608558, '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 = 22609408 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': 2784081, 'mtr_portfolio_id': 22609408, 'created_at': datetime.datetime(2025, 5, 2, 16, 32, 58), 'result': '0.036062353526804675', 'result_long': None, 'result_double': None}] Qualite : 0.036062353526804675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609408 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, 'pht': 3726}}" where mtr_portfolio_id = 22609408 and dashboard_run_id = 1777835 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`=22609408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266285, 0.036062353526804675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609408_02-05-2025_16_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609414, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609420, '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 = 22609715 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': 2784137, 'mtr_portfolio_id': 22609715, 'created_at': datetime.datetime(2025, 5, 2, 16, 50, 58), 'result': '0.039319208231918854', 'result_long': None, 'result_double': None}] Qualite : 0.039319208231918854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22609715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22609715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, 'pht': 3726}}" where mtr_portfolio_id = 22609715 and dashboard_run_id = 1777835 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`=22609715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266286, 0.039319208231918854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22609715_02-05-2025_16_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22609804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22609805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22609806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22609807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22609808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22609809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22609810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22609811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22609812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22609813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22609814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22609815, '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 = 22610437 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': 2784202, 'mtr_portfolio_id': 22610437, 'created_at': datetime.datetime(2025, 5, 2, 17, 4, 58), 'result': '0.06179093901455749', 'result_long': None, 'result_double': None}] Qualite : 0.06179093901455749 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, 'pht': 3726}}" where mtr_portfolio_id = 22610437 and dashboard_run_id = 1777835 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`=22610437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266287, 0.06179093901455749, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610437_02-05-2025_17_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22610456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22610457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22610458, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22610459, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22610460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22610461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22610462, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22610463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22610464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22610465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22610466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22610467, '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 = 22610994 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': 2784268, 'mtr_portfolio_id': 22610994, 'created_at': datetime.datetime(2025, 5, 2, 17, 16, 59), 'result': '0.03916743678891736', 'result_long': None, 'result_double': None}] Qualite : 0.03916743678891736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22610994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22610994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, 'pht': 3726}}" where mtr_portfolio_id = 22610994 and dashboard_run_id = 1777835 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`=22610994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266288, 0.03916743678891736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22610994_02-05-2025_17_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22611031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611032, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611034, '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 = 22611606 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': 2784326, 'mtr_portfolio_id': 22611606, 'created_at': datetime.datetime(2025, 5, 2, 18, 4, 59), 'result': '0.06886421457201762', 'result_long': None, 'result_double': None}] Qualite : 0.06886421457201762 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22611606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22611606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, 'pht': 3726}}" where mtr_portfolio_id = 22611606 and dashboard_run_id = 1777835 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`=22611606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266289, 0.06886421457201762, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22611606_02-05-2025_18_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22611694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22611695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22611696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22611697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22611698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22611699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22611700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22611701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22611702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22611703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22611704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22611705, '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 = 22613023 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': 2784517, 'mtr_portfolio_id': 22613023, 'created_at': datetime.datetime(2025, 5, 2, 18, 18, 58), 'result': '0.057913960095635965', 'result_long': None, 'result_double': None}] Qualite : 0.057913960095635965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613023 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, 'pht': 3726}}" where mtr_portfolio_id = 22613023 and dashboard_run_id = 1777835 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`=22613023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266290, 0.057913960095635965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613023_02-05-2025_18_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22613027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613033, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613035, '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 = 22613686 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': 2784579, 'mtr_portfolio_id': 22613686, 'created_at': datetime.datetime(2025, 5, 2, 18, 32, 59), 'result': '0.05084133045107916', 'result_long': None, 'result_double': None}] Qualite : 0.05084133045107916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22613686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22613686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, 'pht': 3726}}" where mtr_portfolio_id = 22613686 and dashboard_run_id = 1777835 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`=22613686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266291, 0.05084133045107916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22613686_02-05-2025_18_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22613770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22613771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22613772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22613773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22613774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22613775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22613776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22613777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22613778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22613779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22613780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22613781, '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 = 22614349 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': 2784648, 'mtr_portfolio_id': 22614349, 'created_at': datetime.datetime(2025, 5, 2, 18, 49, 31), 'result': '0.052903316785992194', 'result_long': None, 'result_double': None}] Qualite : 0.052903316785992194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22614349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22614349 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, 'pht': 3726}}" where mtr_portfolio_id = 22614349 and dashboard_run_id = 1777835 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`=22614349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266292, 0.052903316785992194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22614349_02-05-2025_18_49_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22614374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22614375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22614376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22614377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22614378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22614379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22614380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22614381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22614382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22614383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22614384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22614385, '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 = 22615158 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': 2784731, 'mtr_portfolio_id': 22615158, 'created_at': datetime.datetime(2025, 5, 2, 19, 4, 57), 'result': '0.07743530002474086', 'result_long': None, 'result_double': None}] Qualite : 0.07743530002474086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, 'pht': 3726}}" where mtr_portfolio_id = 22615158 and dashboard_run_id = 1777835 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`=22615158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266293, 0.07743530002474086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615158_02-05-2025_19_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615197, '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 = 22615897 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': 2784791, 'mtr_portfolio_id': 22615897, 'created_at': datetime.datetime(2025, 5, 2, 19, 17, 1), 'result': '0.03726462156558867', 'result_long': None, 'result_double': None}] Qualite : 0.03726462156558867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22615897 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22615897 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, 'pht': 3726}}" where mtr_portfolio_id = 22615897 and dashboard_run_id = 1777835 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`=22615897 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266294, 0.03726462156558867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22615897_02-05-2025_19_17_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22615952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22615953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22615954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22615955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22615956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22615957, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22615958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22615959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22615960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22615961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22615962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22615963, '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 = 22616551 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': 2784840, 'mtr_portfolio_id': 22616551, 'created_at': datetime.datetime(2025, 5, 2, 19, 33, 59), 'result': '0.03603503527858433', 'result_long': None, 'result_double': None}] Qualite : 0.03603503527858433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22616551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22616551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, 'pht': 3726}}" where mtr_portfolio_id = 22616551 and dashboard_run_id = 1777835 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`=22616551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266295, 0.03603503527858433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22616551_02-05-2025_19_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22616557, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22616558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22616559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22616560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22616561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22616562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22616563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22616564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22616565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22616566, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22616567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22616568, '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 = 22617232 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': 2784898, 'mtr_portfolio_id': 22617232, 'created_at': datetime.datetime(2025, 5, 2, 19, 49), 'result': '0.0481919718954409', 'result_long': None, 'result_double': None}] Qualite : 0.0481919718954409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22617232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22617232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, 'pht': 3726}}" where mtr_portfolio_id = 22617232 and dashboard_run_id = 1777835 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`=22617232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266296, 0.0481919718954409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22617232_02-05-2025_19_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22617298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22617299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22617300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22617301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22617302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22617303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22617304, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22617305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22617306, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22617307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22617308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22617309, '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 = 22618017 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': 2784969, 'mtr_portfolio_id': 22618017, 'created_at': datetime.datetime(2025, 5, 2, 20, 3, 1), 'result': '0.04988900920094549', 'result_long': None, 'result_double': None}] Qualite : 0.04988900920094549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618017 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, 'pht': 3726}}" where mtr_portfolio_id = 22618017 and dashboard_run_id = 1777835 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`=22618017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266297, 0.04988900920094549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618017_02-05-2025_20_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618032, '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 = 22618470 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': 2785031, 'mtr_portfolio_id': 22618470, 'created_at': datetime.datetime(2025, 5, 2, 20, 17, 1), 'result': '0.04508370436037123', 'result_long': None, 'result_double': None}] Qualite : 0.04508370436037123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22618470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22618470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, 'pht': 3726}}" where mtr_portfolio_id = 22618470 and dashboard_run_id = 1777835 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`=22618470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266298, 0.04508370436037123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22618470_02-05-2025_20_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22618589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22618590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22618591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22618592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22618593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22618594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22618595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22618596, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22618597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22618598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22618599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22618600, '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 = 22619074 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': 2785095, 'mtr_portfolio_id': 22619074, 'created_at': datetime.datetime(2025, 5, 2, 20, 32, 58), 'result': '0.05532764925991087', 'result_long': None, 'result_double': None}] Qualite : 0.05532764925991087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, 'pht': 3726}}" where mtr_portfolio_id = 22619074 and dashboard_run_id = 1777835 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`=22619074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266299, 0.05532764925991087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619074_02-05-2025_20_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619087, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619091, '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 = 22619744 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': 2785163, 'mtr_portfolio_id': 22619744, 'created_at': datetime.datetime(2025, 5, 2, 21, 4, 58), 'result': '0.06401292806113919', 'result_long': None, 'result_double': None}] Qualite : 0.06401292806113919 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22619744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22619744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, 'pht': 3726}}" where mtr_portfolio_id = 22619744 and dashboard_run_id = 1777835 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`=22619744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266300, 0.06401292806113919, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22619744_02-05-2025_21_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22619809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22619810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22619811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22619812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22619813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22619814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22619815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22619816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22619817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22619818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22619819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22619820, '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 = 22620531 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': 2785266, 'mtr_portfolio_id': 22620531, 'created_at': datetime.datetime(2025, 5, 2, 21, 18, 59), 'result': '0.08125576551814391', 'result_long': None, 'result_double': None}] Qualite : 0.08125576551814391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620531 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, 'pht': 3726}}" where mtr_portfolio_id = 22620531 and dashboard_run_id = 1777835 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`=22620531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266301, 0.08125576551814391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620531_02-05-2025_21_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620543, '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 = 22620848 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': 2785316, 'mtr_portfolio_id': 22620848, 'created_at': datetime.datetime(2025, 5, 2, 21, 32, 58), 'result': '0.05602375382720463', 'result_long': None, 'result_double': None}] Qualite : 0.05602375382720463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22620848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22620848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, 'pht': 3726}}" where mtr_portfolio_id = 22620848 and dashboard_run_id = 1777835 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`=22620848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266302, 0.05602375382720463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22620848_02-05-2025_21_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22620877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22620878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22620879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22620880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22620881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22620882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22620883, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22620884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22620885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22620886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22620887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22620888, '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 = 22621300 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': 2785372, 'mtr_portfolio_id': 22621300, 'created_at': datetime.datetime(2025, 5, 2, 21, 50, 58), 'result': '0.06109813489790857', 'result_long': None, 'result_double': None}] Qualite : 0.06109813489790857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, 'pht': 3726}}" where mtr_portfolio_id = 22621300 and dashboard_run_id = 1777835 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`=22621300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266303, 0.06109813489790857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621300_02-05-2025_21_50_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22621325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22621326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22621327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22621328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22621329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22621330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22621331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22621332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22621333, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22621334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22621335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22621336, '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 = 22621997 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': 2785450, 'mtr_portfolio_id': 22621997, 'created_at': datetime.datetime(2025, 5, 2, 22, 3, 30), 'result': '0.07221711131891165', 'result_long': None, 'result_double': None}] Qualite : 0.07221711131891165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22621997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22621997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, 'pht': 3726}}" where mtr_portfolio_id = 22621997 and dashboard_run_id = 1777835 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`=22621997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266304, 0.07221711131891165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22621997_02-05-2025_22_03_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622045, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622046, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622048, '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 = 22622472 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': 2785530, 'mtr_portfolio_id': 22622472, 'created_at': datetime.datetime(2025, 5, 2, 22, 16, 58), 'result': '0.05685726550778499', 'result_long': None, 'result_double': None}] Qualite : 0.05685726550778499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22622472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22622472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, 'pht': 3726}}" where mtr_portfolio_id = 22622472 and dashboard_run_id = 1777835 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`=22622472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266305, 0.05685726550778499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22622472_02-05-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22622502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22622503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22622504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22622505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22622506, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22622507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22622508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22622509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22622510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22622511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22622512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22622513, '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 = 22623210 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': 2785587, 'mtr_portfolio_id': 22623210, 'created_at': datetime.datetime(2025, 5, 2, 22, 32, 59), 'result': '0.048217679684332354', 'result_long': None, 'result_double': None}] Qualite : 0.048217679684332354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22623210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22623210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, 'pht': 3726}}" where mtr_portfolio_id = 22623210 and dashboard_run_id = 1777835 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`=22623210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266306, 0.048217679684332354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22623210_02-05-2025_22_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22623233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22623234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22623235, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22623236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22623237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22623238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22623239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22623240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22623241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22623242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22623243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22623244, '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 = 22624019 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': 2785652, 'mtr_portfolio_id': 22624019, 'created_at': datetime.datetime(2025, 5, 2, 22, 46, 59), 'result': '0.07222638417017839', 'result_long': None, 'result_double': None}] Qualite : 0.07222638417017839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, 'pht': 3726}}" where mtr_portfolio_id = 22624019 and dashboard_run_id = 1777835 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`=22624019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266307, 0.07222638417017839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624019_02-05-2025_22_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624061, '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 = 22624848 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': 2785723, 'mtr_portfolio_id': 22624848, 'created_at': datetime.datetime(2025, 5, 2, 23, 4, 59), 'result': '0.05393846116249263', 'result_long': None, 'result_double': None}] Qualite : 0.05393846116249263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22624848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22624848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, 'pht': 3726}}" where mtr_portfolio_id = 22624848 and dashboard_run_id = 1777835 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`=22624848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266308, 0.05393846116249263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22624848_02-05-2025_23_04_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22624878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22624879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22624880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22624881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22624882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22624883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22624884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22624885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22624886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22624887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22624888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22624889, '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 = 22625733 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': 2785819, 'mtr_portfolio_id': 22625733, 'created_at': datetime.datetime(2025, 5, 2, 23, 17), 'result': '0.05472171282675373', 'result_long': None, 'result_double': None}] Qualite : 0.05472171282675373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22625733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22625733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, 'pht': 3726}}" where mtr_portfolio_id = 22625733 and dashboard_run_id = 1777835 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`=22625733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266309, 0.05472171282675373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22625733_02-05-2025_23_17_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22625734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22625735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22625736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22625737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22625738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22625739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22625741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22625743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22625747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22625750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22625752, '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 = 22626287 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': 2785859, 'mtr_portfolio_id': 22626287, 'created_at': datetime.datetime(2025, 5, 2, 23, 33, 1), 'result': '0.039915505188799355', 'result_long': None, 'result_double': None}] Qualite : 0.039915505188799355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22626287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22626287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, 'pht': 3726}}" where mtr_portfolio_id = 22626287 and dashboard_run_id = 1777835 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`=22626287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266310, 0.039915505188799355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22626287_02-05-2025_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22626318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22626319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22626320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22626321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22626322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22626323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22626324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22626325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22626326, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22626327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22626328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22626329, '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 = 22627137 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': 2785909, 'mtr_portfolio_id': 22627137, 'created_at': datetime.datetime(2025, 5, 2, 23, 46, 57), 'result': '0.052910013578557055', 'result_long': None, 'result_double': None}] Qualite : 0.052910013578557055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, 'pht': 3726}}" where mtr_portfolio_id = 22627137 and dashboard_run_id = 1777835 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`=22627137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266311, 0.052910013578557055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627137_02-05-2025_23_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627180, '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 = 22627814 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': 2785960, 'mtr_portfolio_id': 22627814, 'created_at': datetime.datetime(2025, 5, 3, 5, 1, 28), 'result': '0.061673941913641936', 'result_long': None, 'result_double': None}] Qualite : 0.061673941913641936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22627814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22627814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, 'pht': 3726}}" where mtr_portfolio_id = 22627814 and dashboard_run_id = 1777835 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`=22627814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10266312, 0.061673941913641936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22627814_03-05-2025_05_01_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22627840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22627841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22627842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22627843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22627844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22627845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22627846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22627847, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22627848, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22627849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22627850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22627851, '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 (22589204,22589345,22589743,22590338,22590734,22590863,22591348,22591636,22592221,22592634,22593197,22593637,22594215,22594939,22595293,22596857,22597376,22597852,22598402,22598714,22599216,22599783,22600238,22600776,22601365,22601825,22604792,22605092,22605713,22606058,22606881,22607985,22608501,22609408,22609715,22610437,22610994,22611606,22613023,22613686,22614349,22615158,22615897,22616551,22617232,22618017,22618470,22619074,22619744,22620531,22620848,22621300,22621997,22622472,22623210,22624019,22624848,22625733,22626287,22627137,22627814) result : ((1355215214,), (1355217283,), (1355217308,), (1355217310,), (1355217312,), (1355217326,), (1355217329,), (1355217331,), (1355217350,), (1355217352,), (1355217354,), (1355217388,), (1355217378,), (1355217380,), (1355217382,), (1355217420,), (1355217422,), (1355217423,), (1355217424,), (1355217449,), (1355217454,), (1355217456,), (1355217458,), (1355217479,), (1355217481,), (1355217483,), (1355217485,), (1355217526,), (1355217529,), (1355217531,), (1355217533,), (1355217536,), (1355217565,), (1355217567,), (1355217570,), (1355217574,), (1355217593,), (1355217595,), (1355217596,), (1355217598,), (1355217599,), (1355217633,), (1355217636,), (1355217638,), (1355217652,), (1355217654,), (1355217656,), (1355217658,), (1355217681,), (1355217683,), (1355217685,), (1355217688,), (1355217736,), (1355217738,), (1355217740,), (1355217770,), (1355217772,), (1355217812,), (1355217815,), (1355217819,), (1355217824,), (1355217842,), (1355217844,), (1355217846,), (1355217850,), (1355217854,), (1355217882,), (1355217884,), (1355217886,), (1355217964,), (1355217960,), (1355217962,), (1355217979,), (1355217982,), (1355217984,), (1355217987,), (1355218010,), (1355218013,), (1355218016,), (1355218019,), (1355218023,), (1355218025,), (1355218041,), (1355218042,), (1355218044,), (1355218064,), (1355218066,), (1355218068,), (1355218113,), (1355218115,), (1355218119,), (1355218141,), (1355218144,), (1355218146,), (1355218149,), (1355218153,), (1355218165,), (1355218172,), (1355218173,), (1355218175,), (1355218177,), (1355218179,), (1355218203,), (1355218205,), (1355218206,), (1355218208,), (1355218241,), (1355218244,), (1355218246,), (1355218248,), (1355218279,), (1355218285,), (1355218286,), (1355218310,), (1355218313,), (1355218316,), (1355218320,), (1355218337,), (1355218339,), (1355218384,), (1355218367,), (1355218368,), (1355218369,), (1355218371,), (1355218379,), (1355218406,), (1355218410,), (1355218413,), (1355218416,), (1355218447,), (1355218449,), (1355218450,), (1355218451,), (1355218455,), (1355218478,), (1355218479,), (1355218480,), (1355218482,), (1355218520,), (1355218523,), (1355218525,), (1355218528,), (1355218549,), (1355218551,), (1355218552,), (1355218589,), (1355218595,), (1355218598,), (1355218601,), (1355218629,), (1355218631,), (1355218654,), (1355218656,), (1355218681,), (1355218683,), (1355218712,), (1355220813,), (1355221162,), (1355221163,), (1355221192,), (1355221194,), (1355221241,), (1355221264,), (1355221267,), (1355221292,), (1355221321,), (1355221322,), (1355221324,), (1355221348,), (1355221352,), (1355221353,), (1355221355,), (1355221358,), (1355221361,), (1355221386,), (1355221387,), (1355221388,), (1355221390,), (1355221416,), (1355221417,), (1355221418,), (1355221450,), (1355221451,), (1355221514,), (1355221512,), (1355221544,), (1355221546,), (1355221548,), (1355221565,), (1355221567,), (1355221571,), (1355221576,), (1355221580,), (1355221596,), (1355221597,), (1355221598,), (1355221600,), (1355221726,), (1355221728,), (1355221769,), (1355221798,), (1355221802,), (1355221830,), (1355221864,), (1355221867,), (1355221869,), (1355221871,), (1355221905,), (1355221909,), (1355221910,), (1355221945,), (1355221948,), (1355221950,), (1355221952,), (1355221993,), (1355221989,), (1355221992,), (1355222016,), (1355222017,), (1355222018,), (1355222021,), (1355222053,), (1355222055,), (1355222099,), (1355222101,), (1355222150,), (1355222153,), (1355222155,), (1355222158,), (1355222183,), (1355222184,), (1355222210,), (1355222211,), (1355222214,), (1355222218,), (1355222221,), (1355222240,), (1355222243,), (1355222245,), (1355222247,), (1355222271,), (1355222275,), (1355222301,), (1355222302,), (1355222304,), (1355222306,), (1355222310,), (1355222335,), (1355222336,), (1355222337,), (1355222339,), (1355222341,), (1355222343,), (1355222418,), (1355222445,), (1355222470,), (1355222637,), (1355222640,), (1355222643,), (1355222645,), (1355223454,), (1355223516,), (1355223594,), (1355224428,), (1355224379,), (1355224403,), (1355225245,), (1355225296,), (1355225369,), (1355225485,), (1355225870,), (1355225897,), (1355225923,), (1355225948,), (1355226531,), (1355226557,), (1355226744,), (1355226762,), (1355226973,), (1355226999,), (1355227027,), (1355227056,), (1355227086,), (1355227220,), (1355227224,), (1355227237,), (1355227268,), (1355227358,), (1355227360,), (1355227363,), (1355227370,), (1355227428,), (1355227431,), (1355227434,), (1355227589,), (1355227613,), (1355227615,), (1355227691,), (1355227692,), (1355227694,), (1355227696,), (1355227729,), (1355227732,), (1355227734,), (1355227737,), (1355227740,), (1355227763,), (1355227765,), (1355227767,), (1355227770,), (1355227811,), (1355227815,), (1355227819,), (1355227824,), (1355227829,), (1355227864,), (1355227866,), (1355227871,), (1355227875,), (1355227878,), (1355227918,), (1355227911,), (1355227915,), (1355227976,), (1355227980,), (1355228020,), (1355228024,), (1355228026,), (1355228028,), (1355228038,), (1355228101,), (1355228103,), (1355228108,), (1355228162,), (1355228164,), (1355228168,), (1355228173,), (1355228345,), (1355228347,), (1355228349,), (1355228352,), (1355228404,), (1355228406,), (1355228444,), (1355228447,), (1355228449,), (1355228452,), (1355228493,), (1355228538,), (1355228593,), (1355228714,), (1355228754,), (1355228973,), (1355228928,), (1355228938,), (1355228942,), (1355228946,), (1355228952,), (1355228958,), (1355228963,), (1355229116,), (1355229122,), (1355229132,), (1355229141,), (1355229148,), (1355229203,), (1355229208,), (1355229210,), (1355229257,), (1355229262,), (1355229264,), (1355229267,), (1355229323,), (1355229327,), (1355229331,), (1355229334,), (1355229339,), (1355229363,), (1355229366,), (1355229369,), (1355229373,), (1355229380,), (1355229408,), (1355229412,), (1355229417,), (1355229462,), (1355229466,), (1355229470,), (1355229474,), (1355229480,), (1355229484,), (1355229511,), (1355229514,), (1355229518,), (1355229523,), (1355229527,), (1355229557,), (1355229573,), (1355229579,), (1355229586,), (1355229592,), (1355229622,), (1355229626,), (1355229630,), (1355229632,), (1355229661,), (1355229667,), (1355229729,), (1355229733,), (1355229735,), (1355229738,), (1355229802,), (1355229805,), (1355229808,), (1355229950,), (1355229939,), (1355230057,), (1355230058,), (1355230060,), (1355230063,), (1355230118,), (1355230124,), (1355230129,), (1355230133,), (1355230139,), (1355230163,), (1355230165,), (1355230166,), (1355230169,), (1355230174,), (1355230224,), (1355230232,), (1355230245,), (1355230254,), (1355230337,), (1355230381,), (1355230396,), (1355230419,), (1355230423,), (1355230472,), (1355230477,), (1355230482,), (1355230545,), (1355230575,), (1355230580,), (1355230582,), (1355230583,), (1355230588,), (1355230592,), (1355230619,), (1355230623,), (1355230626,), (1355230631,), (1355230633,), (1355230638,), (1355230699,), (1355230703,), (1355230817,), (1355230821,), (1355231783,), (1355231878,), (1355231915,), (1355231944,), (1355231971,), (1355232367,), (1355232159,), (1355232204,), (1355232257,), (1355232311,), (1355232849,), (1355232875,), (1355232907,), (1355232941,), (1355232970,), (1355233375,), (1355233425,), (1355233791,), (1355233819,), (1355233930,), (1355233960,), (1355233991,), (1355234019,), (1355234302,), (1355234358,), (1355234360,), (1355234363,), (1355234366,), (1355234507,), (1355234509,), (1355234511,), (1355234514,), (1355234525,), (1355234599,), (1355234602,), (1355234604,), (1355234607,), (1355234674,), (1355234678,), (1355234684,), (1355234715,), (1355234744,), (1355234772,), (1355234943,), (1355234972,), (1355235001,), (1355235045,), (1355235076,), (1355235175,), (1355235177,), (1355235181,), (1355235187,), (1355235295,), (1355235316,), (1355235322,), (1355235432,), (1355235456,), (1355235458,), (1355235471,), (1355235591,), (1355235593,), (1355235596,), (1355235601,), (1355235623,), (1355235720,), (1355235723,), (1355235725,), (1355235727,), (1355235729,), (1355235781,), (1355235772,), (1355235776,), (1355235778,), (1355235833,), (1355235835,), (1355235838,), (1355235839,), (1355235844,), (1355235935,), (1355235945,), (1355235951,), (1355235956,), (1355236046,), (1355236053,), (1355236061,), (1355236067,), (1355236150,), (1355236153,), (1355236155,), (1355236158,), (1355236197,), (1355236201,), (1355236204,), (1355236278,), (1355236282,), (1355236286,), (1355236407,), (1355236415,), (1355236416,), (1355236420,), (1355236516,), (1355236519,), (1355236522,), (1355236525,), (1355236530,), (1355236567,), (1355236573,), (1355236581,), (1355236625,), (1355236628,), (1355236635,), (1355236644,), (1355236653,), (1355236750,), (1355236752,), (1355236754,), (1355236757,), (1355236899,), (1355236902,), (1355236905,), (1355236907,), (1355236911,), (1355236960,), (1355236963,), (1355236965,), (1355237012,), (1355237014,), (1355237087,), (1355237073,), (1355237077,), (1355237081,), (1355237083,), (1355237136,), (1355237140,), (1355237144,), (1355237148,), (1355237178,), (1355237183,), (1355237186,), (1355237188,), (1355237224,), (1355237314,), (1355237318,), (1355237321,), (1355237354,), (1355237357,), (1355237360,), (1355237396,), (1355237397,), (1355237401,), (1355237432,), (1355237447,), (1355237454,), (1355237477,), (1355237480,), (1355237483,), (1355237487,), (1355237490,), (1355237494,), (1355237518,), (1355237521,), (1355237559,), (1355237560,), (1355237563,), (1355237566,), (1355237570,), (1355237575,), (1355237633,), (1355237635,), (1355237638,), (1355237642,), (1355237645,), (1355237681,), (1355237683,), (1355237686,), (1355237689,), (1355237693,), (1355237738,), (1355237739,), (1355237741,), (1355237787,), (1355237789,), (1355237800,), (1355237803,), (1355237845,), (1355237847,), (1355237849,), (1355237944,), (1355237936,), (1355237937,), (1355237942,), (1355238004,), (1355238007,), (1355238117,), (1355238122,), (1355238124,), (1355238126,), (1355238151,), (1355238155,), (1355238231,), (1355238239,), (1355238250,), (1355238259,), (1355238381,), (1355238384,), (1355238386,), (1355238388,), (1355238391,), (1355238468,), (1355238476,), (1355238478,), (1355238482,), (1355238588,), (1355238884,), (1355238910,), (1355238951,), (1355238977,), (1355239000,), (1355239132,), (1355239145,), (1355239148,), (1355239157,), (1355239163,), (1355239211,), (1355239228,), (1355239239,), (1355239247,), (1355239251,), (1355239295,), (1355239313,), (1355239319,), (1355239324,), (1355239625,), (1355239677,), (1355239742,), (1355240362,), (1355240387,), (1355240419,), (1355240434,), (1355240451,), (1355241356,), (1355241362,), (1355241385,), (1355241445,), (1355241472,), (1355241573,), (1355245025,), (1355245032,), (1355245037,), (1355245215,), (1355245218,), (1355245221,), (1355245225,), (1355245229,), (1355245264,), (1355245317,), (1355245319,), (1355245323,), (1355245337,), (1355245407,), (1355245409,), (1355245412,), (1355245447,), (1355245452,), (1355245455,), (1355245459,), (1355245496,), (1355245498,), (1355245501,), (1355245503,), (1355245507,), (1355245548,), (1355245550,), (1355245592,), (1355245594,), (1355245596,), (1355245666,), (1355245668,), (1355245863,), (1355245890,), (1355245917,), (1355246154,), (1355246158,), (1355246162,), (1355246165,), (1355246439,), (1355246442,), (1355246445,), (1355246448,), (1355246450,), (1355246604,), (1355246624,), (1355246630,), (1355246685,), (1355246678,), (1355246733,), (1355246735,), (1355246791,), (1355247560,), (1355247586,), (1355247684,), (1355247687,), (1355247690,), (1355247732,), (1355247735,), (1355247739,), (1355247778,), (1355247780,), (1355247783,), (1355247822,), (1355248035,), (1355248036,), (1355248044,), (1355248105,), (1355248107,), (1355248149,), (1355248152,), (1355248155,), (1355248159,), (1355248196,), (1355248204,), (1355248551,), (1355248554,), (1355248557,), (1355248561,), (1355248564,), (1355249345,), (1355249381,), (1355249411,), (1355249443,), (1355249595,), (1355249647,), (1355250091,), (1355249960,), (1355250013,), (1355250063,), (1355250398,), (1355250402,), (1355250408,), (1355250410,), (1355250416,), (1355250419,), (1355250633,), (1355250655,), (1355250660,), (1355250662,), (1355250832,), (1355250840,), (1355250841,), (1355250843,), (1355250895,), (1355250897,), (1355250899,), (1355250902,), (1355250941,), (1355250943,), (1355251001,), (1355251004,), (1355251008,), (1355251016,), (1355251055,), (1355251058,), (1355251060,), (1355251064,), (1355251102,), (1355251105,), (1355251108,), (1355251152,), (1355251156,), (1355251159,), (1355251162,), (1355251169,), (1355251254,), (1355251256,), (1355251259,), (1355251266,), (1355251269,), (1355251272,), (1355251305,), (1355251306,), (1355251308,), (1355251347,), (1355251351,), (1355251354,), (1355251410,), (1355251411,), (1355251413,), (1355251414,), (1355251417,), (1355251708,), (1355251721,), (1355251726,), (1355251730,), (1355251739,), (1355251785,), (1355251782,), (1355251896,), (1355251901,), (1355252124,), (1355252188,), (1355252190,), (1355252193,), (1355252197,), (1355252202,), (1355252207,), (1355252238,), (1355252240,), (1355252243,), (1355252246,), (1355252249,), (1355252253,), (1355252284,), (1355252287,), (1355252291,), (1355252295,), (1355252300,), (1355252304,), (1355252336,), (1355252341,), (1355252346,), (1355252393,), (1355252396,), (1355252400,), (1355252415,), (1355252461,), (1355252464,), (1355252468,), (1355252472,), (1355252645,), (1355252642,), (1355252702,), (1355252706,), (1355252709,), (1355252713,), (1355252715,), (1355252755,), (1355252757,), (1355252814,), (1355252817,), (1355252820,), (1355252823,), (1355252843,), (1355253085,), (1355253147,), (1355253149,), (1355253151,), (1355253154,), (1355253156,), (1355253160,), (1355253197,), (1355253199,), (1355253202,), (1355253206,), (1355253249,), (1355253252,), (1355253255,), (1355253326,), (1355253329,), (1355253337,), (1355253374,), (1355253378,), (1355253381,), (1355253384,), (1355253388,), (1355253392,), (1355253423,), (1355253427,), (1355253430,), (1355253434,), (1355253440,), (1355253528,), (1355253529,), (1355253534,), (1355253594,), (1355253597,), (1355253600,), (1355253604,), (1355253666,), (1355253668,), (1355253690,), (1355253693,), (1355253733,), (1355253736,), (1355253739,), (1355253743,), (1355253746,), (1355253748,), (1355253778,), (1355253781,), (1355253855,), (1355253835,), (1355253837,), (1355253841,), (1355253911,), (1355253913,), (1355253915,), (1355253917,), (1355253919,), (1355253965,), (1355253969,), (1355253971,), (1355253975,), (1355253978,), (1355254021,), (1355254025,), (1355254029,), (1355254033,), (1355254036,), (1355254116,), (1355254119,), (1355254175,), (1355254179,), (1355254183,), (1355254234,), (1355254238,), (1355254241,), (1355254244,), (1355254281,), (1355254286,), (1355254343,), (1355254348,), (1355254357,), (1355254362,), (1355254667,), (1355254672,), (1355254675,), (1355254713,), (1355254719,), (1355254760,), (1355254764,), (1355254835,), (1355254839,), (1355254844,), (1355254960,), (1355254991,), (1355255022,), (1355255153,), (1355255184,), (1355255217,), (1355255249,), (1355255669,), (1355255612,), (1355256521,), (1355257225,), (1355257482,), (1355257910,), (1355257956,), (1355258439,), (1355258562,), (1355258722,), (1355258825,), (1355258896,), (1355259140,), (1355259168,), (1355259180,), (1355259183,), (1355259189,), (1355259472,), (1355259476,), (1355259481,), (1355259486,), (1355259536,), (1355259539,), (1355259541,), (1355259544,), (1355259610,), (1355259592,), (1355259608,), (1355259658,), (1355259661,), (1355259662,), (1355259665,), (1355259762,), (1355259782,), (1355259788,), (1355259794,), (1355259853,), (1355259855,), (1355259858,), (1355259862,), (1355259911,), (1355259916,), (1355259920,), (1355259970,), (1355259972,), (1355259975,), (1355260009,), (1355260013,), (1355260015,), (1355260020,), (1355260059,), (1355260063,), (1355260065,), (1355260069,), (1355260103,), (1355260106,), (1355260108,), (1355260112,), (1355260147,), (1355260151,), (1355260155,), (1355260211,), (1355260214,), (1355260216,), (1355260273,), (1355260276,), (1355260281,), (1355260285,), (1355260331,), (1355260334,), (1355260336,), (1355260340,), (1355260343,), (1355260347,), (1355260372,), (1355260376,), (1355260381,), (1355260387,), (1355260393,), (1355260429,), (1355260436,), (1355260443,), (1355260521,), (1355260511,), (1355260516,), (1355260581,), (1355260585,), (1355260591,), (1355260595,), (1355260949,), (1355261002,), (1355261062,), (1355261116,), (1355261489,), (1355261530,), (1355261540,), (1355261566,), (1355261588,), (1355262039,), (1355262102,), (1355262135,), (1355262406,), (1355262442,), (1355262500,), (1355262503,), (1355262508,), (1355262565,), (1355262567,), (1355262570,), (1355262575,), (1355262676,), (1355262679,), (1355262706,), (1355262721,), (1355262731,), (1355262736,), (1355262827,), (1355262832,), (1355262837,), (1355262846,), (1355262999,), (1355263033,), (1355263059,), (1355263098,), (1355263138,), (1355263702,), (1355263707,), (1355263711,), (1355263762,), (1355263766,), (1355263769,), (1355263771,), (1355263773,), (1355263818,), (1355263824,), (1355263828,), (1355263833,), (1355263839,), (1355263847,), (1355263900,), (1355263878,), (1355263883,), (1355263887,), (1355263895,), (1355263974,), (1355263979,), (1355264019,), (1355264023,), (1355264027,), (1355264032,), (1355264069,), (1355264073,), (1355264078,), (1355264084,), (1355264134,), (1355264138,), (1355264143,), (1355264149,), (1355264156,), (1355264231,), (1355264238,), (1355264242,), (1355264248,), (1355264251,), (1355264255,), (1355264286,), (1355264289,), (1355264292,), (1355264295,), (1355264470,), (1355264474,), (1355264480,), (1355264487,), (1355264545,), (1355264550,), (1355264557,), (1355264563,), (1355264622,), (1355264625,), (1355264628,), (1355264631,), (1355264669,), (1355264674,), (1355264678,), (1355264681,), (1355264688,), (1355264718,), (1355264903,), (1355264939,), (1355264976,), (1355265011,), (1355265041,), (1355266353,), (1355266423,), (1355266499,), (1355266943,), (1355266880,), (1355266914,), (1355267633,), (1355268599,), (1355268631,), (1355268663,), (1355268715,), (1355269181,), (1355269184,), (1355269206,), (1355269235,), (1355269270,), (1355269434,), (1355269461,), (1355269490,), (1355269529,), (1355269683,), (1355270114,), (1355270161,), (1355270177,), (1355270181,), (1355270436,), (1355270462,), (1355270494,), (1355270631,), (1355270634,), (1355270658,), (1355270686,), (1355270836,), (1355270839,), (1355270848,), (1355270856,), (1355270936,), (1355304850,), (1355304820,), (1355305245,), (1355305298,), (1355305869,), (1355305873,), (1355305877,), (1355306089,), (1355306092,), (1355306094,), (1355306172,), (1355306174,), (1355306179,), (1355306186,), (1355306411,), (1355306439,), (1355306651,), (1355306681,), (1355306708,), (1355306716,), (1355306751,), (1355306755,), (1355306757,), (1355306855,), (1355306853,), (1355307014,), (1355307032,), (1355307182,), (1355307219,), (1355307226,), (1355307289,), (1355307301,), (1355307303,), (1355307320,), (1355307634,), (1355307690,), (1355307740,), (1355307799,), (1355308210,), (1355308265,), (1355308311,), (1355308341,), (1355315123,), (1355315400,), (1355315428,), (1355315457,), (1355315485,), (1355315976,), (1355316005,), (1355316153,), (1355316185,), (1355316215,), (1355316248,), (1355316411,), (1355316463,), (1355316514,), (1355316571,), (1355316637,), (1355317428,), (1355317522,), (1355317617,), (1355317692,), (1355318558,), (1355319158,), (1355319179,), (1355319618,), (1355320152,), (1355320155,), (1355320165,), (1355321116,), (1355321210,), (1355322166,), (1355321979,), (1355322041,), (1355322099,), (1355322133,), (1355322562,), (1355322596,), (1355323507,), (1355323565,), (1355323585,), (1355323647,), (1355323712,), (1355324039,), (1355324101,), (1355324153,), (1355324241,), (1355324358,), (1355325009,), (1355325080,), (1355325139,), (1355325195,), (1355325260,), (1355325317,), (1355326042,), (1355326115,), (1355326187,), (1355327416,), (1355327447,), (1355327477,), (1355327500,), (1355328123,), (1355328176,), (1355328229,), (1355328903,), (1355328960,), (1355329018,), (1355329407,), (1355329410,), (1355329413,), (1355329912,), (1355329924,), (1355329928,), (1355330164,), (1355330172,), (1355330190,), (1355330377,), (1355330455,), (1355330534,), (1355330614,), (1355331189,), (1355331267,), (1355331335,), (1355331390,), (1355331446,), (1355331533,), (1355332134,), (1355332220,), (1355333015,), (1355332965,), (1355333007,), (1355333464,), (1355333497,), (1355333551,), (1355333592,), (1355333618,), (1355333911,), (1355333972,), (1355334047,), (1355334150,), (1355334221,), (1355334275,), (1355334708,), (1355334763,), (1355334973,), (1355335003,), (1355335030,), (1355335035,), (1355335045,), (1355335533,), (1355338339,), (1355345898,), (1355344574,), (1355345826,), (1355345871,), (1355346169,), (1355346220,), (1355346261,), (1355346300,), (1355346332,), (1355346537,), (1355346539,), (1355346542,), (1355346990,), (1355347035,), (1355347061,), (1355347071,), (1355347076,), (1355347396,), (1355347447,), (1355347484,), (1355347963,), (1355347988,), (1355348064,), (1355348437,), (1355348489,), (1355348520,), (1355348549,), (1355348579,), (1355348610,), (1355348688,), (1355348689,), (1355348717,), (1355348746,), (1355349225,), (1355349250,), (1355350585,), (1355350662,), (1355350716,), (1355352027,), (1355351891,), (1355351972,), (1355352843,), (1355352896,), (1355352992,), (1355353306,), (1355353336,), (1355353362,), (1355353411,), (1355354154,), (1355354208,), (1355354265,), (1355354318,), (1355354370,), (1355354983,), (1355355011,), (1355355032,), (1355355054,), (1355355084,), (1355355350,), (1355355555,), (1355356144,), (1355356200,), (1355356239,), (1355356379,), (1355356408,), (1355356417,), (1355356422,), (1355356453,), (1355356648,), (1355356656,), (1355356678,), (1355357044,), (1355357071,), (1355357137,), (1355357171,), (1355360424,), (1355361049,), (1355360999,), (1355362623,), (1355363465,), (1355363516,), (1355363615,), (1355363666,), (1355363721,), (1355364226,), (1355364271,), (1355364308,), (1355364338,), (1355364365,), (1355364411,), (1355364858,), (1355364862,), (1355364866,), (1355365106,), (1355365133,), (1355365161,), (1355365533,), (1355365593,), (1355365624,), (1355365654,), (1355365686,), (1355365707,), (1355365970,), (1355366007,), (1355366056,), (1355366100,), (1355366129,), (1355366218,), (1355366264,), (1355366500,), (1355366534,), (1355366562,), (1355366617,), (1355366671,), (1355366675,), (1355366679,), (1355366717,), (1355366721,), (1355366724,), (1355366786,), (1355366791,), (1355366796,), (1355366802,), (1355366901,), (1355366872,), (1355366876,), (1355366880,), (1355366885,), (1355366895,), (1355366924,), (1355366929,), (1355366964,), (1355366972,), (1355366977,), (1355366981,), (1355367168,), (1355367171,), (1355367193,), (1355367196,), (1355367219,), (1355367229,), (1355367250,), (1355367281,), (1355367312,), (1355367462,), (1355367470,), (1355367487,), (1355367489,), (1355367503,), (1355367532,), (1355367561,), (1355368688,), (1355372054,), (1355372047,), (1355372424,), (1355372471,), (1355372507,), (1355373148,), (1355373175,), (1355373205,), (1355373244,), (1355373570,), (1355373601,), (1355373637,), (1355373783,), (1355374027,), (1355374038,), (1355374042,), (1355374047,), (1355374084,), (1355374089,), (1355374142,), (1355374748,), (1355374762,), (1355374766,), (1355374773,), (1355374776,), (1355375195,), (1355375223,), (1355375256,), (1355375304,), (1355375334,), (1355375365,), (1355376008,), (1355376090,), (1355376167,), (1355376270,), (1355376399,), (1355376491,), (1355378026,), (1355378082,), (1355378642,), (1355378559,), (1355378586,), (1355378594,), (1355378607,), (1355378936,), (1355378973,), (1355379000,), (1355379031,), (1355379148,), (1355379168,), (1355379199,), (1355379661,), (1355379866,), (1355380073,), (1355380183,), (1355380281,), (1355381022,), (1355381076,), (1355381128,), (1355381180,), (1355381715,), (1355381742,), (1355381770,), (1355381813,), (1355381877,), (1355383039,), (1355383121,), (1355383834,), (1355383841,), (1355383854,), (1355383858,), (1355384031,), (1355384062,), (1355384093,), (1355384124,), (1355384630,), (1355384871,), (1355384927,), (1355384971,), (1355385644,), (1355385711,), (1355385754,), (1355385853,), (1355386149,), (1355386473,), (1355387662,), (1355387695,), (1355387771,), (1355388195,), (1355388223,), (1355388263,), (1355388350,), (1355389242,), (1355389313,), (1355389482,), (1355389537,), (1355389589,), (1355390012,), (1355390052,), (1355390081,), (1355390295,), (1355391562,), (1355391314,), (1355391343,), (1355391471,), (1355391848,), (1355391896,), (1355391951,), (1355392000,), (1355392050,), (1355392935,), (1355392976,), (1355393021,), (1355393054,), (1355393082,), (1355393122,), (1355393378,), (1355393528,), (1355393629,), (1355393676,), (1355393811,), (1355393815,), (1355393817,), (1355394140,), (1355394166,), (1355394199,), (1355394470,), (1355394528,), (1355394555,), (1355394582,), (1355394614,), (1355394642,), (1355394717,), (1355394721,), (1355394726,), (1355394729,), (1355394840,), (1355394877,), (1355394902,), (1355394907,), (1355394912,), (1355394918,), (1355394937,), (1355394942,), (1355394947,), (1355394987,), (1355394989,), (1355395169,), (1355395196,), (1355395307,), (1355395309,), (1355395312,), (1355404964,), (1355404953,), (1355404959,), (1355405041,), (1355405070,), (1355405096,), (1355405122,), (1355405162,), (1355405211,), (1355405353,), (1355405433,), (1355405724,), (1355405726,), (1355405729,), (1355405733,), (1355405882,), (1355405888,), (1355405904,), (1355405907,), (1355405932,), (1355406042,), (1355406072,), (1355406083,), (1355406255,), (1355406258,), (1355406260,), (1355406264,), (1355406279,), (1355406289,), (1355406351,), (1355406356,), (1355406402,), (1355406404,), (1355406427,), (1355406430,), (1355406617,), (1355406647,), (1355406700,), (1355406883,), (1355406920,), (1355406922,), (1355406925,), (1355407390,), (1355407446,), (1355407674,), (1355408122,), (1355408166,), (1355408197,), (1355408206,), (1355408525,), (1355408464,), (1355408513,), (1355408907,), (1355408951,), (1355408960,), (1355408994,), (1355409607,), (1355409638,), (1355409682,), (1355409709,), (1355409926,), (1355409929,), (1355409936,), (1355409941,), (1355409973,), (1355410006,), (1355410244,), (1355410261,), (1355410265,), (1355410270,), (1355410310,), (1355410312,), (1355410316,), (1355410357,), (1355410359,), (1355410362,), (1355410366,), (1355410425,), (1355410427,), (1355410430,), (1355410433,), (1355410746,), (1355411513,), (1355411543,), (1355411611,), (1355411927,), (1355411981,), (1355412175,), (1355412407,), (1355412533,), (1355412754,), (1355412905,), (1355412990,), (1355413076,), (1355413090,), (1355413095,), (1355413118,), (1355413149,), (1355413191,), (1355413229,), (1355413254,), (1355413266,), (1355413270,), (1355413371,), (1355413378,), (1355413390,), (1355413394,), (1355413717,), (1355413566,), (1355413570,), (1355413797,), (1355413801,), (1355413803,), (1355414066,), (1355414107,), (1355414141,), (1355414174,), (1355414317,), (1355414321,), (1355414347,), (1355414746,), (1355414776,), (1355414840,), (1355415069,), (1355415085,), (1355415094,), (1355415099,), (1355415103,), (1355415235,), (1355415550,), (1355415599,), (1355415633,), (1355415730,), (1355415975,), (1355416005,), (1355416037,), (1355416071,), (1355416101,), (1355416409,), (1355416442,), (1355416902,), (1355416934,), (1355416988,), (1355417308,), (1355417345,), (1355417366,), (1355417372,), (1355417432,), (1355417415,), (1355417420,), (1355417423,), (1355417426,), (1355417462,), (1355417466,), (1355417470,), (1355417511,), (1355417515,), (1355417533,), (1355417547,), (1355417848,), (1355417897,), (1355418188,), (1355418191,), (1355418200,), (1355418348,), (1355418391,), (1355418422,), (1355418452,), (1355418481,), (1355418777,), (1355418851,), (1355418917,), (1355418984,), (1355419029,), (1355419059,), (1355419533,), (1355419595,), (1355419665,), (1355420180,), (1355420240,), (1355420291,), (1355420343,), (1355420392,), (1355420618,), (1355420621,), (1355420625,), (1355420629,), (1355421025,), (1355421027,), (1355421029,), (1355421031,), (1355421033,), (1355421422,), (1355421455,), (1355423748,), (1355423713,), (1355424119,), (1355424155,), (1355424362,), (1355424366,), (1355424391,), (1355424524,), (1355424528,), (1355424533,), (1355424641,), (1355424678,), (1355424706,), (1355424736,), (1355424751,), (1355424774,), (1355424838,), (1355424843,), (1355424847,), (1355424851,), (1355424855,), (1355425118,), (1355425131,), (1355425134,), (1355425651,), (1355425681,), (1355425763,), (1355426190,), (1355426221,), (1355426264,), (1355426293,), (1355426322,), (1355426489,), (1355426519,), (1355426795,), (1355426876,), (1355427253,), (1355427265,), (1355427290,), (1355427337,), (1355427518,), (1355427523,), (1355427528,), (1355427535,), (1355427706,), (1355427870,), (1355428112,), (1355428141,), (1355428343,), (1355428318,), (1355428321,), (1355428325,), (1355428689,), (1355428724,), (1355428924,), (1355428955,), (1355428984,), (1355429209,), (1355429219,), (1355429255,), (1355429685,), (1355429722,), (1355429897,), (1355429910,), (1355429913,), (1355429928,), (1355430089,), (1355430092,), (1355430097,), (1355430100,), (1355430106,), (1355430136,), (1355430140,), (1355430145,), (1355430149,), (1355430230,), (1355430233,), (1355430253,), (1355430255,), (1355430373,), (1355430377,), (1355430471,), (1355430475,), (1355430480,), (1355430485,), (1355430490,), (1355430531,), (1355430535,), (1355430541,), (1355430572,), (1355430575,), (1355430579,), (1355430584,), (1355430589,), (1355430618,), (1355430621,), (1355430644,), (1355430678,), (1355430722,), (1355430757,), (1355430992,), (1355431022,), (1355431467,), (1355431962,), (1355431851,), (1355431885,), (1355431918,), (1355432305,), (1355432338,), (1355432360,), (1355432371,), (1355432569,), (1355432972,), (1355432975,), (1355432979,), (1355433010,), (1355433076,), (1355433121,), (1355433151,), (1355433292,), (1355433296,), (1355433325,), (1355433352,), (1355433601,), (1355433659,), (1355433716,), (1355433759,), (1355434128,), (1355434319,), (1355434351,), (1355434573,), (1355434576,), (1355434580,), (1355434585,), (1355434765,), (1355434770,), (1355434776,), (1355434825,), (1355434829,), (1355434836,), (1355435053,), (1355435080,), (1355435108,), (1355435138,), (1355435175,), (1355435312,), (1355435333,), (1355435348,), (1355435360,), (1355435375,), (1355435468,), (1355435470,), (1355435473,), (1355435750,), (1355435783,), (1355435853,), (1355435958,), (1355436003,), (1355436036,), (1355436460,), (1355436414,), (1355436435,), (1355436440,), (1355436446,), (1355436450,), (1355436484,), (1355436488,), (1355436491,), (1355436496,), (1355436502,), (1355436527,), (1355436615,), (1355436624,), (1355436630,), (1355436654,), (1355436657,), (1355436712,), (1355436729,), (1355436733,), (1355436749,), (1355436757,), (1355436794,), (1355436804,), (1355436831,), (1355436866,), (1355437173,), (1355437178,), (1355437182,), (1355437186,), (1355437217,), (1355437221,), (1355437263,), (1355437267,), (1355437269,), (1355437272,), (1355437276,), (1355437312,), (1355437314,), (1355437318,), (1355437324,), (1355437336,), (1355437342,), (1355437358,), (1355437361,), (1355437366,), (1355437409,), (1355437412,), (1355437419,), (1355437435,), (1355437456,), (1355437795,), (1355437849,), (1355437889,), (1355437922,), (1355438423,), (1355438430,), (1355438435,), (1355438442,), (1355438501,), (1355438485,), (1355438493,), (1355438498,), (1355438552,), (1355438563,), (1355438569,), (1355438572,), (1355438576,), (1355438633,), (1355438644,), (1355438648,), (1355438653,), (1355438673,), (1355438678,), (1355438719,), (1355438724,), (1355438727,), (1355438749,), (1355438781,), (1355438783,), (1355438786,), (1355438790,), (1355438793,), (1355438821,), (1355438822,), (1355438824,), (1355438827,), (1355438877,), (1355438881,), (1355438884,), (1355438917,), (1355438921,), (1355438924,), (1355438928,), (1355438931,), (1355438975,), (1355438978,), (1355438980,), (1355438984,), (1355439076,), (1355439107,), (1355439122,), (1355439124,), (1355439167,), (1355439171,), (1355439174,), (1355439222,), (1355439228,), (1355439348,), (1355439362,), (1355439371,), (1355439376,), (1355439589,), (1355439616,), (1355439645,), (1355439682,), (1355439717,), (1355440081,), (1355440025,), (1355440052,), (1355440440,), (1355440472,), (1355440511,), (1355440545,), (1355440575,), (1355440603,), (1355440875,), (1355440907,), (1355440945,), (1355440976,), (1355441268,), (1355441302,), (1355441313,), (1355441330,), (1355441337,), (1355441462,), (1355441492,), (1355441549,), (1355442049,), (1355442082,), (1355442110,), (1355442143,), (1355442628,), (1355442685,), (1355443327,), (1355443358,), (1355443393,), (1355443419,), (1355443587,), (1355443590,), (1355443592,), (1355444692,), (1355444694,), (1355444695,), (1355444697,), (1355444735,), (1355444738,), (1355444741,), (1355444744,), (1355444749,), (1355444753,), (1355444780,), (1355444784,), (1355444786,), (1355444789,), (1355444863,), (1355444839,), (1355444844,), (1355444848,), (1355444852,), (1355444857,), (1355444900,), (1355444905,), (1355444907,), (1355444909,), (1355444952,), (1355444958,), (1355444961,), (1355444964,), (1355445149,), (1355445152,), (1355445156,), (1355445252,), (1355445255,), (1355445258,), (1355445334,), (1355445335,), (1355445338,), (1355445352,), (1355445393,), (1355445426,), (1355445447,), (1355445453,), (1355445456,), (1355445458,), (1355445462,), (1355445490,), (1355445492,), (1355445497,), (1355445500,), (1355445526,), (1355445528,), (1355445531,), (1355445533,), (1355445536,), (1355445540,), (1355445572,), (1355445575,), (1355445578,), (1355445619,), (1355445627,), (1355445631,), (1355445634,), (1355448959,), (1355448925,), (1355449360,), (1355449391,), (1355452387,), (1355452432,), (1355452494,), (1355452778,), (1355452813,), (1355452849,), (1355452882,), (1355452917,), (1355452948,), (1355452995,), (1355453149,), (1355453196,), (1355453227,), (1355453261,), (1355453599,), (1355453898,), (1355453903,), (1355453915,), (1355453919,), (1355453925,), (1355453937,), (1355453941,), (1355453954,), (1355453961,), (1355453972,), (1355454003,), (1355454008,), (1355454013,), (1355454016,), (1355454019,), (1355454049,), (1355454055,), (1355454060,), (1355454101,), (1355454082,), (1355454088,), (1355454093,), (1355454097,), (1355454120,), (1355454124,), (1355454129,), (1355454133,), (1355454169,), (1355454181,), (1355454187,), (1355454190,), (1355454194,), (1355454199,), (1355454232,), (1355454234,), (1355454252,), (1355454325,), (1355454328,), (1355454332,), (1355454338,), (1355454343,), (1355454397,), (1355454400,), (1355454404,), (1355454409,), (1355454472,), (1355454476,), (1355454481,), (1355454536,), (1355454537,), (1355454596,), (1355454601,), (1355454603,), (1355454607,), (1355454625,), (1355454631,), (1355454663,), (1355454665,), (1355454669,), (1355454711,), (1355454712,), (1355454714,), (1355454718,), (1355454723,), (1355454732,), (1355454770,), (1355454778,), (1355454782,), (1355454788,), (1355454794,), (1355454978,), (1355454998,), (1355455005,), (1355455011,), (1355455051,), (1355455053,), (1355455057,), (1355455061,), (1355455066,), (1355455113,), (1355455116,), (1355455120,), (1355455125,), (1355455130,), (1355455133,), (1355455177,), (1355455160,), (1355455164,), (1355455168,), (1355455172,), (1355455205,), (1355455210,), (1355455215,), (1355455221,), (1355455228,), (1355455235,), (1355455260,), (1355455264,), (1355455275,), (1355455282,), (1355455287,), (1355455500,), (1355455506,), (1355455511,), (1355455517,), (1355455523,), (1355455530,), (1355455553,), (1355455558,), (1355455562,), (1355455611,), (1355455626,), (1355455633,), (1355455638,), (1355455644,), (1355455671,), (1355455676,), (1355455681,), (1355455700,), (1355455705,), (1355455729,), (1355455744,), (1355455748,), (1355455755,), (1355455792,), (1355455795,), (1355455845,), (1355455849,), (1355455855,), (1355455873,), (1355455911,), (1355455939,), (1355455945,), (1355456004,), (1355456008,), (1355456012,), (1355456019,), (1355456029,), (1355456059,), (1355456099,), (1355456103,), (1355456105,), (1355456146,), (1355456168,), (1355456173,), (1355456177,), (1355456531,), (1355456581,), (1355456584,), (1355456589,), (1355456595,), (1355456882,), (1355456865,), (1355456872,), (1355456876,), (1355456879,), (1355456963,), (1355456988,), (1355457014,), (1355457044,), (1355457133,), (1355457161,), (1355457189,), (1355457198,), (1355457203,), (1355457227,), (1355457230,), (1355457269,), (1355457285,), (1355457291,), (1355457296,), (1355457339,), (1355457343,), (1355457346,), (1355457386,), (1355457422,), (1355457452,), (1355457485,), (1355457522,), (1355457802,), (1355457806,), (1355457811,), (1355457835,), (1355457868,), (1355457943,), (1355457947,), (1355457950,), (1355457954,), (1355457958,), (1355458006,), (1355458009,), (1355458083,), (1355458086,), (1355458088,), (1355458093,), (1355458121,), (1355458126,), (1355458130,), (1355458141,), (1355458183,), (1355458185,), (1355458193,), (1355458202,), (1355458209,), (1355458765,), (1355458788,), (1355458794,), (1355458819,), (1355458845,), (1355458873,), (1355458901,), (1355458909,), (1355458981,), (1355458956,), (1355458961,), (1355458965,), (1355458971,), (1355458976,), (1355459035,), (1355459044,), (1355459050,), (1355459098,), (1355459100,), (1355459104,), (1355459117,), (1355459146,), (1355459193,), (1355459482,), (1355459511,), (1355459541,), (1355459570,), (1355459606,), (1355459919,), (1355459946,), (1355459995,), (1355460025,), (1355461044,), (1355461049,), (1355461052,), (1355461363,), (1355461385,), (1355461432,), (1355461484,), (1355461539,), (1355462275,), (1355462325,), (1355462381,), (1355462455,), (1355462539,), (1355463198,), (1355463252,), (1355463993,), (1355464028,), (1355464057,), (1355464084,), (1355464124,), (1355464154,), (1355464262,), (1355464267,), (1355464289,), (1355464293,), (1355464317,), (1355464345,), (1355464770,), (1355464823,), (1355464868,), (1355464898,), (1355464933,), (1355464965,), (1355465110,), (1355465151,), (1355465474,), (1355465485,), (1355465489,), (1355465493,), (1355465499,), (1355465503,), (1355465523,), (1355465527,), (1355465531,), (1355465534,), (1355465539,), (1355465541,), (1355465574,), (1355465569,), (1355465572,), (1355465759,), (1355465789,), (1355465815,), (1355465841,), (1355465871,), (1355466162,), (1355466192,), (1355466220,), (1355466258,), (1355466290,), (1355466633,), (1355466658,), (1355466689,), (1355466744,), (1355466836,), (1355467375,), (1355467434,), (1355467664,), (1355467727,), (1355467791,), (1355467848,), (1355468186,), (1355468273,), (1355470449,), (1355470699,), (1355470738,), (1355470790,), (1355471563,), (1355471592,), (1355471673,), (1355472081,), (1355472114,), (1355472163,), (1355472243,), (1355472780,), (1355472808,), (1355472835,), (1355472864,), (1355472892,), (1355473193,), (1355473223,), (1355473255,), (1355473288,), (1355473421,), (1355473426,), (1355473429,), (1355473433,), (1355473436,), (1355473714,), (1355473771,), (1355473824,), (1355473876,), (1355473922,), (1355474590,), (1355474643,), (1355474695,), (1355474753,), (1355475444,), (1355475472,), (1355475500,), (1355475509,), (1355475513,), (1355475706,), (1355475532,), (1355475586,), (1355475619,), (1355475651,), (1355475678,), (1355476005,), (1355476034,), (1355476080,), (1355476297,), (1355476312,), (1355476317,), (1355476374,), (1355476378,), (1355476383,), (1355476393,), (1355476405,), (1355476413,), (1355476713,), (1355476721,), (1355476726,), (1355476740,), (1355476750,), (1355476773,), (1355476799,), (1355476827,), (1355476859,), (1355478491,), (1355478579,), (1355479417,), (1355479484,), (1355479540,), (1355479596,), (1355479724,), (1355480065,), (1355480301,), (1355480303,), (1355480307,), (1355480363,), (1355480465,), (1355480469,), (1355480484,), (1355480515,), (1355480549,), (1355481138,), (1355481216,), (1355481298,), (1355481382,), (1355481436,), (1355482168,), (1355482235,), (1355482322,), (1355482394,), (1355483062,), (1355483112,), (1355483165,), (1355483219,), (1355483273,), (1355483570,), (1355483606,), (1355483670,), (1355483741,), (1355483801,), (1355483850,), (1355484253,), (1355484257,), (1355484285,), (1355484674,), (1355484640,), (1355484664,), (1355484896,), (1355484926,), (1355484991,), (1355485026,), (1355485341,), (1355485374,), (1355485394,), (1355485398,), (1355485542,), (1355485552,), (1355485554,), (1355485634,), (1355485639,), (1355485646,), (1355485654,), (1355485668,), (1355485745,), (1355485746,), (1355485747,), (1355485759,), (1355485911,), (1355485912,), (1355485914,), (1355485917,), (1355485919,), (1355485951,), (1355485956,), (1355485961,), (1355485965,), (1355486009,), (1355486014,), (1355486018,), (1355486325,), (1355486330,), (1355486337,), (1355486342,), (1355486347,), (1355486462,), (1355486477,), (1355486486,), (1355486491,), (1355486521,), (1355486523,), (1355486526,), (1355486531,), (1355486536,), (1355486569,), (1355486579,), (1355486594,), (1355487581,), (1355487610,), (1355487617,), (1355487649,), (1355487683,), (1355487730,), (1355488274,), (1355488082,), (1355488209,), (1355488236,), (1355488268,), (1355488320,), (1355488362,), (1355488526,), (1355488728,), (1355488781,), (1355488812,), (1355489192,), (1355489204,), (1355489214,), (1355489251,), (1355489327,), (1355489329,), (1355489332,), (1355489350,), (1355489354,), (1355489360,), (1355489397,), (1355489427,), (1355489457,), (1355489729,), (1355489759,), (1355489790,), (1355489833,), (1355489895,), (1355489948,), (1355490544,), (1355490590,), (1355490622,), (1355490783,), (1355490785,), (1355490821,), (1355490896,), (1355490956,), (1355491144,), (1355491167,), (1355491195,), (1355491335,), (1355491338,), (1355491340,), (1355491342,), (1355491376,), (1355491380,), (1355491382,), (1355491387,), (1355491430,), (1355491435,), (1355491439,), (1355491445,), (1355491451,), (1355491456,), (1355491475,), (1355491481,), (1355491486,), (1355491492,), (1355491496,), (1355491500,), (1355491634,), (1355491744,), (1355492435,), (1355492491,), (1355492546,), (1355492600,), (1355492967,), (1355492836,), (1355492897,), (1355492933,), (1355492961,), (1355493124,), (1355493177,), (1355493689,), (1355493777,), (1355493857,), (1355493949,), (1355493952,), (1355493955,), (1355494757,), (1355494760,), (1355494766,), (1355494771,), (1355494776,), (1355495025,), (1355495034,), (1355495115,), (1355495127,), (1355495204,), (1355495210,), (1355495214,), (1355495219,), (1355495224,), (1355495228,), (1355495340,), (1355495374,), (1355496022,), (1355496053,), (1355496082,), (1355496109,), (1355496156,), (1355496185,), (1355496232,), (1355496235,), (1355496239,), (1355496258,), (1355496464,), (1355496515,), (1355496546,), (1355496577,), (1355496581,), (1355496585,), (1355496622,), (1355496625,), (1355496627,), (1355496632,), (1355496671,), (1355496673,), (1355496677,), (1355496684,), (1355496689,), (1355496716,), (1355496728,), (1355496753,), (1355496780,), (1355496813,), (1355497199,), (1355497109,), (1355497137,), (1355497167,), (1355497509,), (1355497538,), (1355497612,), (1355497728,), (1355497829,), (1355497831,), (1355497834,), (1355497838,), (1355497855,), (1355498256,), (1355498328,), (1355498399,), (1355498471,), (1355498536,), (1355498599,), (1355499115,), (1355499907,), (1355500116,), (1355500172,), (1355500208,), (1355500629,), (1355500676,), (1355500683,), (1355500687,), (1355500726,), (1355500912,), (1355500991,), (1355501009,), (1355501099,), (1355501416,), (1355501437,), (1355501596,), (1355501635,), (1355501638,), (1355501646,), (1355501666,), (1355501668,), (1355501672,), (1355501676,), (1355501680,), (1355501699,), (1355501702,), (1355501706,), (1355501710,), (1355501737,), (1355501740,), (1355501743,), (1355501747,), (1355501752,), (1355501787,), (1355501792,), (1355501816,), (1355501820,), (1355501824,), (1355501829,), (1355501910,), (1355501900,), (1355501902,), (1355501906,), (1355501937,), (1355501941,), (1355501945,), (1355501948,), (1355501990,), (1355501993,), (1355501996,), (1355501999,), (1355502032,), (1355502038,), (1355502065,), (1355502068,), (1355502071,), (1355502075,), (1355502077,), (1355502134,), (1355502138,), (1355502141,), (1355502154,), (1355502181,), (1355502183,), (1355502185,), (1355502186,), (1355502190,), (1355502235,), (1355502237,), (1355502240,), (1355502243,), (1355502248,), (1355502268,), (1355502270,), (1355502273,), (1355502304,), (1355502308,), (1355502333,), (1355502336,), (1355502341,), (1355502354,), (1355502382,), (1355502827,), (1355502872,), (1355502920,), (1355502949,), (1355503246,), (1355503277,), (1355503307,), (1355503336,), (1355503855,), (1355503879,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02052025': {'nb_upload': 39, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22597376]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] map_info['map_portfolio_photo'] : {22597376: [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678]} final : True mtd_id 4302 list_pids : [1355250091, 1355249647, 1355249595, 1355249443, 1355249411, 1355249381, 1355249345, 1355248564, 1355248561, 1355248557, 1355248554, 1355248551, 1355248204, 1355248196, 1355248159, 1355248155, 1355248152, 1355248149, 1355248107, 1355248105, 1355248044, 1355248036, 1355248035, 1355247822, 1355247783, 1355247780, 1355247778, 1355247739, 1355247735, 1355247732, 1355247690, 1355247687, 1355247684, 1355247586, 1355247560, 1355246791, 1355246735, 1355246733, 1355246678] Looping around the photos to save general results len do output : 1 /22597376Didn'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, '2786980') ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980') ('4302', None, None, None, None, None, None, None, '2786980') ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22597376', 'None', None, None, None, None, '2786980'), ('4302', '22597376', '1355250091', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249647', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249595', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249443', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249411', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249381', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355249345', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248564', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248561', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248557', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248554', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248551', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248204', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248196', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248159', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248155', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248152', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248149', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248107', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248105', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248044', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248036', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355248035', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247822', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247783', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247780', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247778', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247739', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247732', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247690', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247687', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247684', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247586', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355247560', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246791', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246735', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246733', None, None, None, None, None, '2786980'), ('4302', '22597376', '1355246678', None, None, None, None, None, '2786980')] time used for this insertion : 0.017554759979248047 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.541947841644287 time spend to save output : 0.01792597770690918 total time spend for step 5 : 3.5598738193511963 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 (2786980) 3.63user 1.60system 0:21.96elapsed 23%CPU (0avgtext+0avgdata 168356maxresident)k 608inputs+26000outputs (0major+92298minor)pagefaults 0swaps