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 : 209723 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 (2747305) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2747305) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250905 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2747305'] with mtr_portfolio_ids : ['22250905'] and first list_photo_ids : [] new path : /proc/209723/ Name: python3 Umask: 0002 State: R (running) Tgid: 209723 Ngid: 0 Pid: 209723 PPid: 209718 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 209723 NSpid: 209723 NSpgid: 208464 NSsid: 208464 VmPeak: 1106940 kB VmSize: 1106940 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97908 kB VmRSS: 97908 kB RssAnon: 59808 kB RssFile: 38100 kB RssShmem: 0 kB VmData: 865688 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 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: 44 nonvoluntary_ctxt_switches: 142 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '209723', 'Ngid': '0', 'Pid': '209723', 'PPid': '209718', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '209723', 'NSpid': '209723', 'NSpgid': '208464', 'NSsid': '208464', 'VmPeak': '1106940 kB', 'VmSize': '1106940 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97908 kB', 'VmRSS': '97908 kB', 'RssAnon': '59808 kB', 'RssFile': '38100 kB', 'RssShmem': '0 kB', 'VmData': '865688 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 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': '44', 'nonvoluntary_ctxt_switches': '142'} ('datou_batch_current', '209723', '1106940', '0', '1106940', '865688', '97908', b'', 'marlene', '2747305') 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 (22250905) 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 (2747305 ) ) 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 (22250905) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1351463512, 'portfolio_id': 22250905}, {'photo_id': 1351463386, 'portfolio_id': 22250905}, {'photo_id': 1351462835, 'portfolio_id': 22250905}, {'photo_id': 1351462821, 'portfolio_id': 22250905}, {'photo_id': 1351462818, 'portfolio_id': 22250905}, {'photo_id': 1351462815, 'portfolio_id': 22250905}, {'photo_id': 1351462809, 'portfolio_id': 22250905}, {'photo_id': 1351462674, 'portfolio_id': 22250905}, {'photo_id': 1351462672, 'portfolio_id': 22250905}, {'photo_id': 1351462668, 'portfolio_id': 22250905}, {'photo_id': 1351462665, 'portfolio_id': 22250905}, {'photo_id': 1351462608, 'portfolio_id': 22250905}, {'photo_id': 1351462553, 'portfolio_id': 22250905}, {'photo_id': 1351462459, 'portfolio_id': 22250905}, {'photo_id': 1351462357, 'portfolio_id': 22250905}, {'photo_id': 1351462345, 'portfolio_id': 22250905}, {'photo_id': 1351462336, 'portfolio_id': 22250905}, {'photo_id': 1351462331, 'portfolio_id': 22250905}, {'photo_id': 1351462329, 'portfolio_id': 22250905}, {'photo_id': 1351462289, 'portfolio_id': 22250905}, {'photo_id': 1351462283, 'portfolio_id': 22250905}, {'photo_id': 1351462279, 'portfolio_id': 22250905}, {'photo_id': 1351462278, 'portfolio_id': 22250905}, {'photo_id': 1351462275, 'portfolio_id': 22250905}, {'photo_id': 1351462252, 'portfolio_id': 22250905}, {'photo_id': 1351462250, 'portfolio_id': 22250905}, {'photo_id': 1351462246, 'portfolio_id': 22250905}, {'photo_id': 1351462240, 'portfolio_id': 22250905}, {'photo_id': 1351462217, 'portfolio_id': 22250905}, {'photo_id': 1351462215, 'portfolio_id': 22250905}, {'photo_id': 1351462213, 'portfolio_id': 22250905}, {'photo_id': 1351462169, 'portfolio_id': 22250905}, {'photo_id': 1351460406, 'portfolio_id': 22250905}] map_portfolio_id_photo_id: {22250905: [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406]} ##### 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.039298295974731445 #### 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 Apr 12 05:34:27 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 (22250905) 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 : 22250905 get user id for portfolio 22250905 get sub ptf for main ptf 22250905, type 3726 and hashtags ['flou', 'papier', 'Teint_Dans_La_Masse', 'Carton_brun', 'environnement', 'kraft', 'cartonnette', 'Carton_gris', 'autre_refus', 'mal_croppe', 'plastique', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22250905 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','Carton_brun','environnement','kraft','cartonnette','Carton_gris','autre_refus','mal_croppe','plastique','metal')) 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`=22250905 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','Carton_brun','environnement','kraft','cartonnette','Carton_gris','autre_refus','mal_croppe','plastique','metal')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22250905, 'sub_port_id': 22250907, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719839, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'metal': {'main_port_id': 22250905, 'sub_port_id': 22250908, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719840, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'Carton_gris': {'main_port_id': 22250905, 'sub_port_id': 22250909, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719841, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'environnement': {'main_port_id': 22250905, 'sub_port_id': 22250910, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719842, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'mal_croppe': {'main_port_id': 22250905, 'sub_port_id': 22250911, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719843, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'autre_refus': {'main_port_id': 22250905, 'sub_port_id': 22250912, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719844, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22250905, 'sub_port_id': 22250913, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719845, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'plastique': {'main_port_id': 22250905, 'sub_port_id': 22250914, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719846, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'Carton_brun': {'main_port_id': 22250905, 'sub_port_id': 22250915, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719847, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'cartonnette': {'main_port_id': 22250905, 'sub_port_id': 22250916, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719848, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'flou': {'main_port_id': 22250905, 'sub_port_id': 22250917, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719849, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}, 'kraft': {'main_port_id': 22250905, 'sub_port_id': 22250918, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719850, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22250907 , 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=22250905 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 (22250907) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250908 , 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=22250905 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 (22250908) result : ((1351462858,), (1351462859,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250909 , 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=22250905 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 (22250909) result : ((1351462641,), (1351462642,), (1351462656,), (1351463541,), (1351463542,), (1351467169,), (1351467170,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250910 , 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=22250905 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 (22250910) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250911 , 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=22250905 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 (22250911) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250912 , 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=22250905 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 (22250912) result : ((1351462640,), (1351462851,), (1351463521,), (1351463522,), (1351463539,), (1351467157,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250913 , 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=22250905 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 (22250913) result : ((1351462284,), (1351462285,), (1351462634,), (1351462635,), (1351462636,), (1351462652,), (1351462653,), (1351462654,), (1351462655,), (1351462844,), (1351462845,), (1351462846,), (1351462847,), (1351463410,), (1351463411,), (1351463534,), (1351463535,), (1351463536,), (1351463537,), (1351467129,), (1351467130,), (1351467131,), (1351467132,), (1351467146,), (1351467147,), (1351467149,), (1351467150,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250914 , 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=22250905 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 (22250914) result : ((1351463549,), (1351463550,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250915 , 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=22250905 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 (22250915) result : ((1351462658,), (1351462660,), (1351462661,), (1351463413,), (1351467138,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250916 , 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=22250905 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 (22250916) result : ((1351462646,), (1351462647,), (1351462648,), (1351462649,), (1351462650,), (1351462657,), (1351463545,), (1351463546,), (1351463547,), (1351467194,), (1351467195,), (1351467196,), (1351467197,), (1351467198,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250917 , 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=22250905 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 (22250917) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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 22250918 , 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=22250905 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 (22250918) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22250905) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,)) 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`=22250905 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','Carton_brun','environnement','kraft','cartonnette','Carton_gris','autre_refus','mal_croppe','plastique','metal')) 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`=22250905 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','Carton_brun','environnement','kraft','cartonnette','Carton_gris','autre_refus','mal_croppe','plastique','metal')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22250905, 'sub_port_id': 22250919, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719851, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'metal': {'main_port_id': 22250905, 'sub_port_id': 22250920, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719852, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'Carton_gris': {'main_port_id': 22250905, 'sub_port_id': 22250921, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719853, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'environnement': {'main_port_id': 22250905, 'sub_port_id': 22250922, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719854, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'mal_croppe': {'main_port_id': 22250905, 'sub_port_id': 22250923, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719855, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'autre_refus': {'main_port_id': 22250905, 'sub_port_id': 22250924, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719856, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22250905, 'sub_port_id': 22250925, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719857, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'plastique': {'main_port_id': 22250905, 'sub_port_id': 22250926, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719858, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'Carton_brun': {'main_port_id': 22250905, 'sub_port_id': 22250927, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719859, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'cartonnette': {'main_port_id': 22250905, 'sub_port_id': 22250928, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719860, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'flou': {'main_port_id': 22250905, 'sub_port_id': 22250929, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719861, 'last_updated_at': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 5, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}, 'kraft': {'main_port_id': 22250905, 'sub_port_id': 22250930, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14719862, 'last_updated_at': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 11, 6, 8, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 11, 5, 26, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250919,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250907 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250920,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250908 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250921,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250909 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250922,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250910 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250923,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250911 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250924,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250912 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250925,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250913 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250926,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250914 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250927,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250915 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250928,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250916 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250929,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250917 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22250930,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22250918 lien utilise dans velours : https://www.fotonower.com/velours/22250919,22250920,22250921,22250922,22250923,22250924,22250925,22250926,22250927,22250928,22250929,22250930?tags=papier,metal,Carton_gris,environnement,mal_croppe,autre_refus,Teint_Dans_La_Masse,plastique,Carton_brun,cartonnette,flou,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22250905]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] map_info['map_portfolio_photo'] : {22250905: [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406]} final : False mtd_id 4302 list_pids : [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] Looping around the photos to save general results len do output : 1 /22250905. 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, '2747305') ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22250905', "{'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918}", None, None, None, None, '2747305'), ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305')] time used for this insertion : 0.46746301651000977 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.784821510314941 time spend to save output : 0.4679830074310303 total time spend for step 1 : 9.252804517745972 step2:final Sat Apr 12 05:34:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (22250905) 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 22250905 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1351460406,1351462169,1351462217,1351462215,1351462213,1351462252,1351462250,1351462246,1351462240,1351462289,1351462283,1351462275,1351462279,1351462278,1351462357,1351462345,1351462336,1351462331,1351462329,1351462608,1351462553,1351462459,1351462674,1351462672,1351462668,1351462665,1351462835,1351462821,1351462818,1351462815,1351462809,1351463386,1351463512); 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([22250905]) Inside saveOutput : final : False verbose : True original output for save of step final : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} new output for save of step final : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] map_info['map_portfolio_photo'] : {22250905: [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406]} final : False mtd_id 4302 list_pids : [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] Looping around the photos to save general results len do output : 33 /1351463512.Didn't retrieve data . /1351463386.Didn't retrieve data . /1351462835.Didn't retrieve data . /1351462821.Didn't retrieve data . /1351462818.Didn't retrieve data . /1351462815.Didn't retrieve data . /1351462809.Didn't retrieve data . /1351462674.Didn't retrieve data . /1351462672.Didn't retrieve data . /1351462668.Didn't retrieve data . /1351462665.Didn't retrieve data . /1351462608.Didn't retrieve data . /1351462553.Didn't retrieve data . /1351462459.Didn't retrieve data . /1351462357.Didn't retrieve data . /1351462345.Didn't retrieve data . /1351462336.Didn't retrieve data . /1351462331.Didn't retrieve data . /1351462329.Didn't retrieve data . /1351462289.Didn't retrieve data . /1351462283.Didn't retrieve data . /1351462279.Didn't retrieve data . /1351462278.Didn't retrieve data . /1351462275.Didn't retrieve data . /1351462252.Didn't retrieve data . /1351462250.Didn't retrieve data . /1351462246.Didn't retrieve data . /1351462240.Didn't retrieve data . /1351462217.Didn't retrieve data . /1351462215.Didn't retrieve data . /1351462213.Didn't retrieve data . /1351462169.Didn't retrieve data . /1351460406.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, '2747305') ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '22250905', '1351463512', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351463386', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462835', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462821', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462818', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462815', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462809', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462674', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462672', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462668', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462665', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462608', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462553', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462459', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462357', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462345', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462336', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462331', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462329', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462289', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462283', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462279', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462278', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462275', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462252', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462250', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462246', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462240', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462217', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462215', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462213', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351462169', '0.04563386672342721', None, None, None, None, '2747305'), ('4302', '22250905', '1351460406', '0.04563386672342721', None, None, None, None, '2747305')] time used for this insertion : 0.1881098747253418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.061919212341308594 time spend to save output : 0.1894845962524414 total time spend for step 2 : 0.25140380859375 step3:velours_tree Sat Apr 12 05:34:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22250905: [{'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918}]} input_args_next_step : {22250905: ()} output_args : {22250905: [{'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918}]} args : 22250905 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 : ({'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22250905) 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([22250905]) 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.32040953636169434 time spend to save output : 7.486343383789062e-05 total time spend for step 3 : 0.3204843997955322 step4:send_mail_cod Sat Apr 12 05:34:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} input_args_next_step : {1351463512: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351463512 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351463386 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462835 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462821 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462818 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462815 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462809 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462674 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462672 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462668 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462665 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462608 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462553 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462459 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462357 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462345 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462336 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462331 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462329 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462289 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462283 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462279 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462278 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462275 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462252 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462250 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462246 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462240 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462217 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462215 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462213 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351462169 depend.output_id : 0 input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ()} output_args : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',)} args : 1351460406 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 : {22250905: [{'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918}]} input_args_next_step : {1351463512: ('0.04563386672342721',), 1351463386: ('0.04563386672342721',), 1351462835: ('0.04563386672342721',), 1351462821: ('0.04563386672342721',), 1351462818: ('0.04563386672342721',), 1351462815: ('0.04563386672342721',), 1351462809: ('0.04563386672342721',), 1351462674: ('0.04563386672342721',), 1351462672: ('0.04563386672342721',), 1351462668: ('0.04563386672342721',), 1351462665: ('0.04563386672342721',), 1351462608: ('0.04563386672342721',), 1351462553: ('0.04563386672342721',), 1351462459: ('0.04563386672342721',), 1351462357: ('0.04563386672342721',), 1351462345: ('0.04563386672342721',), 1351462336: ('0.04563386672342721',), 1351462331: ('0.04563386672342721',), 1351462329: ('0.04563386672342721',), 1351462289: ('0.04563386672342721',), 1351462283: ('0.04563386672342721',), 1351462279: ('0.04563386672342721',), 1351462278: ('0.04563386672342721',), 1351462275: ('0.04563386672342721',), 1351462252: ('0.04563386672342721',), 1351462250: ('0.04563386672342721',), 1351462246: ('0.04563386672342721',), 1351462240: ('0.04563386672342721',), 1351462217: ('0.04563386672342721',), 1351462215: ('0.04563386672342721',), 1351462213: ('0.04563386672342721',), 1351462169: ('0.04563386672342721',), 1351460406: ('0.04563386672342721',), 22250905: ()} output_args : {22250905: [{'papier': 22250907, 'metal': 22250908, 'Carton_gris': 22250909, 'environnement': 22250910, 'mal_croppe': 22250911, 'autre_refus': 22250912, 'Teint_Dans_La_Masse': 22250913, 'plastique': 22250914, 'Carton_brun': 22250915, 'cartonnette': 22250916, 'flou': 22250917, 'kraft': 22250918}]} args : 22250905 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 :34, first value : ('0.04563386672342721',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22250905) 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 (1351463512,1351463386,1351462835,1351462821,1351462818,1351462815,1351462809,1351462674,1351462672,1351462668,1351462665,1351462608,1351462553,1351462459,1351462357,1351462345,1351462336,1351462331,1351462329,1351462289,1351462283,1351462279,1351462278,1351462275,1351462252,1351462250,1351462246,1351462240,1351462217,1351462215,1351462213,1351462169,1351460406) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1351460406 begin to download photo : 1351462250 begin to download photo : 1351462329 begin to download photo : 1351462608 begin to download photo : 1351462818 download finish for photo 1351462329 begin to download photo : 1351462331 download finish for photo 1351462818 begin to download photo : 1351462821 download finish for photo 1351462250 begin to download photo : 1351462252 download finish for photo 1351462608 begin to download photo : 1351462665 download finish for photo 1351460406 begin to download photo : 1351462169 download finish for photo 1351462821 begin to download photo : 1351462835 download finish for photo 1351462331 begin to download photo : 1351462336 download finish for photo 1351462252 begin to download photo : 1351462275 download finish for photo 1351462169 begin to download photo : 1351462213 download finish for photo 1351462835 begin to download photo : 1351463386 download finish for photo 1351462665 begin to download photo : 1351462668 download finish for photo 1351462213 begin to download photo : 1351462215 download finish for photo 1351462275 begin to download photo : 1351462278 download finish for photo 1351462336 begin to download photo : 1351462345 download finish for photo 1351463386 begin to download photo : 1351463512 download finish for photo 1351462345 begin to download photo : 1351462357 download finish for photo 1351462278 begin to download photo : 1351462279 download finish for photo 1351463512 download finish for photo 1351462668 begin to download photo : 1351462672 download finish for photo 1351462215 begin to download photo : 1351462217 download finish for photo 1351462357 begin to download photo : 1351462459 download finish for photo 1351462279 begin to download photo : 1351462283 download finish for photo 1351462672 begin to download photo : 1351462674 download finish for photo 1351462217 begin to download photo : 1351462240 download finish for photo 1351462459 begin to download photo : 1351462553 download finish for photo 1351462283 begin to download photo : 1351462289 download finish for photo 1351462674 begin to download photo : 1351462809 download finish for photo 1351462240 begin to download photo : 1351462246 download finish for photo 1351462289 download finish for photo 1351462553 download finish for photo 1351462809 begin to download photo : 1351462815 download finish for photo 1351462246 download finish for photo 1351462815 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 : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P22250905_12-04-2025_05_34_39.pdf 22250908 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=22250908 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351462858: '1744342130_981699_1351462672_2211616d73f4b5aa55bef989cf6778c5_rle_crop_3755976384_0.png', 1351462859: '1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976396_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba56b77b327722dfcede1f09e1949774_45417031.png change filename to text .imagette222509081744428879/ imagette222509081744428879/1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976396_0.png.png imagette222509081744428879/1744342130_981699_1351462672_2211616d73f4b5aa55bef989cf6778c5_rle_crop_3755976384_0.png.png imagette222509111744428879/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53e140ae081f51a631eec29458bb60ab_86880113.png imagette222509081744428879 22250911 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=22250911 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222509111744428879 22250912 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=22250912 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351462640: '1744342015_980452_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973663_0.png', 1351462851: '1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976399_0.png', 1351463521: '1744342273_983482_1351462835_eb928194d9f325f830e306ffbdfd5862_rle_crop_3755977534_0.png', 1351463522: '1744342273_983482_1351462835_eb928194d9f325f830e306ffbdfd5862_rle_crop_3755977529_0.png', 1351463539: '1744342252_983219_1351463386_f0c8af9632a53ea147cf4b6c53f572be_rle_crop_3755977521_0.png', 1351467157: '1744344054_1025738_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973663_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7e122bb0c37cd1bb4c5494956852352_92160445.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dce461bc19c509354727548ca3b00231_97131102.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e2898299248341a3be910eb8e7f0179_16369704.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02f47310b8f4128b47d739a1f075f27e_80025944.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09b2e05dd3091c5141899a31d26de65d_30369445.png change filename to text .imagette222509121744428879/ imagette222509121744428879/1744342273_983482_1351462835_eb928194d9f325f830e306ffbdfd5862_rle_crop_3755977534_0.png.png imagette222509121744428879/1744342252_983219_1351463386_f0c8af9632a53ea147cf4b6c53f572be_rle_crop_3755977521_0.png.png imagette222509121744428879/1744342015_980452_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973663_0.png.png imagette222509121744428879/1744342273_983482_1351462835_eb928194d9f325f830e306ffbdfd5862_rle_crop_3755977529_0.png.png imagette222509121744428879/1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976399_0.png.png imagette222509121744428879/1744344054_1025738_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973663_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7e122bb0c37cd1bb4c5494956852352_63962299.png imagette222509121744428879 22250914 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=22250914 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351463549: '1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977555_0.png', 1351463550: '1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977565_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58f8d940abc7a8443e2cd68896093151_75591504.png change filename to text .imagette222509141744428879/ imagette222509141744428879/1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977555_0.png.png imagette222509141744428879/1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977565_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a574d01e221445cc2c4e9dfd351b480b_21525219.png imagette222509141744428879 22250916 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=22250916 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351462646: '1744342015_980452_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973618_0.png', 1351462647: '1744342015_980452_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973632_0.png', 1351462648: '1744342015_980452_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973629_0.png', 1351462649: '1744342015_980452_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973646_0.png', 1351462650: '1744342015_980452_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973643_0.png', 1351462657: '1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973718_0.png', 1351463545: '1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977547_0.png', 1351463546: '1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977543_0.png', 1351463547: '1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977563_0.png', 1351467194: '1744344054_1025738_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973618_0.png', 1351467195: '1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973632_0.png', 1351467196: '1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973629_0.png', 1351467197: '1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973646_0.png', 1351467198: '1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973643_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c976aebd8ee63c37f9056ca313fdd41a_49569187.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/034d3e462ec033a6a9094ed3371f9bea_37238922.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c657df539b7313cf3002ad10dd621b65_22321199.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d55d403b1bd15e9c2b4ca141edc4d96_29239236.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/218659f7b400383511ef8ff79f1c6577_63909171.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88903cbd69b58539b32d52ddbeb95e02_48190246.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca4b35deb1c8f0f743587ed90d520c1e_88141939.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5a21dd550479e4916760ed213802494_91686427.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4eed5c8acdfd5953ce3423c2c4f1a132_77553391.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c976aebd8ee63c37f9056ca313fdd41a_28238165.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/034d3e462ec033a6a9094ed3371f9bea_25500898.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c657df539b7313cf3002ad10dd621b65_90668856.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d55d403b1bd15e9c2b4ca141edc4d96_9433600.png change filename to text .imagette222509161744428880/ imagette222509161744428880/1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977563_0.png.png imagette222509161744428880/1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977547_0.png.png imagette222509161744428880/1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973632_0.png.png imagette222509161744428880/1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973718_0.png.png imagette222509161744428880/1744342015_980452_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973618_0.png.png imagette222509161744428880/1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973629_0.png.png imagette222509161744428880/1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973646_0.png.png imagette222509161744428880/1744342015_980452_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973643_0.png.png imagette222509161744428880/1744342015_980452_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973632_0.png.png imagette222509161744428880/1744342015_980452_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973646_0.png.png imagette222509161744428880/1744344054_1025738_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973618_0.png.png imagette222509161744428880/1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977543_0.png.png imagette222509161744428880/1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973643_0.png.png imagette222509161744428880/1744342015_980452_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973629_0.png.png imagette222509171744428881/ imagette222509181744428881/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/218659f7b400383511ef8ff79f1c6577_53964502.png imagette222509161744428880 22250917 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=22250917 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222509171744428881 22250918 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=22250918 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222509181744428881 22250909 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=22250909 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351462641: '1744342015_980452_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973613_0.png', 1351462642: '1744342015_980452_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973662_0.png', 1351462656: '1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973712_0.png', 1351463541: '1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977550_0.png', 1351463542: '1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977562_0.png', 1351467169: '1744344054_1025738_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973613_0.png', 1351467170: '1744344054_1025738_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973662_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99154d83d82c2efa3febf37bc06d705e_7651391.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/962fc480ebf9b606697bb22169f84213_52751844.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3468d3e41cb7bdc64aa70adeb5a7839_74988669.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7220b52f8581b830fdf7cec695086cf4_39825947.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b49306c3db8ad14d11e29023a3adcf51_35714736.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99154d83d82c2efa3febf37bc06d705e_2550397.png change filename to text .imagette222509091744428881/ imagette222509091744428881/1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973712_0.png.png imagette222509091744428881/1744342252_983219_1351462818_e1392b258aeb1863e0aeb26e01049414_rle_crop_3755977562_0.png.png imagette222509091744428881/1744342015_980452_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973662_0.png.png imagette222509091744428881/1744342015_980452_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973613_0.png.png imagette222509091744428881/1744344054_1025738_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2_rle_crop_3755973662_0.png.png imagette222509091744428881/1744344054_1025738_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd_rle_crop_3755973613_0.png.png imagette222509091744428881/1744342252_983219_1351462821_cbe2e59f66f5e800ede9d813f09f2356_rle_crop_3755977550_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/962fc480ebf9b606697bb22169f84213_50790542.png imagette222509091744428881 22250913 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=22250913 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351463410: '1744342165_1197521_1351462345_3344497c1d62232506b06deff6186e1e_rle_crop_3755976602_0.png', 1351467150: '1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973650_0.png', 1351467149: '1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973656_0.png', 1351467147: '1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973636_0.png', 1351467146: '1744344054_1025738_1351462357_686d77d1f1129781981a8f4cdc9999a1_rle_crop_3756038706_0.png', 1351467132: '1744344073_1026193_1351462213_f3777f63f9654e7916809ce24c6b1b05_rle_crop_3755972668_0.png', 1351467131: '1744344073_1026193_1351462215_c907da15c1d99d0b2ac3981530080965_rle_crop_3755972636_0.png', 1351467130: '1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038614_0.png', 1351467129: '1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038617_0.png', 1351463537: '1744342252_983219_1351462809_c441c28709cae1f77066345eb285a5fc_rle_crop_3755977590_0.png', 1351463536: '1744342252_983219_1351462815_b676bf818ff73bbb931c32577addd32e_rle_crop_3755977577_0.png', 1351463535: '1744342252_983219_1351462815_b676bf818ff73bbb931c32577addd32e_rle_crop_3755977573_0.png', 1351463534: '1744342252_983219_1351463386_f0c8af9632a53ea147cf4b6c53f572be_rle_crop_3755977522_0.png', 1351463411: '1744342165_1197521_1351462331_a6c989ec2e4cdf1f08b5d72201a6db77_rle_crop_3755976626_0.png', 1351462284: '1744341893_979240_1351462215_c907da15c1d99d0b2ac3981530080965_rle_crop_3755972636_0.png', 1351462847: '1744342130_981699_1351462665_222adf0e25a346c8110f3ec5621e1a63_rle_crop_3755976412_0.png', 1351462846: '1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976397_0.png', 1351462845: '1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976398_0.png', 1351462844: '1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976405_0.png', 1351462655: '1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0ae40b4fdeb5aaf5ab959666ae3edcb_79134339.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30669367f74ab282bd93263fa5e8f69c_5847518.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e4224dcf06b81bd5d59163f4d3c6b43d_18381427.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/920c9b07cd56139145c9bec37ab6806e_75586206.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94802eea5a2c81e3749d93925bcda74c_14791911.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a9f26917acaace388dd781fa8880dc4_17721514.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a2cdf49ac1d6c8bdf420949e0195bdd_96286720.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b42e49fa4336dc47f09ae563de61e57_40520513.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff5170ffcde5b27aa8f098e56c0a6407_6298525.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af5338e281cd86ad628bb5c179c8e26b_36385339.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84b8594f8d85a678ccb4e34a42f2c13d_56388389.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64a4e9a7018ac85c7d258c3be0470f36_7913544.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c114c26a44effdddb1f5e41787b8b8b_7576753.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d1938ab3f49da9c4dbf9c203ceb8a18_23774522.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a2cdf49ac1d6c8bdf420949e0195bdd_60195486.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a12f87f14add4a6fd019df9e459b8b35_1781589.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd39d1e22d97565d2d90358ac94baba2_22381738.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40e8ef9ff6aee40bdfc2d7df4496cc00_16090518.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ccc9abdb0656d84e0914b3bba481bbb5_3671476.png change filename to text .imagette222509131744428882/ imagette222509131744428882/1744342252_983219_1351462815_b676bf818ff73bbb931c32577addd32e_rle_crop_3755977573_0.png.png imagette222509131744428882/1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973716_0.png.png imagette222509131744428882/1744342165_1197521_1351462331_a6c989ec2e4cdf1f08b5d72201a6db77_rle_crop_3755976626_0.png.png imagette222509131744428882/1744342252_983219_1351462815_b676bf818ff73bbb931c32577addd32e_rle_crop_3755977577_0.png.png imagette222509131744428882/1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976398_0.png.png imagette222509131744428882/1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038617_0.png.png imagette222509131744428882/1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973650_0.png.png imagette222509131744428882/1744344073_1026193_1351462213_f3777f63f9654e7916809ce24c6b1b05_rle_crop_3755972668_0.png.png imagette222509131744428882/1744344073_1026193_1351462215_c907da15c1d99d0b2ac3981530080965_rle_crop_3755972636_0.png.png imagette222509131744428882/1744342252_983219_1351462809_c441c28709cae1f77066345eb285a5fc_rle_crop_3755977590_0.png.png imagette222509131744428882/1744344054_1025738_1351462357_686d77d1f1129781981a8f4cdc9999a1_rle_crop_3756038706_0.png.png imagette222509131744428882/1744342130_981699_1351462665_222adf0e25a346c8110f3ec5621e1a63_rle_crop_3755976412_0.png.png imagette222509131744428882/1744344054_1025738_1351462278_920c83ca9bae3757f800d947cec46e54_rle_crop_3755973656_0.png.png imagette222509131744428882/1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976405_0.png.png imagette222509131744428882/1744342130_981699_1351462668_ef0776c86ab0b03be28c5133f7215232_rle_crop_3755976397_0.png.png imagette222509131744428882/1744342252_983219_1351463386_f0c8af9632a53ea147cf4b6c53f572be_rle_crop_3755977522_0.png.png imagette222509131744428882/1744341893_979240_1351462215_c907da15c1d99d0b2ac3981530080965_rle_crop_3755972636_0.png.png imagette222509131744428882/1744342165_1197521_1351462345_3344497c1d62232506b06deff6186e1e_rle_crop_3755976602_0.png.png imagette222509131744428882/1744344054_1025738_1351462279_fc6d56da2ebdad50952cfec50cbff239_rle_crop_3755973636_0.png.png imagette222509131744428882/1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038614_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2447132d3c67f3a3911738f52d32470_49136888.png imagette222509131744428882 22250915 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=22250915 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1351462658: '1744342032_980674_1351462289_3cbca9de3cd6c8b4998608ffa123204f_rle_crop_3755973679_0.png', 1351462660: '1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973714_0.png', 1351462661: '1744342032_980674_1351462240_7d341ebdcfa88184d3f1d749b4163a60_rle_crop_3755973742_0.png', 1351463413: '1744342165_1197521_1351462331_a6c989ec2e4cdf1f08b5d72201a6db77_rle_crop_3755976627_0.png', 1351467138: '1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038613_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ce1b0f480728f521964e61474d87af8_38847450.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1f367d7dfb042a45fefbd59ae0df649_21695513.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a888490cc2a43294f957d2fba0ee339f_1289756.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a5ee7a2be4d14eef43832f53c62c0aa_60847495.png change filename to text .imagette222509151744428885/ imagette222509151744428885/1744344073_1026193_1351462252_12e073509ef85c24c7fcc3cdd0cc7094_rle_crop_3756038613_0.png.png imagette222509151744428885/1744342032_980674_1351462246_32b83aad0581386cab84dbf5d34ff19e_rle_crop_3755973714_0.png.png imagette222509151744428885/1744342032_980674_1351462240_7d341ebdcfa88184d3f1d749b4163a60_rle_crop_3755973742_0.png.png imagette222509151744428885/1744342032_980674_1351462289_3cbca9de3cd6c8b4998608ffa123204f_rle_crop_3755973679_0.png.png imagette222509151744428885/1744342165_1197521_1351462331_a6c989ec2e4cdf1f08b5d72201a6db77_rle_crop_3755976627_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1e24d6e75b4a9d7250556a36e4bfb49_38745131.png imagette222509151744428885 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22250905 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22250919,22250920,22250921,22250922,22250923,22250924,22250925,22250926,22250927,22250928,22250929,22250930?tags=papier,metal,Carton_gris,environnement,mal_croppe,autre_refus,Teint_Dans_La_Masse,plastique,Carton_brun,cartonnette,flou,kraft your option no_mail is active, we will not send the real mail to your client args[1351463512] : ('0.04563386672342721',) no score found for photo 1351463512 We are sending mail with results at report@fotonower.com args[1351463386] : ('0.04563386672342721',) no score found for photo 1351463386 We are sending mail with results at report@fotonower.com args[1351462835] : ('0.04563386672342721',) no score found for photo 1351462835 We are sending mail with results at report@fotonower.com args[1351462821] : ('0.04563386672342721',) no score found for photo 1351462821 We are sending mail with results at report@fotonower.com args[1351462818] : ('0.04563386672342721',) no score found for photo 1351462818 We are sending mail with results at report@fotonower.com args[1351462815] : ('0.04563386672342721',) no score found for photo 1351462815 We are sending mail with results at report@fotonower.com args[1351462809] : ('0.04563386672342721',) no score found for photo 1351462809 We are sending mail with results at report@fotonower.com args[1351462674] : ('0.04563386672342721',) no score found for photo 1351462674 We are sending mail with results at report@fotonower.com args[1351462672] : ('0.04563386672342721',) no score found for photo 1351462672 We are sending mail with results at report@fotonower.com args[1351462668] : ('0.04563386672342721',) no score found for photo 1351462668 We are sending mail with results at report@fotonower.com args[1351462665] : ('0.04563386672342721',) no score found for photo 1351462665 We are sending mail with results at report@fotonower.com args[1351462608] : ('0.04563386672342721',) no score found for photo 1351462608 We are sending mail with results at report@fotonower.com args[1351462553] : ('0.04563386672342721',) no score found for photo 1351462553 We are sending mail with results at report@fotonower.com args[1351462459] : ('0.04563386672342721',) no score found for photo 1351462459 We are sending mail with results at report@fotonower.com args[1351462357] : ('0.04563386672342721',) no score found for photo 1351462357 We are sending mail with results at report@fotonower.com args[1351462345] : ('0.04563386672342721',) no score found for photo 1351462345 We are sending mail with results at report@fotonower.com args[1351462336] : ('0.04563386672342721',) no score found for photo 1351462336 We are sending mail with results at report@fotonower.com args[1351462331] : ('0.04563386672342721',) no score found for photo 1351462331 We are sending mail with results at report@fotonower.com args[1351462329] : ('0.04563386672342721',) no score found for photo 1351462329 We are sending mail with results at report@fotonower.com args[1351462289] : ('0.04563386672342721',) no score found for photo 1351462289 We are sending mail with results at report@fotonower.com args[1351462283] : ('0.04563386672342721',) no score found for photo 1351462283 We are sending mail with results at report@fotonower.com args[1351462279] : ('0.04563386672342721',) no score found for photo 1351462279 We are sending mail with results at report@fotonower.com args[1351462278] : ('0.04563386672342721',) no score found for photo 1351462278 We are sending mail with results at report@fotonower.com args[1351462275] : ('0.04563386672342721',) no score found for photo 1351462275 We are sending mail with results at report@fotonower.com args[1351462252] : ('0.04563386672342721',) no score found for photo 1351462252 We are sending mail with results at report@fotonower.com args[1351462250] : ('0.04563386672342721',) no score found for photo 1351462250 We are sending mail with results at report@fotonower.com args[1351462246] : ('0.04563386672342721',) no score found for photo 1351462246 We are sending mail with results at report@fotonower.com args[1351462240] : ('0.04563386672342721',) no score found for photo 1351462240 We are sending mail with results at report@fotonower.com args[1351462217] : ('0.04563386672342721',) no score found for photo 1351462217 We are sending mail with results at report@fotonower.com args[1351462215] : ('0.04563386672342721',) no score found for photo 1351462215 We are sending mail with results at report@fotonower.com args[1351462213] : ('0.04563386672342721',) no score found for photo 1351462213 We are sending mail with results at report@fotonower.com args[1351462169] : ('0.04563386672342721',) no score found for photo 1351462169 We are sending mail with results at report@fotonower.com args[1351460406] : ('0.04563386672342721',) no score found for photo 1351460406 We are sending mail with results at report@fotonower.com refus_total : 0.04563386672342721 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=22250905 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_P22250905_12-04-2025_05_34_39.pdf results_Auto_P22250905_12-04-2025_05_34_39.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_12-04-2025_05_34_39.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','22250905','results_Auto_P22250905_12-04-2025_05_34_39.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_12-04-2025_05_34_39.pdf','pdf','','0.38','0.04563386672342721') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22250905]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] map_info['map_portfolio_photo'] : {22250905: [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406]} final : False mtd_id 4302 list_pids : [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] 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, '2747305') ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '22250905', '1351463512', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305')] time used for this insertion : 0.022152185440063477 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.481841087341309 time spend to save output : 0.022495269775390625 total time spend for step 4 : 11.5043363571167 step5:split_time_score Sat Apr 12 05:34:49 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 : ['22250905'] 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 : [('22250905',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22250905) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1351462818: {'path': 'temp/1744428877_209723_1351462818_e1392b258aeb1863e0aeb26e01049414.jpg', 'extension': 'jpg'}, 1351462821: {'path': 'temp/1744428877_209723_1351462821_cbe2e59f66f5e800ede9d813f09f2356.jpg', 'extension': 'jpg'}, 1351462835: {'path': 'temp/1744428877_209723_1351462835_eb928194d9f325f830e306ffbdfd5862.jpg', 'extension': 'jpg'}, 1351463386: {'path': 'temp/1744428877_209723_1351463386_f0c8af9632a53ea147cf4b6c53f572be.jpg', 'extension': 'jpg'}, 1351463512: {'path': 'temp/1744428877_209723_1351463512_8769db45d07bfb0cbf6587146bd51f77.jpg', 'extension': 'jpg'}, 1351462250: {'path': 'temp/1744428877_209723_1351462250_6924a0c0effb92f9154a6f39baacb5d0.jpg', 'extension': 'jpg'}, 1351462252: {'path': 'temp/1744428877_209723_1351462252_12e073509ef85c24c7fcc3cdd0cc7094.jpg', 'extension': 'jpg'}, 1351462275: {'path': 'temp/1744428877_209723_1351462275_20cac1f1a2f1ffa36f0652b9dbd905b2.jpg', 'extension': 'jpg'}, 1351462278: {'path': 'temp/1744428877_209723_1351462278_920c83ca9bae3757f800d947cec46e54.jpg', 'extension': 'jpg'}, 1351462279: {'path': 'temp/1744428877_209723_1351462279_fc6d56da2ebdad50952cfec50cbff239.jpg', 'extension': 'jpg'}, 1351462283: {'path': 'temp/1744428877_209723_1351462283_c4cbf9bc87a7c85b44beff267bc8a1dd.jpg', 'extension': 'jpg'}, 1351462289: {'path': 'temp/1744428877_209723_1351462289_3cbca9de3cd6c8b4998608ffa123204f.jpg', 'extension': 'jpg'}, 1351462329: {'path': 'temp/1744428877_209723_1351462329_581c60f428956d16d05d2a7fef56c2ef.jpg', 'extension': 'jpg'}, 1351462331: {'path': 'temp/1744428877_209723_1351462331_a6c989ec2e4cdf1f08b5d72201a6db77.jpg', 'extension': 'jpg'}, 1351462336: {'path': 'temp/1744428877_209723_1351462336_b5d1f6d4b95cb653f82f8d0d66af46e3.jpg', 'extension': 'jpg'}, 1351462345: {'path': 'temp/1744428877_209723_1351462345_3344497c1d62232506b06deff6186e1e.jpg', 'extension': 'jpg'}, 1351462357: {'path': 'temp/1744428877_209723_1351462357_686d77d1f1129781981a8f4cdc9999a1.jpg', 'extension': 'jpg'}, 1351462459: {'path': 'temp/1744428877_209723_1351462459_eecf3f58867b046d85f8881603f0f886.jpg', 'extension': 'jpg'}, 1351462553: {'path': 'temp/1744428877_209723_1351462553_cfe81faaaad66e6eaf37ccfe2c2ac424.jpg', 'extension': 'jpg'}, 1351460406: {'path': 'temp/1744428877_209723_1351460406_bda2219d15a03b11af80f5c97700bbcf.jpg', 'extension': 'jpg'}, 1351462169: {'path': 'temp/1744428877_209723_1351462169_7b7738969d08b1bebef3182b596823fd.jpg', 'extension': 'jpg'}, 1351462213: {'path': 'temp/1744428877_209723_1351462213_f3777f63f9654e7916809ce24c6b1b05.jpg', 'extension': 'jpg'}, 1351462215: {'path': 'temp/1744428877_209723_1351462215_c907da15c1d99d0b2ac3981530080965.jpg', 'extension': 'jpg'}, 1351462217: {'path': 'temp/1744428877_209723_1351462217_148cadf8bee8017e52eecb2beab44434.jpg', 'extension': 'jpg'}, 1351462240: {'path': 'temp/1744428877_209723_1351462240_7d341ebdcfa88184d3f1d749b4163a60.jpg', 'extension': 'jpg'}, 1351462246: {'path': 'temp/1744428877_209723_1351462246_32b83aad0581386cab84dbf5d34ff19e.jpg', 'extension': 'jpg'}, 1351462608: {'path': 'temp/1744428877_209723_1351462608_f44d3155712e93313fa96280b56103a2.jpg', 'extension': 'jpg'}, 1351462665: {'path': 'temp/1744428877_209723_1351462665_222adf0e25a346c8110f3ec5621e1a63.jpg', 'extension': 'jpg'}, 1351462668: {'path': 'temp/1744428877_209723_1351462668_ef0776c86ab0b03be28c5133f7215232.jpg', 'extension': 'jpg'}, 1351462672: {'path': 'temp/1744428877_209723_1351462672_2211616d73f4b5aa55bef989cf6778c5.jpg', 'extension': 'jpg'}, 1351462674: {'path': 'temp/1744428877_209723_1351462674_5e1ed03e81a74e762cdc2af470a8151f.jpg', 'extension': 'jpg'}, 1351462809: {'path': 'temp/1744428877_209723_1351462809_c441c28709cae1f77066345eb285a5fc.jpg', 'extension': 'jpg'}, 1351462815: {'path': 'temp/1744428877_209723_1351462815_b676bf818ff73bbb931c32577addd32e.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 = 22250905; (('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 = 22250905 group by h (('05', 33),) 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=22250905 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 (22250905) 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 (22250905) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11042025 22250905 Nombre de photos uploadées : 33 / 23040 (0%) 11042025 22250905 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 11042025 22250905 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1351460406, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bda2219d15a03b11af80f5c97700bbcf.jpg', 'username': None, 'uploaded_at': 1744341362, 'text': 'image_11042025_05_15_14_10135.jpg'}, {'photo_id': 1351462169, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b7738969d08b1bebef3182b596823fd.jpg', 'username': None, 'uploaded_at': 1744341728, 'text': 'image_11042025_05_21_34_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351462217, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/148cadf8bee8017e52eecb2beab44434.jpg', 'username': None, 'uploaded_at': 1744341788, 'text': 'image_11042025_05_21_54_010134m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1351462215, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c907da15c1d99d0b2ac3981530080965.jpg', 'username': None, 'uploaded_at': 1744341788, 'text': 'image_11042025_05_22_04_010142m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016751289367675781 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22250905, '2025-04-11' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1733453,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02527761459350586 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= 1733453 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22250905, 'dashboard_result_id': 10042238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_11-04-2025_06_09_08.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22250907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22250908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22250909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22250910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22250911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22250912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22250913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22250914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22250915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22250916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22250917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22250918, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22251131, 'dashboard_result_id': 10042239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251131_11-04-2025_06_09_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251145, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22251556, 'dashboard_result_id': 10042240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251556_11-04-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251571, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22251992, 'dashboard_result_id': 10042241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251992_11-04-2025_06_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22252021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252030, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22252595, 'dashboard_result_id': 10042242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22252595_11-04-2025_06_32_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22252623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252634, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22253158, 'dashboard_result_id': 10042243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253158_11-04-2025_06_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22253211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253218, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22253768, 'dashboard_result_id': 10042244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253768_11-04-2025_07_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22253836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253847, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22254301, 'dashboard_result_id': 10042245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22255333, 'dashboard_result_id': 10042246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22255996, 'dashboard_result_id': 10042247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22256877, 'dashboard_result_id': 10042248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_08_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22257532, 'dashboard_result_id': 10042249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22257532_11-04-2025_08_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22257550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22257551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22257552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22257553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22257554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22257555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22257556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22257557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22257558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22257559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22257560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22257561, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22258038, 'dashboard_result_id': 10042250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258038_11-04-2025_08_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22258117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258128, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22258951, 'dashboard_result_id': 10042251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258951_11-04-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22258955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258965, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22259736, 'dashboard_result_id': 10042252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22259736_11-04-2025_09_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22259853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22259854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22259855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22259856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22259857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22259858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22259859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22259860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22259861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22259862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22259863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22259864, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22262446, 'dashboard_result_id': 10042253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22262446_11-04-2025_09_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22262472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22262473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22262474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22262475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22262476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22262477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22262478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22262479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22262480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22262481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22262482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22262483, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22263332, 'dashboard_result_id': 10042254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22263332_11-04-2025_10_03_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22263361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22263362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22263363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22263364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22263365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22263366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22263367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22263368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22263369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22263370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22263371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22263372, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22264476, 'dashboard_result_id': 10042255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264476_11-04-2025_10_19_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22264502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264506, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22264886, 'dashboard_result_id': 10042256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264886_11-04-2025_10_23_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22264889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264900, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22266161, 'dashboard_result_id': 10042257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22266161_11-04-2025_10_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22266210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22266211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22266212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22266213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22266214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22266215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22266216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22266217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22266218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22266219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22266220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22266221, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22267667, 'dashboard_result_id': 10042258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22267667_11-04-2025_11_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22267671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22267672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22267673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22267674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22267675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22267676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22267677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22267678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22267679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22267680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22267681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22267682, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22268821, 'dashboard_result_id': 10042259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22268821_11-04-2025_11_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22268823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22268824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22268825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22268826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22268827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22268828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22268829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22268832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22268838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22268842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22268845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22268846, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22270003, 'dashboard_result_id': 10042260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22270003_11-04-2025_11_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22270069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22270070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22270071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22270072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22270073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22270074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22270075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22270076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22270077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22270078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22270079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22270080, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22271022, 'dashboard_result_id': 10042261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22271022_11-04-2025_11_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22271026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22271027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22271028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22271029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22271030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22271031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22271032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22271033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22271034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22271035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22271036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22271037, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22272205, 'dashboard_result_id': 10042262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22272205_11-04-2025_12_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22272221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22272222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22272224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22272225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22272226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22272228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22272229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22272231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22272232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22272233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22272235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22272236, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22273185, 'dashboard_result_id': 10042263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22273185_12-04-2025_00_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22273190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22273191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22273192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22273193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22273194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22273195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22273196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22273197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22273198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22273199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22273200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22273201, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22276503, 'dashboard_result_id': 10042264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276503_11-04-2025_13_47_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22276508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276519, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22276699, 'dashboard_result_id': 10042265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276699_11-04-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22276730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276738, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22277278, 'dashboard_result_id': 10042266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277278_11-04-2025_14_17_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22277302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277313, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22277722, 'dashboard_result_id': 10042267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277722_11-04-2025_14_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22277733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277740, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22278478, 'dashboard_result_id': 10042268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278478_11-04-2025_14_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22278510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278521, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22278867, 'dashboard_result_id': 10042269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278867_11-04-2025_15_03_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22278901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278909, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22279715, 'dashboard_result_id': 10042270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22279715_11-04-2025_15_17_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22279801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22279802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22279803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22279804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22279805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22279806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22279807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22279808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22279809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22279810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22279811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22279812, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22280602, 'dashboard_result_id': 10042271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22280602_11-04-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22280664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22280665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22280666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22280667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22280668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22280669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22280670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22280671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22280672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22280673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22280674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22280675, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22281285, 'dashboard_result_id': 10042272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22281285_11-04-2025_15_47_46.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22281326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22281327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22281328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22281329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22281330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22281331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22281332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22281333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22281334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22281335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22281336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22281337, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22282511, 'dashboard_result_id': 10042273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22282511_11-04-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22282636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22282637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22282638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22282639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22282640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22282641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22282642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22282643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22282644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22282645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22282646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22282647, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22283551, 'dashboard_result_id': 10042274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283551_11-04-2025_16_19_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283600, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22284509, 'dashboard_result_id': 10042275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284509_11-04-2025_16_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284545, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22285521, 'dashboard_result_id': 10042276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285521_11-04-2025_16_47_51.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285568, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22286062, 'dashboard_result_id': 10042277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286062_11-04-2025_17_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286079, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22287027, 'dashboard_result_id': 10042278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287027_11-04-2025_17_24_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22287049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287060, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22288233, 'dashboard_result_id': 10042279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288233_11-04-2025_17_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288245, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22289888, 'dashboard_result_id': 10042280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289888_11-04-2025_18_17_08.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289927, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22290790, 'dashboard_result_id': 10042281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290790_11-04-2025_18_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290802, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22291494, 'dashboard_result_id': 10042282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291494_11-04-2025_18_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291506, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22292559, 'dashboard_result_id': 10042283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22292559_11-04-2025_19_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22292585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22292586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22292587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22292588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22292589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22292590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22292591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22292592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22292593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22292594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22292595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22292596, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22293155, 'dashboard_result_id': 10042284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293155_11-04-2025_19_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22293204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293240, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22294513, 'dashboard_result_id': 10042285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294513_11-04-2025_19_33_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294588, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22295582, 'dashboard_result_id': 10042286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295582_11-04-2025_19_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295596, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22296376, 'dashboard_result_id': 10042287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296376_11-04-2025_20_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22296402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296415, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22297260, 'dashboard_result_id': 10042288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297260_11-04-2025_20_17_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22297303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297305, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22298172, 'dashboard_result_id': 10042289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298172_11-04-2025_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298254, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22299599, 'dashboard_result_id': 10042290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299599_11-04-2025_21_01_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299623, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22301428, 'dashboard_result_id': 10042291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22301428_11-04-2025_21_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22301429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22301430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22301431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22301432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22301433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22301434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22301435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22301436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22301437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22301438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22301439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22301440, 'pht': 3726}}"}, {'dashboat_entry_day': 1733453, 'dashboard_run_id': 1746003, 'mtr_portfolio_id': 22302118, 'dashboard_result_id': 10042292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22302118_11-04-2025_21_53_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22302144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22302145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22302146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22302147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22302148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22302149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22302150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22302151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22302152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22302153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22302154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22302155, '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 = 22250905 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': 2747305, 'mtr_portfolio_id': 22250905, 'created_at': datetime.datetime(2025, 4, 12, 5, 34, 37), 'result': '0.04563386672342721', 'result_long': None, 'result_double': None}] Qualite : 0.04563386672342721 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22250905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_12-04-2025_05_34_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22250905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_12-04-2025_05_34_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22250907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22250908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22250909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22250910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22250911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22250912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22250913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22250914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22250915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22250916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22250917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22250918, 'pht': 3726}}" where mtr_portfolio_id = 22250905 and dashboard_run_id = 1746003 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`=22250905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042238, 0.04563386672342721, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22250905_12-04-2025_05_34_39.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22250907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22250908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22250909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22250910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22250911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22250912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22250913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22250914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22250915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22250916, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22250917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22250918, '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 = 22251131 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': 2742129, 'mtr_portfolio_id': 22251131, 'created_at': datetime.datetime(2025, 4, 11, 6, 9, 29), 'result': '0.04045011640719762', 'result_long': None, 'result_double': None}] Qualite : 0.04045011640719762 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22251131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251131_11-04-2025_06_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22251131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251131_11-04-2025_06_09_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251145, 'pht': 3726}}" where mtr_portfolio_id = 22251131 and dashboard_run_id = 1746003 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`=22251131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042239, 0.04045011640719762, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251131_11-04-2025_06_09_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251135, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251145, '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 = 22251556 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': 2742157, 'mtr_portfolio_id': 22251556, 'created_at': datetime.datetime(2025, 4, 11, 6, 3, 1), 'result': '0.04475795228937768', 'result_long': None, 'result_double': None}] Qualite : 0.04475795228937768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22251556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251556_11-04-2025_06_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22251556 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251556_11-04-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251571, 'pht': 3726}}" where mtr_portfolio_id = 22251556 and dashboard_run_id = 1746003 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`=22251556 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042240, 0.04475795228937768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251556_11-04-2025_06_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22251560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22251561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22251562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22251563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22251564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22251565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22251566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22251567, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22251568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22251569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22251570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22251571, '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 = 22251992 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': 2742205, 'mtr_portfolio_id': 22251992, 'created_at': datetime.datetime(2025, 4, 11, 6, 16, 59), 'result': '0.04495918395768394', 'result_long': None, 'result_double': None}] Qualite : 0.04495918395768394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22251992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251992_11-04-2025_06_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22251992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251992_11-04-2025_06_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22252021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252030, 'pht': 3726}}" where mtr_portfolio_id = 22251992 and dashboard_run_id = 1746003 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`=22251992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042241, 0.04495918395768394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22251992_11-04-2025_06_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22252021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252030, '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 = 22252595 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': 2742238, 'mtr_portfolio_id': 22252595, 'created_at': datetime.datetime(2025, 4, 11, 6, 32, 30), 'result': '0.06233100572693038', 'result_long': None, 'result_double': None}] Qualite : 0.06233100572693038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22252595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22252595_11-04-2025_06_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22252595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22252595_11-04-2025_06_32_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22252623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252634, 'pht': 3726}}" where mtr_portfolio_id = 22252595 and dashboard_run_id = 1746003 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`=22252595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042242, 0.06233100572693038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22252595_11-04-2025_06_32_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22252623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22252624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22252625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22252626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22252627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22252628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22252629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22252630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22252631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22252632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22252633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22252634, '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 = 22253158 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': 2742277, 'mtr_portfolio_id': 22253158, 'created_at': datetime.datetime(2025, 4, 11, 6, 46, 59), 'result': '0.054845658935296075', 'result_long': None, 'result_double': None}] Qualite : 0.054845658935296075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22253158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253158_11-04-2025_06_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22253158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253158_11-04-2025_06_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22253211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253218, 'pht': 3726}}" where mtr_portfolio_id = 22253158 and dashboard_run_id = 1746003 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`=22253158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042243, 0.054845658935296075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253158_11-04-2025_06_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253208, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22253211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253213, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253215, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253218, '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 = 22253768 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': 2742313, 'mtr_portfolio_id': 22253768, 'created_at': datetime.datetime(2025, 4, 11, 7, 2, 58), 'result': '0.03871982634678879', 'result_long': None, 'result_double': None}] Qualite : 0.03871982634678879 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22253768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253768_11-04-2025_07_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22253768 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253768_11-04-2025_07_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22253836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253847, 'pht': 3726}}" where mtr_portfolio_id = 22253768 and dashboard_run_id = 1746003 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`=22253768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042244, 0.03871982634678879, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22253768_11-04-2025_07_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22253836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22253837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22253838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22253839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22253840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22253841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22253842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22253843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22253844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22253845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22253846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22253847, '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 = 22254301 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': 2742411, 'mtr_portfolio_id': 22254301, 'created_at': datetime.datetime(2025, 4, 11, 7, 17, 13), 'result': '0.05593091374692898', 'result_long': None, 'result_double': None}] Qualite : 0.05593091374692898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22254301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22254301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, 'pht': 3726}}" where mtr_portfolio_id = 22254301 and dashboard_run_id = 1746003 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`=22254301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042245, 0.05593091374692898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22254301_11-04-2025_07_17_14.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22254342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22254343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22254344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22254345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22254346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22254347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22254348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22254349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22254350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22254351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22254352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22254353, '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 = 22255333 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': 2742462, 'mtr_portfolio_id': 22255333, 'created_at': datetime.datetime(2025, 4, 11, 7, 33), 'result': '0.060143392302330116', 'result_long': None, 'result_double': None}] Qualite : 0.060143392302330116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22255333 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22255333 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, 'pht': 3726}}" where mtr_portfolio_id = 22255333 and dashboard_run_id = 1746003 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`=22255333 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042246, 0.060143392302330116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255333_11-04-2025_07_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22255336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22255337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22255338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22255339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22255340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22255341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22255342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22255343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22255344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22255345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22255346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22255347, '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 = 22255996 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': 2742518, 'mtr_portfolio_id': 22255996, 'created_at': datetime.datetime(2025, 4, 11, 7, 50, 59), 'result': '0.056899860998053525', 'result_long': None, 'result_double': None}] Qualite : 0.056899860998053525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22255996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22255996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, 'pht': 3726}}" where mtr_portfolio_id = 22255996 and dashboard_run_id = 1746003 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`=22255996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042247, 0.056899860998053525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22255996_11-04-2025_07_50_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256060, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256064, '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 = 22256877 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': 2742578, 'mtr_portfolio_id': 22256877, 'created_at': datetime.datetime(2025, 4, 11, 8, 2, 59), 'result': '0.056332539393677016', 'result_long': None, 'result_double': None}] Qualite : 0.056332539393677016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22256877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_08_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22256877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_08_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, 'pht': 3726}}" where mtr_portfolio_id = 22256877 and dashboard_run_id = 1746003 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`=22256877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042248, 0.056332539393677016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22256877_11-04-2025_08_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22256880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22256881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22256882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22256883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22256884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22256885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22256886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22256887, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22256888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22256889, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22256890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22256891, '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 = 22257532 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': 2742650, 'mtr_portfolio_id': 22257532, 'created_at': datetime.datetime(2025, 4, 11, 8, 18, 59), 'result': '0.029535576853306364', 'result_long': None, 'result_double': None}] Qualite : 0.029535576853306364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22257532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22257532_11-04-2025_08_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22257532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22257532_11-04-2025_08_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22257550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22257551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22257552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22257553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22257554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22257555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22257556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22257557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22257558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22257559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22257560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22257561, 'pht': 3726}}" where mtr_portfolio_id = 22257532 and dashboard_run_id = 1746003 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`=22257532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042249, 0.029535576853306364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22257532_11-04-2025_08_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22257550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22257551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22257552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22257553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22257554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22257555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22257556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22257557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22257558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22257559, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22257560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22257561, '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 = 22258038 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': 2742689, 'mtr_portfolio_id': 22258038, 'created_at': datetime.datetime(2025, 4, 11, 8, 32, 59), 'result': '0.062008811333670456', 'result_long': None, 'result_double': None}] Qualite : 0.062008811333670456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22258038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258038_11-04-2025_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22258038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258038_11-04-2025_08_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22258117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258128, 'pht': 3726}}" where mtr_portfolio_id = 22258038 and dashboard_run_id = 1746003 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`=22258038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042250, 0.062008811333670456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258038_11-04-2025_08_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22258117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258128, '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 = 22258951 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': 2742766, 'mtr_portfolio_id': 22258951, 'created_at': datetime.datetime(2025, 4, 11, 8, 49, 1), 'result': '0.05658045205113105', 'result_long': None, 'result_double': None}] Qualite : 0.05658045205113105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22258951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258951_11-04-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22258951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258951_11-04-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22258955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258965, 'pht': 3726}}" where mtr_portfolio_id = 22258951 and dashboard_run_id = 1746003 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`=22258951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042251, 0.05658045205113105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22258951_11-04-2025_08_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22258954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22258955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22258956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22258957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22258958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22258959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22258960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22258961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22258962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22258963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22258964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22258965, '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 = 22259736 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': 2742812, 'mtr_portfolio_id': 22259736, 'created_at': datetime.datetime(2025, 4, 11, 9, 3), 'result': '0.05337586511503102', 'result_long': None, 'result_double': None}] Qualite : 0.05337586511503102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22259736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22259736_11-04-2025_09_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22259736 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22259736_11-04-2025_09_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22259853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22259854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22259855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22259856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22259857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22259858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22259859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22259860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22259861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22259862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22259863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22259864, 'pht': 3726}}" where mtr_portfolio_id = 22259736 and dashboard_run_id = 1746003 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`=22259736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042252, 0.05337586511503102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22259736_11-04-2025_09_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22259853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22259854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22259855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22259856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22259857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22259858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22259859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22259860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22259861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22259862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22259863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22259864, '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 = 22262446 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': 2743260, 'mtr_portfolio_id': 22262446, 'created_at': datetime.datetime(2025, 4, 11, 9, 49, 31), 'result': '0.04219577985956917', 'result_long': None, 'result_double': None}] Qualite : 0.04219577985956917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22262446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22262446_11-04-2025_09_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22262446 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22262446_11-04-2025_09_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22262472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22262473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22262474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22262475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22262476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22262477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22262478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22262479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22262480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22262481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22262482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22262483, 'pht': 3726}}" where mtr_portfolio_id = 22262446 and dashboard_run_id = 1746003 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`=22262446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042253, 0.04219577985956917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22262446_11-04-2025_09_49_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22262472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22262473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22262474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22262475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22262476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22262477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22262478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22262479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22262480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22262481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22262482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22262483, '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 = 22263332 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': 2743307, 'mtr_portfolio_id': 22263332, 'created_at': datetime.datetime(2025, 4, 11, 10, 3, 5), 'result': '0.04020188837662507', 'result_long': None, 'result_double': None}] Qualite : 0.04020188837662507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22263332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22263332_11-04-2025_10_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22263332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22263332_11-04-2025_10_03_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22263361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22263362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22263363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22263364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22263365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22263366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22263367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22263368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22263369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22263370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22263371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22263372, 'pht': 3726}}" where mtr_portfolio_id = 22263332 and dashboard_run_id = 1746003 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`=22263332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042254, 0.04020188837662507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22263332_11-04-2025_10_03_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22263361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22263362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22263363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22263364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22263365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22263366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22263367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22263368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22263369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22263370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22263371, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22263372, '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 = 22264476 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': 2743380, 'mtr_portfolio_id': 22264476, 'created_at': datetime.datetime(2025, 4, 11, 10, 19, 35), 'result': '0.07702518066141709', 'result_long': None, 'result_double': None}] Qualite : 0.07702518066141709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22264476 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264476_11-04-2025_10_19_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22264476 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264476_11-04-2025_10_19_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22264502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264506, 'pht': 3726}}" where mtr_portfolio_id = 22264476 and dashboard_run_id = 1746003 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`=22264476 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042255, 0.07702518066141709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264476_11-04-2025_10_19_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22264502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264506, '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 = 22264886 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': 2743425, 'mtr_portfolio_id': 22264886, 'created_at': datetime.datetime(2025, 4, 11, 10, 23, 2), 'result': '0.08060248174506653', 'result_long': None, 'result_double': None}] Qualite : 0.08060248174506653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22264886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264886_11-04-2025_10_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22264886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264886_11-04-2025_10_23_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22264889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264900, 'pht': 3726}}" where mtr_portfolio_id = 22264886 and dashboard_run_id = 1746003 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`=22264886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042256, 0.08060248174506653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22264886_11-04-2025_10_23_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22264889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22264890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22264891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22264892, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22264893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22264894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22264895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22264896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22264897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22264898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22264899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22264900, '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 = 22266161 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': 2743500, 'mtr_portfolio_id': 22266161, 'created_at': datetime.datetime(2025, 4, 11, 10, 48, 59), 'result': '0.056119854541209095', 'result_long': None, 'result_double': None}] Qualite : 0.056119854541209095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22266161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22266161_11-04-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22266161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22266161_11-04-2025_10_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22266210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22266211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22266212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22266213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22266214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22266215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22266216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22266217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22266218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22266219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22266220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22266221, 'pht': 3726}}" where mtr_portfolio_id = 22266161 and dashboard_run_id = 1746003 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`=22266161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042257, 0.056119854541209095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22266161_11-04-2025_10_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22266210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22266211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22266212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22266213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22266214, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22266215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22266216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22266217, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22266218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22266219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22266220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22266221, '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 = 22267667 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': 2743726, 'mtr_portfolio_id': 22267667, 'created_at': datetime.datetime(2025, 4, 11, 11, 3, 2), 'result': '0.0354181660910938', 'result_long': None, 'result_double': None}] Qualite : 0.0354181660910938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22267667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22267667_11-04-2025_11_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22267667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22267667_11-04-2025_11_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22267671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22267672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22267673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22267674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22267675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22267676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22267677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22267678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22267679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22267680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22267681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22267682, 'pht': 3726}}" where mtr_portfolio_id = 22267667 and dashboard_run_id = 1746003 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`=22267667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042258, 0.0354181660910938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22267667_11-04-2025_11_03_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22267671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22267672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22267673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22267674, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22267675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22267676, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22267677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22267678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22267679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22267680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22267681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22267682, '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 = 22268821 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': 2743895, 'mtr_portfolio_id': 22268821, 'created_at': datetime.datetime(2025, 4, 11, 11, 17, 1), 'result': '0.04831926767802687', 'result_long': None, 'result_double': None}] Qualite : 0.04831926767802687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22268821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22268821_11-04-2025_11_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22268821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22268821_11-04-2025_11_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22268823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22268824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22268825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22268826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22268827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22268828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22268829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22268832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22268838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22268842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22268845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22268846, 'pht': 3726}}" where mtr_portfolio_id = 22268821 and dashboard_run_id = 1746003 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`=22268821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042259, 0.04831926767802687, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22268821_11-04-2025_11_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22268823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22268824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22268825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22268826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22268827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22268828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22268829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22268832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22268838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22268842, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22268845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22268846, '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 = 22270003 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': 2743961, 'mtr_portfolio_id': 22270003, 'created_at': datetime.datetime(2025, 4, 11, 11, 32, 57), 'result': '0.04803128510145437', 'result_long': None, 'result_double': None}] Qualite : 0.04803128510145437 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22270003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22270003_11-04-2025_11_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22270003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22270003_11-04-2025_11_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22270069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22270070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22270071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22270072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22270073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22270074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22270075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22270076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22270077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22270078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22270079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22270080, 'pht': 3726}}" where mtr_portfolio_id = 22270003 and dashboard_run_id = 1746003 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`=22270003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042260, 0.04803128510145437, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22270003_11-04-2025_11_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22270069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22270070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22270071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22270072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22270073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22270074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22270075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22270076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22270077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22270078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22270079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22270080, '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 = 22271022 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': 2744097, 'mtr_portfolio_id': 22271022, 'created_at': datetime.datetime(2025, 4, 11, 11, 47), 'result': '0.05859450509527952', 'result_long': None, 'result_double': None}] Qualite : 0.05859450509527952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22271022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22271022_11-04-2025_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22271022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22271022_11-04-2025_11_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22271026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22271027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22271028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22271029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22271030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22271031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22271032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22271033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22271034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22271035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22271036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22271037, 'pht': 3726}}" where mtr_portfolio_id = 22271022 and dashboard_run_id = 1746003 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`=22271022 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042261, 0.05859450509527952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22271022_11-04-2025_11_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22271026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22271027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22271028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22271029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22271030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22271031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22271032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22271033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22271034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22271035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22271036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22271037, '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 = 22272205 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': 2744156, 'mtr_portfolio_id': 22272205, 'created_at': datetime.datetime(2025, 4, 11, 12, 3), 'result': '0.06886750367053909', 'result_long': None, 'result_double': None}] Qualite : 0.06886750367053909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22272205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22272205_11-04-2025_12_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22272205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22272205_11-04-2025_12_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22272221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22272222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22272224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22272225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22272226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22272228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22272229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22272231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22272232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22272233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22272235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22272236, 'pht': 3726}}" where mtr_portfolio_id = 22272205 and dashboard_run_id = 1746003 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`=22272205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042262, 0.06886750367053909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22272205_11-04-2025_12_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22272221, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22272222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22272224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22272225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22272226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22272228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22272229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22272231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22272232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22272233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22272235, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22272236, '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 = 22273185 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': 2744206, 'mtr_portfolio_id': 22273185, 'created_at': datetime.datetime(2025, 4, 12, 0, 4, 2), 'result': '0.03035381423562678', 'result_long': None, 'result_double': None}] Qualite : 0.03035381423562678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22273185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22273185_12-04-2025_00_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22273185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22273185_12-04-2025_00_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22273190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22273191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22273192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22273193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22273194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22273195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22273196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22273197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22273198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22273199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22273200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22273201, 'pht': 3726}}" where mtr_portfolio_id = 22273185 and dashboard_run_id = 1746003 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`=22273185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042263, 0.03035381423562678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22273185_12-04-2025_00_04_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22273190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22273191, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22273192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22273193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22273194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22273195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22273196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22273197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22273198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22273199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22273200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22273201, '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 = 22276503 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': 2744482, 'mtr_portfolio_id': 22276503, 'created_at': datetime.datetime(2025, 4, 11, 13, 47, 2), 'result': '0.03733633829439681', 'result_long': None, 'result_double': None}] Qualite : 0.03733633829439681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22276503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276503_11-04-2025_13_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22276503 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276503_11-04-2025_13_47_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22276508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276519, 'pht': 3726}}" where mtr_portfolio_id = 22276503 and dashboard_run_id = 1746003 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`=22276503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042264, 0.03733633829439681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276503_11-04-2025_13_47_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22276508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276519, '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 = 22276699 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': 2744494, 'mtr_portfolio_id': 22276699, 'created_at': datetime.datetime(2025, 4, 11, 14, 2, 57), 'result': '0.053980849682906056', 'result_long': None, 'result_double': None}] Qualite : 0.053980849682906056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22276699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276699_11-04-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22276699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276699_11-04-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22276730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276738, 'pht': 3726}}" where mtr_portfolio_id = 22276699 and dashboard_run_id = 1746003 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`=22276699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042265, 0.053980849682906056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22276699_11-04-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22276727, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22276728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22276729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22276730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22276731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22276732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22276733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22276734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22276735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22276736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22276737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22276738, '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 = 22277278 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': 2744555, 'mtr_portfolio_id': 22277278, 'created_at': datetime.datetime(2025, 4, 11, 14, 17, 28), 'result': '0.03861512163307405', 'result_long': None, 'result_double': None}] Qualite : 0.03861512163307405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22277278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277278_11-04-2025_14_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22277278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277278_11-04-2025_14_17_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22277302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277313, 'pht': 3726}}" where mtr_portfolio_id = 22277278 and dashboard_run_id = 1746003 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`=22277278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042266, 0.03861512163307405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277278_11-04-2025_14_17_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22277302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277303, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277309, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277310, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277312, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277313, '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 = 22277722 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': 2744631, 'mtr_portfolio_id': 22277722, 'created_at': datetime.datetime(2025, 4, 11, 14, 34, 58), 'result': '0.06743925810814043', 'result_long': None, 'result_double': None}] Qualite : 0.06743925810814043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22277722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277722_11-04-2025_14_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22277722 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277722_11-04-2025_14_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22277733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277740, 'pht': 3726}}" where mtr_portfolio_id = 22277722 and dashboard_run_id = 1746003 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`=22277722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042267, 0.06743925810814043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22277722_11-04-2025_14_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22277728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22277729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22277730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22277732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22277733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22277734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22277735, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22277736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22277737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22277738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22277739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22277740, '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 = 22278478 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': 2744808, 'mtr_portfolio_id': 22278478, 'created_at': datetime.datetime(2025, 4, 11, 14, 48, 59), 'result': '0.04746497418787983', 'result_long': None, 'result_double': None}] Qualite : 0.04746497418787983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22278478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278478_11-04-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22278478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278478_11-04-2025_14_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22278510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278521, 'pht': 3726}}" where mtr_portfolio_id = 22278478 and dashboard_run_id = 1746003 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`=22278478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042268, 0.04746497418787983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278478_11-04-2025_14_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22278510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278516, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278521, '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 = 22278867 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': 2744884, 'mtr_portfolio_id': 22278867, 'created_at': datetime.datetime(2025, 4, 11, 15, 3, 37), 'result': '0.027517227350423862', 'result_long': None, 'result_double': None}] Qualite : 0.027517227350423862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22278867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278867_11-04-2025_15_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22278867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278867_11-04-2025_15_03_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22278901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278909, 'pht': 3726}}" where mtr_portfolio_id = 22278867 and dashboard_run_id = 1746003 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`=22278867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042269, 0.027517227350423862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22278867_11-04-2025_15_03_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22278898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22278899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22278900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22278901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22278902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22278903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22278904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22278905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22278906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22278907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22278908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22278909, '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 = 22279715 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': 2744985, 'mtr_portfolio_id': 22279715, 'created_at': datetime.datetime(2025, 4, 11, 15, 17, 31), 'result': '0.03821175810453171', 'result_long': None, 'result_double': None}] Qualite : 0.03821175810453171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22279715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22279715_11-04-2025_15_17_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22279715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22279715_11-04-2025_15_17_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22279801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22279802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22279803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22279804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22279805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22279806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22279807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22279808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22279809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22279810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22279811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22279812, 'pht': 3726}}" where mtr_portfolio_id = 22279715 and dashboard_run_id = 1746003 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`=22279715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042270, 0.03821175810453171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22279715_11-04-2025_15_17_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22279801, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22279802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22279803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22279804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22279805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22279806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22279807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22279808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22279809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22279810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22279811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22279812, '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 = 22280602 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': 2745057, 'mtr_portfolio_id': 22280602, 'created_at': datetime.datetime(2025, 4, 11, 15, 32, 59), 'result': '0.043907795476187256', 'result_long': None, 'result_double': None}] Qualite : 0.043907795476187256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22280602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22280602_11-04-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22280602 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22280602_11-04-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22280664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22280665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22280666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22280667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22280668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22280669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22280670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22280671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22280672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22280673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22280674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22280675, 'pht': 3726}}" where mtr_portfolio_id = 22280602 and dashboard_run_id = 1746003 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`=22280602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042271, 0.043907795476187256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22280602_11-04-2025_15_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22280664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22280665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22280666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22280667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22280668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22280669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22280670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22280671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22280672, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22280673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22280674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22280675, '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 = 22281285 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': 2745109, 'mtr_portfolio_id': 22281285, 'created_at': datetime.datetime(2025, 4, 11, 15, 47, 45), 'result': '0.0634537798837013', 'result_long': None, 'result_double': None}] Qualite : 0.0634537798837013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22281285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22281285_11-04-2025_15_47_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22281285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22281285_11-04-2025_15_47_46.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22281326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22281327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22281328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22281329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22281330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22281331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22281332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22281333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22281334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22281335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22281336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22281337, 'pht': 3726}}" where mtr_portfolio_id = 22281285 and dashboard_run_id = 1746003 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`=22281285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042272, 0.0634537798837013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22281285_11-04-2025_15_47_46.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22281326, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22281327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22281328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22281329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22281330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22281331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22281332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22281333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22281334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22281335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22281336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22281337, '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 = 22282511 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': 2745163, 'mtr_portfolio_id': 22282511, 'created_at': datetime.datetime(2025, 4, 11, 16, 2, 59), 'result': '0.05803075298104398', 'result_long': None, 'result_double': None}] Qualite : 0.05803075298104398 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22282511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22282511_11-04-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22282511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22282511_11-04-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22282636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22282637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22282638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22282639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22282640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22282641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22282642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22282643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22282644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22282645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22282646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22282647, 'pht': 3726}}" where mtr_portfolio_id = 22282511 and dashboard_run_id = 1746003 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`=22282511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042273, 0.05803075298104398, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22282511_11-04-2025_16_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22282636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22282637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22282638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22282639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22282640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22282641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22282642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22282643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22282644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22282645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22282646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22282647, '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 = 22283551 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': 2745260, 'mtr_portfolio_id': 22283551, 'created_at': datetime.datetime(2025, 4, 11, 16, 19, 44), 'result': '0.06463158074751656', 'result_long': None, 'result_double': None}] Qualite : 0.06463158074751656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22283551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283551_11-04-2025_16_19_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22283551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283551_11-04-2025_16_19_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283600, 'pht': 3726}}" where mtr_portfolio_id = 22283551 and dashboard_run_id = 1746003 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`=22283551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042274, 0.06463158074751656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283551_11-04-2025_16_19_44.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283600, '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 = 22284509 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': 2745366, 'mtr_portfolio_id': 22284509, 'created_at': datetime.datetime(2025, 4, 11, 16, 38, 59), 'result': '0.05486259959863758', 'result_long': None, 'result_double': None}] Qualite : 0.05486259959863758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22284509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284509_11-04-2025_16_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22284509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284509_11-04-2025_16_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284545, 'pht': 3726}}" where mtr_portfolio_id = 22284509 and dashboard_run_id = 1746003 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`=22284509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042275, 0.05486259959863758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284509_11-04-2025_16_39_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284545, '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 = 22285521 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': 2745459, 'mtr_portfolio_id': 22285521, 'created_at': datetime.datetime(2025, 4, 11, 16, 47, 50), 'result': '0.034205245265588206', 'result_long': None, 'result_double': None}] Qualite : 0.034205245265588206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285521_11-04-2025_16_47_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285521_11-04-2025_16_47_51.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285568, 'pht': 3726}}" where mtr_portfolio_id = 22285521 and dashboard_run_id = 1746003 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`=22285521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042276, 0.034205245265588206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285521_11-04-2025_16_47_51.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285568, '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 = 22286062 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': 2745482, 'mtr_portfolio_id': 22286062, 'created_at': datetime.datetime(2025, 4, 11, 17, 3, 3), 'result': '0.0467772501443778', 'result_long': None, 'result_double': None}] Qualite : 0.0467772501443778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22286062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286062_11-04-2025_17_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22286062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286062_11-04-2025_17_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286079, 'pht': 3726}}" where mtr_portfolio_id = 22286062 and dashboard_run_id = 1746003 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`=22286062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042277, 0.0467772501443778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286062_11-04-2025_17_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286079, '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 = 22287027 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': 2745544, 'mtr_portfolio_id': 22287027, 'created_at': datetime.datetime(2025, 4, 11, 17, 24, 57), 'result': '0.06366457900199111', 'result_long': None, 'result_double': None}] Qualite : 0.06366457900199111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22287027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287027_11-04-2025_17_24_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22287027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287027_11-04-2025_17_24_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22287049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287060, 'pht': 3726}}" where mtr_portfolio_id = 22287027 and dashboard_run_id = 1746003 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`=22287027 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042278, 0.06366457900199111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287027_11-04-2025_17_24_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22287049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287051, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287060, '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 = 22288233 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': 2745622, 'mtr_portfolio_id': 22288233, 'created_at': datetime.datetime(2025, 4, 11, 17, 32, 58), 'result': '0.016688499395889914', 'result_long': None, 'result_double': None}] Qualite : 0.016688499395889914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288233_11-04-2025_17_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288233 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288233_11-04-2025_17_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288245, 'pht': 3726}}" where mtr_portfolio_id = 22288233 and dashboard_run_id = 1746003 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`=22288233 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042279, 0.016688499395889914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288233_11-04-2025_17_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288237, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288238, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288245, '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 = 22289888 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': 2745705, 'mtr_portfolio_id': 22289888, 'created_at': datetime.datetime(2025, 4, 11, 18, 17, 8), 'result': '0.05456455203195959', 'result_long': None, 'result_double': None}] Qualite : 0.05456455203195959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289888_11-04-2025_18_17_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289888 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289888_11-04-2025_18_17_08.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289927, 'pht': 3726}}" where mtr_portfolio_id = 22289888 and dashboard_run_id = 1746003 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`=22289888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042280, 0.05456455203195959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289888_11-04-2025_18_17_08.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289927, '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 = 22290790 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': 2745761, 'mtr_portfolio_id': 22290790, 'created_at': datetime.datetime(2025, 4, 11, 18, 33, 1), 'result': '0.05301354526155008', 'result_long': None, 'result_double': None}] Qualite : 0.05301354526155008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22290790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290790_11-04-2025_18_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22290790 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290790_11-04-2025_18_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290802, 'pht': 3726}}" where mtr_portfolio_id = 22290790 and dashboard_run_id = 1746003 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`=22290790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042281, 0.05301354526155008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290790_11-04-2025_18_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290802, '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 = 22291494 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': 2745798, 'mtr_portfolio_id': 22291494, 'created_at': datetime.datetime(2025, 4, 11, 18, 49, 1), 'result': '0.04334877146558542', 'result_long': None, 'result_double': None}] Qualite : 0.04334877146558542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22291494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291494_11-04-2025_18_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22291494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291494_11-04-2025_18_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291506, 'pht': 3726}}" where mtr_portfolio_id = 22291494 and dashboard_run_id = 1746003 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`=22291494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042282, 0.04334877146558542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291494_11-04-2025_18_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291506, '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 = 22292559 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': 2745845, 'mtr_portfolio_id': 22292559, 'created_at': datetime.datetime(2025, 4, 11, 19, 3, 1), 'result': '0.04413061003913569', 'result_long': None, 'result_double': None}] Qualite : 0.04413061003913569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22292559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22292559_11-04-2025_19_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22292559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22292559_11-04-2025_19_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22292585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22292586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22292587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22292588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22292589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22292590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22292591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22292592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22292593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22292594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22292595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22292596, 'pht': 3726}}" where mtr_portfolio_id = 22292559 and dashboard_run_id = 1746003 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`=22292559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042283, 0.04413061003913569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22292559_11-04-2025_19_03_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22292585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22292586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22292587, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22292588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22292589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22292590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22292591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22292592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22292593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22292594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22292595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22292596, '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 = 22293155 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': 2745906, 'mtr_portfolio_id': 22293155, 'created_at': datetime.datetime(2025, 4, 11, 19, 17, 1), 'result': '0.04017354236135168', 'result_long': None, 'result_double': None}] Qualite : 0.04017354236135168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22293155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293155_11-04-2025_19_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22293155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293155_11-04-2025_19_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22293204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293240, 'pht': 3726}}" where mtr_portfolio_id = 22293155 and dashboard_run_id = 1746003 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`=22293155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042284, 0.04017354236135168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293155_11-04-2025_19_17_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22293204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293240, '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 = 22294513 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': 2745986, 'mtr_portfolio_id': 22294513, 'created_at': datetime.datetime(2025, 4, 11, 19, 33, 32), 'result': '0.04393922219327648', 'result_long': None, 'result_double': None}] Qualite : 0.04393922219327648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22294513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294513_11-04-2025_19_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22294513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294513_11-04-2025_19_33_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294588, 'pht': 3726}}" where mtr_portfolio_id = 22294513 and dashboard_run_id = 1746003 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`=22294513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042285, 0.04393922219327648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294513_11-04-2025_19_33_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294588, '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 = 22295582 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': 2746069, 'mtr_portfolio_id': 22295582, 'created_at': datetime.datetime(2025, 4, 11, 19, 47, 32), 'result': '0.06369179666235565', 'result_long': None, 'result_double': None}] Qualite : 0.06369179666235565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22295582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295582_11-04-2025_19_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22295582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295582_11-04-2025_19_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295596, 'pht': 3726}}" where mtr_portfolio_id = 22295582 and dashboard_run_id = 1746003 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`=22295582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042286, 0.06369179666235565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295582_11-04-2025_19_47_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295591, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295596, '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 = 22296376 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': 2746110, 'mtr_portfolio_id': 22296376, 'created_at': datetime.datetime(2025, 4, 11, 20, 3, 31), 'result': '0.04363770098468186', 'result_long': None, 'result_double': None}] Qualite : 0.04363770098468186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22296376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296376_11-04-2025_20_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22296376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296376_11-04-2025_20_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22296402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296415, 'pht': 3726}}" where mtr_portfolio_id = 22296376 and dashboard_run_id = 1746003 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`=22296376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042287, 0.04363770098468186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296376_11-04-2025_20_03_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22296402, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296406, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296415, '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 = 22297260 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': 2746177, 'mtr_portfolio_id': 22297260, 'created_at': datetime.datetime(2025, 4, 11, 20, 17, 30), 'result': '0.04347534616781057', 'result_long': None, 'result_double': None}] Qualite : 0.04347534616781057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22297260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297260_11-04-2025_20_17_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22297260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297260_11-04-2025_20_17_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22297303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297305, 'pht': 3726}}" where mtr_portfolio_id = 22297260 and dashboard_run_id = 1746003 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`=22297260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042288, 0.04347534616781057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297260_11-04-2025_20_17_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22297303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297305, '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 = 22298172 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': 2746223, 'mtr_portfolio_id': 22298172, 'created_at': datetime.datetime(2025, 4, 11, 20, 35), 'result': '0.05418676731700168', 'result_long': None, 'result_double': None}] Qualite : 0.05418676731700168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22298172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298172_11-04-2025_20_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22298172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298172_11-04-2025_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298254, 'pht': 3726}}" where mtr_portfolio_id = 22298172 and dashboard_run_id = 1746003 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`=22298172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042289, 0.05418676731700168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298172_11-04-2025_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298230, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298250, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298251, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298254, '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 = 22299599 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': 2746294, 'mtr_portfolio_id': 22299599, 'created_at': datetime.datetime(2025, 4, 11, 21, 1, 1), 'result': '0.03976730036594668', 'result_long': None, 'result_double': None}] Qualite : 0.03976730036594668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22299599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299599_11-04-2025_21_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22299599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299599_11-04-2025_21_01_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299623, 'pht': 3726}}" where mtr_portfolio_id = 22299599 and dashboard_run_id = 1746003 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`=22299599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042290, 0.03976730036594668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299599_11-04-2025_21_01_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299623, '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 = 22301428 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': 2746421, 'mtr_portfolio_id': 22301428, 'created_at': datetime.datetime(2025, 4, 11, 21, 34, 59), 'result': '0.1278446926289972', 'result_long': None, 'result_double': None}] Qualite : 0.1278446926289972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22301428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22301428_11-04-2025_21_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22301428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22301428_11-04-2025_21_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22301429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22301430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22301431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22301432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22301433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22301434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22301435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22301436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22301437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22301438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22301439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22301440, 'pht': 3726}}" where mtr_portfolio_id = 22301428 and dashboard_run_id = 1746003 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`=22301428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042291, 0.1278446926289972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22301428_11-04-2025_21_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22301429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22301430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22301431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22301432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22301433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22301434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22301435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22301436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22301437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22301438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22301439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22301440, '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 = 22302118 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': 2746484, 'mtr_portfolio_id': 22302118, 'created_at': datetime.datetime(2025, 4, 11, 21, 53), 'result': '0.013467580677792256', 'result_long': None, 'result_double': None}] Qualite : 0.013467580677792256 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22302118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22302118_11-04-2025_21_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22302118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22302118_11-04-2025_21_53_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22302144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22302145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22302146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22302147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22302148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22302149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22302150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22302151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22302152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22302153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22302154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22302155, 'pht': 3726}}" where mtr_portfolio_id = 22302118 and dashboard_run_id = 1746003 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`=22302118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10042292, 0.013467580677792256, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22302118_11-04-2025_21_53_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22302144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22302145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22302146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22302147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22302148, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22302149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22302150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22302151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22302152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22302153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22302154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22302155, '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 (22250905,22251131,22251556,22251992,22252595,22253158,22253768,22254301,22255333,22255996,22256877,22257532,22258038,22258951,22259736,22262446,22263332,22264476,22264886,22266161,22267667,22268821,22270003,22271022,22272205,22273185,22276503,22276699,22277278,22277722,22278478,22278867,22279715,22280602,22281285,22282511,22283551,22284509,22285521,22286062,22287027,22288233,22289888,22290790,22291494,22292559,22293155,22294513,22295582,22296376,22297260,22298172,22299599,22301428,22302118) result : ((1351460406,), (1351462169,), (1351462213,), (1351462215,), (1351462217,), (1351462240,), (1351462246,), (1351462250,), (1351462252,), (1351462275,), (1351462278,), (1351462279,), (1351462283,), (1351462289,), (1351462329,), (1351462331,), (1351462336,), (1351462345,), (1351462357,), (1351462459,), (1351462553,), (1351462608,), (1351462665,), (1351462668,), (1351462672,), (1351462674,), (1351462809,), (1351462815,), (1351462818,), (1351462821,), (1351462835,), (1351463386,), (1351463512,), (1351463497,), (1351463500,), (1351463503,), (1351463507,), (1351463510,), (1351463553,), (1351463557,), (1351463561,), (1351463595,), (1351463597,), (1351463600,), (1351463604,), (1351463608,), (1351463633,), (1351463637,), (1351463640,), (1351463677,), (1351463680,), (1351463732,), (1351463735,), (1351463771,), (1351463942,), (1351463946,), (1351463948,), (1351463950,), (1351463954,), (1351463992,), (1351463994,), (1351463996,), (1351464058,), (1351464061,), (1351464080,), (1351464084,), (1351464093,), (1351464193,), (1351464196,), (1351464199,), (1351464201,), (1351464286,), (1351464376,), (1351464379,), (1351464380,), (1351464382,), (1351464419,), (1351464422,), (1351464460,), (1351464463,), (1351464466,), (1351464497,), (1351464504,), (1351464506,), (1351464509,), (1351464512,), (1351464549,), (1351464552,), (1351464557,), (1351464560,), (1351464790,), (1351464794,), (1351464710,), (1351464732,), (1351464759,), (1351464843,), (1351464848,), (1351464850,), (1351464880,), (1351464892,), (1351464894,), (1351464896,), (1351465014,), (1351465021,), (1351465022,), (1351465024,), (1351465026,), (1351465029,), (1351465122,), (1351465198,), (1351465308,), (1351465324,), (1351465408,), (1351465410,), (1351465413,), (1351465416,), (1351465419,), (1351465458,), (1351465461,), (1351465463,), (1351465464,), (1351465469,), (1351465473,), (1351465500,), (1351465503,), (1351465506,), (1351465591,), (1351465596,), (1351465656,), (1351465660,), (1351465663,), (1351465675,), (1351465685,), (1351465710,), (1351465712,), (1351465713,), (1351465714,), (1351465716,), (1351465739,), (1351465745,), (1351465747,), (1351465857,), (1351465862,), (1351465866,), (1351465871,), (1351465877,), (1351465886,), (1351465909,), (1351465911,), (1351465917,), (1351465946,), (1351466094,), (1351466430,), (1351466411,), (1351466415,), (1351466425,), (1351466527,), (1351466550,), (1351466565,), (1351466666,), (1351466806,), (1351466852,), (1351467201,), (1351467222,), (1351467285,), (1351467311,), (1351467353,), (1351467389,), (1351467943,), (1351467997,), (1351468027,), (1351468085,), (1351468616,), (1351468654,), (1351468693,), (1351468759,), (1351468838,), (1351468903,), (1351469243,), (1351469269,), (1351469293,), (1351469315,), (1351469318,), (1351469479,), (1351469542,), (1351469558,), (1351469611,), (1351469650,), (1351469709,), (1351470046,), (1351470069,), (1351470144,), (1351470171,), (1351470488,), (1351470533,), (1351470552,), (1351470579,), (1351470623,), (1351470837,), (1351470868,), (1351470893,), (1351470923,), (1351470953,), (1351471427,), (1351471626,), (1351472997,), (1351473387,), (1351473418,), (1351473445,), (1351473479,), (1351473505,), (1351473704,), (1351473726,), (1351473745,), (1351473875,), (1351473867,), (1351473873,), (1351473901,), (1351473904,), (1351473907,), (1351473953,), (1351473957,), (1351473962,), (1351474013,), (1351474023,), (1351474036,), (1351474040,), (1351474048,), (1351474054,), (1351474187,), (1351474193,), (1351474195,), (1351474201,), (1351474348,), (1351474350,), (1351474352,), (1351474353,), (1351474355,), (1351474411,), (1351474533,), (1351474536,), (1351474538,), (1351474560,), (1351474583,), (1351474585,), (1351474616,), (1351474619,), (1351474621,), (1351474740,), (1351474792,), (1351474827,), (1351474829,), (1351474884,), (1351474891,), (1351474898,), (1351474900,), (1351474903,), (1351474906,), (1351474932,), (1351474934,), (1351474941,), (1351475096,), (1351475098,), (1351475114,), (1351475143,), (1351475171,), (1351475262,), (1351475266,), (1351475284,), (1351475335,), (1351475340,), (1351475372,), (1351475376,), (1351475378,), (1351475380,), (1351475391,), (1351475402,), (1351475484,), (1351475499,), (1351475502,), (1351475541,), (1351476592,), (1351476485,), (1351476571,), (1351476580,), (1351476714,), (1351476716,), (1351476718,), (1351476722,), (1351476791,), (1351476795,), (1351476798,), (1351476801,), (1351476804,), (1351476850,), (1351476893,), (1351476929,), (1351477086,), (1351477094,), (1351477100,), (1351477196,), (1351477483,), (1351477489,), (1351477492,), (1351477522,), (1351477528,), (1351477531,), (1351477535,), (1351477539,), (1351477598,), (1351477602,), (1351477604,), (1351477607,), (1351477722,), (1351477724,), (1351477793,), (1351477815,), (1351477819,), (1351477822,), (1351477906,), (1351477908,), (1351477913,), (1351477914,), (1351477917,), (1351477947,), (1351477950,), (1351477956,), (1351478020,), (1351478207,), (1351478208,), (1351478210,), (1351478231,), (1351478269,), (1351478272,), (1351478444,), (1351478446,), (1351478448,), (1351478455,), (1351478627,), (1351478628,), (1351478638,), (1351478644,), (1351478658,), (1351478703,), (1351478889,), (1351478859,), (1351478874,), (1351478886,), (1351479063,), (1351479103,), (1351479119,), (1351479122,), (1351479124,), (1351479217,), (1351479225,), (1351479245,), (1351479251,), (1351479421,), (1351479445,), (1351479456,), (1351480256,), (1351480572,), (1351480636,), (1351480639,), (1351480881,), (1351480886,), (1351480892,), (1351480899,), (1351480910,), (1351480922,), (1351480925,), (1351480929,), (1351480932,), (1351480936,), (1351480951,), (1351480943,), (1351480948,), (1351480999,), (1351481005,), (1351481011,), (1351481016,), (1351481086,), (1351481093,), (1351481098,), (1351481105,), (1351481110,), (1351481115,), (1351481153,), (1351481159,), (1351481165,), (1351481175,), (1351481183,), (1351482053,), (1351482140,), (1351482166,), (1351482208,), (1351482210,), (1351482214,), (1351482221,), (1351482259,), (1351482365,), (1351482716,), (1351482753,), (1351482797,), (1351482832,), (1351482870,), (1351483151,), (1351483180,), (1351483223,), (1351483268,), (1351483315,), (1351483628,), (1351483654,), (1351483675,), (1351484345,), (1351485486,), (1351485558,), (1351486311,), (1351486347,), (1351486712,), (1351486736,), (1351486753,), (1351487917,), (1351488319,), (1351488373,), (1351488413,), (1351488716,), (1351488732,), (1351488993,), (1351489031,), (1351489439,), (1351489488,), (1351489791,), (1351490157,), (1351490176,), (1351490276,), (1351490294,), (1351490301,), (1351490308,), (1351490312,), (1351490367,), (1351490373,), (1351490407,), (1351490417,), (1351490603,), (1351490628,), (1351490650,), (1351490681,), (1351490690,), (1351490708,), (1351491049,), (1351491065,), (1351491073,), (1351491092,), (1351491111,), (1351491278,), (1351491331,), (1351491353,), (1351491375,), (1351491390,), (1351491526,), (1351491530,), (1351491575,), (1351491606,), (1351491640,), (1351491725,), (1351491740,), (1351492099,), (1351492119,), (1351492184,), (1351492430,), (1351492425,), (1351492562,), (1351492571,), (1351492575,), (1351492582,), (1351492586,), (1351492612,), (1351492615,), (1351492630,), (1351492634,), (1351492638,), (1351492751,), (1351492779,), (1351492782,), (1351492785,), (1351492921,), (1351492934,), (1351492957,), (1351493001,), (1351493032,), (1351493040,), (1351493200,), (1351493234,), (1351493307,), (1351493331,), (1351493431,), (1351493445,), (1351493451,), (1351493471,), (1351493474,), (1351493480,), (1351493536,), (1351493554,), (1351493560,), (1351493564,), (1351493722,), (1351493746,), (1351493755,), (1351493775,), (1351493793,), (1351493804,), (1351493857,), (1351493860,), (1351493863,), (1351493884,), (1351493920,), (1351493946,), (1351494136,), (1351494138,), (1351494210,), (1351494215,), (1351494255,), (1351494342,), (1351494347,), (1351494351,), (1351494354,), (1351494359,), (1351494374,), (1351494533,), (1351494546,), (1351494562,), (1351494605,), (1351494612,), (1351494838,), (1351494876,), (1351494956,), (1351495499,), (1351495453,), (1351495464,), (1351495476,), (1351495489,), (1351495494,), (1351495575,), (1351495582,), (1351495586,), (1351495610,), (1351495625,), (1351495642,), (1351495760,), (1351495778,), (1351495808,), (1351495830,), (1351496199,), (1351496207,), (1351496211,), (1351496220,), (1351496230,), (1351496272,), (1351496277,), (1351496278,), (1351496283,), (1351496288,), (1351496297,), (1351496382,), (1351496385,), (1351496435,), (1351496438,), (1351496441,), (1351496443,), (1351496446,), (1351496449,), (1351496481,), (1351496486,), (1351496490,), (1351496502,), (1351496508,), (1351496511,), (1351496583,), (1351496600,), (1351496617,), (1351496635,), (1351496679,), (1351496691,), (1351496745,), (1351496786,), (1351496809,), (1351496838,), (1351497412,), (1351497435,), (1351498220,), (1351497918,), (1351497958,), (1351497998,), (1351498058,), (1351498357,), (1351498385,), (1351498414,), (1351500927,), (1351500960,), (1351500980,), (1351501172,), (1351501188,), (1351501212,), (1351501235,), (1351501263,), (1351501274,), (1351501478,), (1351501497,), (1351501541,), (1351501562,), (1351501593,), (1351501635,), (1351501773,), (1351501800,), (1351501815,), (1351501849,), (1351501899,), (1351502015,), (1351502029,), (1351502039,), (1351502094,), (1351502131,), (1351502260,), (1351502265,), (1351502296,), (1351502309,), (1351502314,), (1351502384,), (1351502387,), (1351502454,), (1351502532,), (1351502948,), (1351503071,), (1351503087,), (1351503206,), (1351503175,), (1351503180,), (1351503191,), (1351503202,), (1351503256,), (1351503260,), (1351503266,), (1351503274,), (1351503443,), (1351503480,), (1351503514,), (1351503726,), (1351503744,), (1351503755,), (1351503772,), (1351503788,), (1351503935,), (1351504031,), (1351504042,), (1351504051,), (1351504063,), (1351504128,), (1351504134,), (1351504143,), (1351504183,), (1351504188,), (1351504262,), (1351504270,), (1351504397,), (1351504401,), (1351504404,), (1351504462,), (1351504467,), (1351504478,), (1351504480,), (1351504483,), (1351504548,), (1351504554,), (1351504558,), (1351504561,), (1351504563,), (1351504579,), (1351504776,), (1351504780,), (1351504800,), (1351504835,), (1351504853,), (1351504882,), (1351504988,), (1351505014,), (1351505018,), (1351505020,), (1351505112,), (1351505159,), (1351505165,), (1351505169,), (1351505174,), (1351505181,), (1351505208,), (1351505215,), (1351505223,), (1351505475,), (1351505486,), (1351505501,), (1351505536,), (1351505539,), (1351505597,), (1351505582,), (1351505585,), (1351505590,), (1351505593,), (1351505673,), (1351505676,), (1351505680,), (1351505683,), (1351505701,), (1351505718,), (1351505757,), (1351505762,), (1351505766,), (1351505769,), (1351505827,), (1351505856,), (1351505887,), (1351505954,), (1351505956,), (1351506078,), (1351506085,), (1351506095,), (1351506098,), (1351506102,), (1351506106,), (1351506120,), (1351506125,), (1351506129,), (1351506213,), (1351506218,), (1351506225,), (1351506227,), (1351506229,), (1351506283,), (1351506320,), (1351506330,), (1351506347,), (1351506530,), (1351506556,), (1351506563,), (1351506644,), (1351506670,), (1351506674,), (1351506686,), (1351506752,), (1351506755,), (1351506760,), (1351506777,), (1351506906,), (1351506909,), (1351506910,), (1351506914,), (1351506916,), (1351507025,), (1351507028,), (1351507030,), (1351507033,), (1351507039,), (1351507058,), (1351507062,), (1351507063,), (1351507070,), (1351507075,), (1351507079,), (1351507123,), (1351507140,), (1351507169,), (1351507187,), (1351507358,), (1351507274,), (1351507307,), (1351507328,), (1351507329,), (1351507335,), (1351507409,), (1351507416,), (1351507419,), (1351507422,), (1351507425,), (1351507514,), (1351507534,), (1351507559,), (1351507741,), (1351507743,), (1351507745,), (1351507751,), (1351507762,), (1351507774,), (1351507802,), (1351507806,), (1351507808,), (1351507810,), (1351507813,), (1351507980,), (1351508011,), (1351508052,), (1351508412,), (1351508434,), (1351508455,), (1351508481,), (1351508603,), (1351508606,), (1351508609,), (1351508633,), (1351508907,), (1351509003,), (1351509052,), (1351509089,), (1351509452,), (1351509487,), (1351509498,), (1351509500,), (1351509515,), (1351509538,), (1351509720,), (1351509740,), (1351509746,), (1351509764,), (1351509777,), (1351509785,), (1351509885,), (1351509887,), (1351509895,), (1351509899,), (1351510051,), (1351510071,), (1351510097,), (1351510401,), (1351510454,), (1351510514,), (1351510551,), (1351510698,), (1351510754,), (1351510778,), (1351510891,), (1351534256,), (1351534804,), (1351534823,), (1351534876,), (1351534927,), (1351534975,), (1351535372,), (1351535400,), (1351535990,), (1351536036,), (1351536074,), (1351536086,), (1351536114,), (1351536677,), (1351536714,), (1351536766,), (1351536820,), (1351536873,), (1351536909,), (1351537242,), (1351537284,), (1351537327,), (1351537377,), (1351538077,), (1351538134,), (1351538172,), (1351538245,), (1351538320,), (1351538386,), (1351538954,), (1351539038,), (1351539085,), (1351539159,), (1351539346,), (1351539377,), (1351539426,), (1351539455,), (1351539484,), (1351539634,), (1351539637,), (1351539642,), (1351539648,), (1351539865,), (1351539900,), (1351539940,), (1351539983,), (1351540011,), (1351540224,), (1351540247,), (1351540513,), (1351540536,), (1351540560,), (1351540580,), (1351540601,), (1351540695,), (1351540697,), (1351540699,), (1351540705,), (1351540709,), (1351540998,), (1351540881,), (1351540907,), (1351541128,), (1351541205,), (1351541250,), (1351541471,), (1351541474,), (1351541481,), (1351541542,), (1351542021,), (1351542055,), (1351542699,), (1351542707,), (1351543161,), (1351543309,), (1351543617,), (1351543633,), (1351543639,), (1351543878,), (1351543910,), (1351543920,), (1351543939,), (1351544323,), (1351544353,), (1351544939,), (1351544994,), (1351545545,), (1351545641,), (1351545696,), (1351545761,), (1351545779,), (1351545841,), (1351546250,), (1351546309,), (1351546396,), (1351546466,), (1351546538,), (1351546593,), (1351546821,), (1351546855,), (1351546910,), (1351547824,), (1351547885,), (1351547973,), (1351548108,), (1351548173,), (1351548245,), (1351548772,), (1351548638,), (1351548682,), (1351548701,), (1351548743,), (1351548936,), (1351549049,), (1351549789,), (1351551455,), (1351551547,), (1351551573,), (1351551747,), (1351551802,), (1351551843,), (1351551910,), (1351552300,), (1351552346,), (1351552844,), (1351552873,), (1351552927,), (1351552976,), (1351553493,), (1351553563,), (1351553617,), (1351553649,), (1351553675,), (1351554396,), (1351554474,), (1351554527,), (1351554608,), (1351555046,), (1351555093,), (1351555151,), (1351555205,), (1351555254,), (1351555289,), (1351555554,), (1351555593,), (1351555655,), (1351555708,), (1351555767,), (1351556418,), (1351556533,), (1351556627,), (1351557382,), (1351557418,), (1351557460,), (1351557492,), (1351557532,), (1351557570,), (1351558204,), (1351558361,), (1351558394,), (1351558450,), (1351558495,), (1351558545,), (1351558580,), (1351558872,), (1351558927,), (1351557930,), (1351558014,), (1351558059,), (1351558114,), (1351558192,), (1351558677,), (1351558723,), (1351558770,), (1351558805,), (1351559096,), (1351559169,), (1351559296,), (1351559416,), (1351559461,), (1351559988,), (1351560046,), (1351560157,), (1351560219,), (1351560941,), (1351560986,), (1351561150,), (1351561248,), (1351561996,), (1351562062,), (1351562116,), (1351562246,), (1351562377,), (1351562752,), (1351562837,), (1351562868,), (1351562921,), (1351562962,), (1351563278,), (1351563322,), (1351563392,), (1351563446,), (1351563915,), (1351563960,), (1351564005,), (1351564031,), (1351564055,), (1351564089,), (1351564211,), (1351564238,), (1351564255,), (1351564265,), (1351564490,), (1351564529,), (1351564569,), (1351564597,), (1351564609,), (1351564706,), (1351564984,), (1351565025,), (1351565033,), (1351565120,), (1351565442,), (1351565542,), (1351565628,), (1351565689,), (1351565764,), (1351565853,), (1351566556,), (1351566630,), (1351566713,), (1351567028,), (1351567132,), (1351567246,), (1351567637,), (1351567670,), (1351567778,), (1351567828,), (1351568870,), (1351568286,), (1351568439,), (1351568568,), (1351568728,), (1351568826,), (1351569010,), (1351569051,), (1351569080,), (1351569116,), (1351569152,), (1351569177,), (1351569367,), (1351569621,), (1351569763,), (1351570052,), (1351570128,), (1351570192,), (1351570256,), (1351570446,), (1351570552,), (1351570909,), (1351571056,), (1351571134,), (1351571233,), (1351571262,), (1351571811,), (1351572049,), (1351572100,), (1351572229,), (1351572252,), (1351572417,), (1351572430,), (1351572520,), (1351572575,), (1351572624,), (1351572695,), (1351573034,), (1351573084,), (1351573150,), (1351573596,), (1351573601,), (1351573605,), (1351573611,), (1351573641,), (1351573674,), (1351573894,), (1351573921,), (1351573934,), (1351574141,), (1351574235,), (1351574260,), (1351574289,), (1351574318,), (1351575241,), (1351575339,), (1351575858,), (1351576637,), (1351576421,), (1351576499,), (1351576560,), (1351576615,), (1351577069,), (1351577136,), (1351577202,), (1351577384,), (1351577726,), (1351577735,), (1351577743,), (1351577782,), (1351577838,), (1351577986,), (1351577988,), (1351577991,), (1351578136,), (1351578187,), (1351578229,), (1351578261,), (1351578723,), (1351578750,), (1351578788,), (1351578832,), (1351578885,), (1351579403,), (1351579480,), (1351579519,), (1351579543,), (1351579602,), (1351579843,), (1351579956,), (1351580385,), (1351580450,), (1351580473,), (1351580514,), (1351580547,), (1351580861,), (1351580949,), (1351581036,), (1351581152,), (1351581219,), (1351581611,), (1351581637,), (1351581694,), (1351582173,), (1351582263,), (1351582327,), (1351582372,), (1351582408,), (1351582780,), (1351582832,), (1351582882,), (1351582935,), (1351582977,), (1351582996,), (1351583607,), (1351583626,), (1351583649,), (1351584028,), (1351583978,), (1351584008,), (1351584017,), (1351584167,), (1351584195,), (1351584227,), (1351584253,), (1351584672,), (1351584685,), (1351584712,), (1351584741,), (1351584797,), (1351584879,), (1351585222,), (1351585364,), (1351585438,), (1351585505,), (1351585561,), (1351585645,), (1351585685,), (1351586072,), (1351586121,), (1351586150,), (1351586182,), (1351586278,), (1351586448,), (1351586465,), (1351586486,), (1351586521,), (1351586569,), (1351586638,), (1351587043,), (1351587116,), (1351587148,), (1351587179,), (1351587239,), (1351587833,), (1351587950,), (1351587992,), (1351588371,), (1351588463,), (1351588535,), (1351588617,), (1351588734,), (1351588839,), (1351589065,), (1351589123,), (1351589180,), (1351589241,), (1351589328,), (1351589408,), (1351589642,), (1351589672,), (1351589926,), (1351589954,), (1351589979,), (1351590010,), (1351590042,), (1351590264,), (1351590297,), (1351590321,), (1351590341,), (1351590368,), (1351590418,), (1351590553,), (1351590580,), (1351590618,), (1351591111,), (1351591000,), (1351591060,), (1351591088,), (1351591437,), (1351591451,), (1351591483,), (1351591518,), (1351591554,), (1351591819,), (1351591843,), (1351591893,), (1351591926,), (1351592438,), (1351592506,), (1351592555,), (1351592632,), (1351592702,), (1351592764,), (1351593193,), (1351593237,), (1351593315,), (1351593988,), (1351594083,), (1351594243,), (1351594397,), (1351594598,), (1351595374,), (1351595529,), (1351595580,), (1351595636,), (1351595700,), (1351595721,), (1351595820,), (1351595875,), (1351595902,), (1351595933,), (1351596076,), (1351596081,), (1351596096,), (1351596137,), (1351596159,), (1351596187,), (1351596519,), (1351596543,), (1351596566,), (1351596668,), (1351597643,), (1351597725,), (1351597763,), (1351597800,), (1351598164,), (1351598174,), (1351598187,), (1351598201,), (1351598228,), (1351598279,), (1351598517,), (1351598558,), (1351598621,), (1351598642,), (1351598683,), (1351598708,), (1351599172,), (1351599262,), (1351599310,), (1351599466,), (1351600367,), (1351600413,), (1351600475,), (1351600524,), (1351600591,), (1351601309,), (1351600855,), (1351601011,), (1351601082,), (1351601160,), (1351601238,), (1351601450,), (1351601457,), (1351601483,), (1351601961,), (1351602068,), (1351603089,), (1351603150,), (1351603175,), (1351603238,), (1351603832,), (1351603938,), (1351604094,), (1351604099,), (1351604252,), (1351604594,), (1351604734,), (1351604851,), (1351604909,), (1351605060,), (1351606414,), (1351606445,), (1351606484,), (1351606779,), (1351606863,), (1351606926,), (1351607162,), (1351607247,), (1351607490,), (1351607710,), (1351607732,), (1351607802,), (1351608622,), (1351608708,), (1351608820,), (1351609235,), (1351609112,), (1351609149,), (1351609178,), (1351609544,), (1351609602,), (1351609653,), (1351610333,), (1351610363,), (1351610875,), (1351611035,), (1351611040,), (1351611144,), (1351611153,), (1351611248,), (1351611274,), (1351611332,), (1351611425,), (1351611491,), (1351611759,), (1351611792,), (1351611866,), (1351611954,), (1351612052,), (1351612240,), (1351612272,), (1351612308,), (1351612329,), (1351612357,), (1351612389,), (1351612396,), (1351612515,), (1351612523,), (1351612641,), (1351612648,), (1351612801,), (1351613059,), (1351613138,), (1351613567,), (1351613593,), (1351613652,), (1351613689,), (1351613716,), (1351613780,), (1351614016,), (1351614083,), (1351614650,), (1351614742,), (1351614807,), (1351614890,), (1351614988,), (1351615091,), (1351615530,), (1351615591,), (1351615691,), (1351616490,), (1351616543,), (1351616564,), (1351616604,), (1351617024,), (1351617868,), (1351618706,), (1351618910,), (1351618961,), (1351619374,), (1351619220,), (1351619256,), (1351619288,), (1351619292,), (1351619332,), (1351619584,), (1351619610,), (1351619637,), (1351619662,), (1351619684,), (1351619962,), (1351619993,), (1351620023,), (1351620191,), (1351620205,), (1351620221,), (1351620259,), (1351620809,), (1351620877,), (1351620902,), (1351621256,), (1351621315,), (1351621400,), (1351621431,), (1351621751,), (1351621784,), (1351621851,), (1351621895,), (1351621918,), (1351621944,), (1351622065,), (1351622103,), (1351622155,), (1351622423,), (1351622475,), (1351622518,), (1351622544,), (1351622598,), (1351622890,), (1351622908,), (1351622920,), (1351622936,), (1351622957,), (1351623385,), (1351623454,), (1351623524,), (1351623563,), (1351623621,), (1351623826,), (1351659108,), (1351659083,), (1351659292,), (1351659508,), (1351659547,), (1351659554,), (1351659622,), (1351659624,), (1351659627,), (1351659675,), (1351659699,), (1351659703,), (1351660249,), (1351660251,), (1351660268,), (1351660288,), (1351660359,), (1351660534,), (1351660558,), (1351660599,), (1351660634,), (1351660727,), (1351660731,), (1351660734,), (1351660746,), (1351660953,), (1351660983,), (1351661013,), (1351661047,), (1351661073,), (1351661409,), (1351661301,), (1351661308,), (1351661317,), (1351662910,), (1351662914,), (1351662970,), (1351662973,), (1351663181,), (1351663759,), (1351663781,), (1351663872,), (1351663893,), (1351663906,), (1351664122,), (1351664150,), (1351664169,), (1351664206,), (1351664298,), (1351664461,), (1351664486,), (1351664510,), (1351664536,), (1351664803,), (1351664821,), (1351664845,), (1351664867,), (1351665220,), (1351665282,), (1351665305,), (1351665361,), (1351665426,), (1351665806,), (1351665857,), (1351665901,), (1351665943,), (1351666409,), (1351666476,), (1351666538,), (1351667097,), (1351667164,), (1351667810,), (1351667874,), (1351667924,), (1351668246,), (1351668292,), (1351668317,), (1351668356,), (1351668386,), (1351669427,), (1351669515,), (1351669638,), (1351669722,), (1351670632,), (1351670461,), (1351670516,), (1351670562,), (1351670832,), (1351670859,), (1351670895,), (1351671218,), (1351671264,), (1351671294,), (1351671338,), (1351671375,), (1351671579,), (1351671609,), (1351671634,), (1351671673,), (1351672180,), (1351672230,), (1351672277,), (1351672329,), (1351672698,), (1351672726,), (1351672767,), (1351672807,), (1351672868,), (1351673424,), (1351673475,), (1351673544,), (1351673619,), (1351673659,), (1351674031,), (1351674065,), (1351674091,), (1351674323,), (1351674329,), (1351674332,), (1351674518,), (1351674551,), (1351674582,), (1351674614,), (1351674897,), (1351674902,), (1351674906,), (1351674910,), (1351675080,), (1351675114,), (1351675135,), (1351675206,), (1351675309,), (1351675612,), (1351675642,), (1351675681,), (1351675714,), (1351676790,), (1351676924,), (1351676946,), (1351676980,), (1351677002,), (1351677383,), (1351677400,), (1351677405,), (1351677440,), (1351677511,), (1351677518,), (1351677637,), (1351677626,), (1351677631,), (1351677839,), (1351677856,), (1351677876,), (1351677910,), (1351677942,), (1351677971,), (1351678104,), (1351678131,), (1351678144,), (1351678148,), (1351678155,), (1351678160,), (1351678288,), (1351678296,), (1351678310,), (1351678384,), (1351678595,), (1351678616,), (1351678635,), (1351678661,), (1351678687,), (1351678955,), (1351678981,), (1351679007,), (1351679035,), (1351679065,), (1351679118,), (1351679256,), (1351679276,), (1351679279,), (1351679283,), (1351679317,), (1351679321,), (1351679352,), (1351679376,), (1351680183,), (1351681224,), (1351681311,), (1351681387,), (1351681415,), (1351681615,), (1351681640,), (1351681686,), (1351681693,), (1351681739,), (1351682480,), (1351682539,), (1351682620,), (1351682871,), (1351682924,), (1351682933,), (1351682955,), (1351682980,), (1351683007,), (1351684076,), (1351684049,), (1351684368,), (1351685083,), (1351685105,), (1351685208,), (1351685213,), (1351685217,), (1351685227,), (1351685332,), (1351685337,), (1351685340,), (1351685346,), (1351685356,), (1351685465,), (1351685470,), (1351685476,), (1351685481,), (1351685729,), (1351685780,), (1351685818,), (1351685860,), (1351686426,), (1351686501,), (1351686548,), (1351686594,), (1351686643,), (1351686685,), (1351687016,), (1351687073,), (1351687080,), (1351687111,), (1351687135,), (1351687217,), (1351687500,), (1351687852,), (1351687905,), (1351687961,), (1351688978,), (1351689083,), (1351689112,), (1351689137,), (1351689167,), (1351689404,), (1351689473,), (1351689529,), (1351689607,), (1351689668,), (1351690598,), (1351690348,), (1351690398,), (1351690447,), (1351690512,), (1351690556,), (1351691312,), (1351691420,), (1351691443,), (1351691476,), (1351691514,), (1351691538,), (1351691987,), (1351692024,), (1351692029,), (1351692038,), (1351692126,), (1351692183,), (1351692228,), (1351692271,), (1351692317,), (1351692346,), (1351692892,), (1351692943,), (1351692994,), (1351693029,), (1351694413,), (1351695559,), (1351695578,), (1351695656,), (1351695660,), (1351695663,), (1351695668,), (1351696075,), (1351696097,), (1351696099,), (1351696420,), (1351696472,), (1351696515,), (1351696532,), (1351696559,), (1351696910,), (1351696982,), (1351697013,), (1351697040,), (1351697147,), (1351697184,), (1351697214,), (1351697230,), (1351697236,), (1351697245,), (1351699053,), (1351699086,), (1351699118,), (1351699129,), (1351699176,), (1351699180,), (1351699293,), (1351699255,), (1351699282,), (1351699288,), (1351699527,), (1351699613,), (1351699739,), (1351699836,), (1351699865,), (1351700243,), (1351700276,), (1351700296,), (1351700311,), (1351700333,), (1351700667,), (1351700718,), (1351700755,), (1351700799,), (1351700878,), (1351700921,), (1351701412,), (1351701464,), (1351701510,), (1351701559,), (1351701815,), (1351701862,), (1351701911,), (1351701958,), (1351702010,), (1351702064,), (1351702690,), (1351702797,), (1351702917,), (1351703016,), (1351703274,), (1351703382,), (1351703474,), (1351703560,), (1351703604,), (1351703681,), (1351703949,), (1351704012,), (1351704047,), (1351704058,), (1351704086,), (1351704139,), (1351704408,), (1351704448,), (1351704510,), (1351704554,), (1351704978,), (1351705056,), (1351705111,), (1351705205,), (1351705258,), (1351705282,), (1351705451,), (1351705495,), (1351705555,), (1351705609,), (1351705641,), (1351705952,), (1351705999,), (1351706016,), (1351706574,), (1351706652,), (1351706728,), (1351706809,), (1351707243,), (1351707319,), (1351707380,), (1351708081,), (1351707864,), (1351707898,), (1351707932,), (1351707966,), (1351708010,), (1351708341,), (1351708368,), (1351708398,), (1351708422,), (1351708694,), (1351708723,), (1351708737,), (1351708766,), (1351708992,), (1351709038,), (1351709155,), (1351709203,), (1351709269,), (1351709443,), (1351709495,), (1351709580,), (1351709668,), (1351710080,), (1351710128,), (1351710158,), (1351710211,), (1351710250,), (1351710571,), (1351710601,), (1351710651,), (1351710683,), (1351710735,), (1351711120,), (1351711148,), (1351711198,), (1351711227,), (1351711262,), (1351711294,), (1351711536,), (1351711563,), (1351711652,), (1351711940,), (1351711989,), (1351712051,), (1351712110,), (1351712178,), (1351712651,), (1351712703,), (1351712781,), (1351712820,), (1351712859,), (1351712903,), (1351713031,), (1351713056,), (1351713083,), (1351713512,), (1351713588,), (1351713783,), (1351713821,), (1351713878,), (1351713946,), (1351714218,), (1351714265,), (1351714324,), (1351714393,), (1351714815,), (1351714854,), (1351714885,), (1351714912,), (1351716314,), (1351716081,), (1351716122,), (1351716165,), (1351716198,), (1351716253,), (1351716368,), (1351716400,), (1351716424,), (1351717288,), (1351717316,), (1351717424,), (1351717487,), (1351717552,), (1351718008,), (1351718061,), (1351718122,), (1351718144,), (1351718735,), (1351718757,), (1351718844,), (1351718937,), (1351719019,), (1351719948,), (1351720014,), (1351720052,), (1351720641,), (1351720655,), (1351720795,), (1351720873,), (1351720959,), (1351721011,), (1351721340,), (1351721387,), (1351721424,), (1351721460,), (1351721674,), (1351721685,), (1351721694,), (1351721722,), (1351722192,), (1351722252,), (1351722341,), (1351722403,), (1351722501,), (1351722610,), (1351723262,), (1351723442,), (1351723477,), (1351723512,), (1351723571,), (1351723636,), (1351723951,), (1351724000,), (1351724080,), (1351724115,), (1351724167,), (1351724358,), (1351724378,), (1351724405,), (1351724442,), (1351724472,), (1351724517,), (1351724690,), (1351725732,), (1351725780,), (1351725807,), (1351726814,), (1351726345,), (1351726519,), (1351726725,), (1351727310,), (1351727480,), (1351727527,), (1351727582,), (1351727625,), (1351727662,), (1351727882,), (1351727898,), (1351727928,), (1351728106,), (1351728423,), (1351728453,), (1351728539,), (1351728578,), (1351728873,), (1351728876,), (1351728880,), (1351728885,), (1351728912,), (1351729211,), (1351729240,), (1351729266,), (1351729356,), (1351729404,), (1351729785,), (1351729832,), (1351729885,), (1351729921,), (1351729972,), (1351730228,), (1351730230,), (1351730233,), (1351730261,), (1351730269,), (1351730274,), (1351730454,), (1351730486,), (1351730522,), (1351730550,), (1351730934,), (1351730943,), (1351730982,), (1351730998,), (1351731010,), (1351731183,), (1351731234,), (1351731239,), (1351731247,), (1351731254,), (1351731263,), (1351731449,), (1351731485,), (1351731535,), (1351731589,), (1351732361,), (1351732473,), (1351732539,), (1351732657,), (1351732791,), (1351733398,), (1351733427,), (1351733470,), (1351733525,), (1351733557,), (1351733634,), (1351733783,), (1351733827,), (1351733873,), (1351733965,), (1351734062,), (1351734161,), (1351734481,), (1351734283,), (1351734306,), (1351734334,), (1351734378,), (1351734435,), (1351734711,), (1351734717,), (1351734720,), (1351734723,), (1351734728,), (1351734924,), (1351734951,), (1351734987,), (1351735012,), (1351735090,), (1351735304,), (1351735325,), (1351735328,), (1351735335,), (1351735355,), (1351735659,), (1351735694,), (1351735762,), (1351735810,), (1351736283,), (1351736304,), (1351736330,), (1351736352,), (1351736369,), (1351736644,), (1351736655,), (1351736673,), (1351736692,), (1351736722,), (1351736739,), (1351736792,), (1351736855,), (1351736939,), (1351737019,), (1351737240,), (1351737299,), (1351737524,), (1351737539,), (1351737567,), (1351737610,), (1351737620,), (1351737623,), (1351737742,), (1351737791,), (1351737871,), (1351737931,), (1351738383,), (1351738461,), (1351738554,), (1351738665,), (1351738762,), (1351738868,), (1351739239,), (1351739266,), (1351739280,), (1351739342,), (1351739388,), (1351739420,), (1351739791,), (1351739818,), (1351739865,), (1351739905,), (1351739918,), (1351740248,), (1351740284,), (1351740310,), (1351740351,), (1351740394,), (1351740475,), (1351740860,), (1351740890,), (1351740934,), (1351740963,), (1351741005,), (1351741410,), (1351741318,), (1351741331,), (1351741367,), (1351741381,), (1351741403,), (1351741475,), (1351741482,), (1351741492,), (1351741869,), (1351741881,), (1351741888,), (1351741891,), (1351741906,), (1351742225,), (1351742230,), (1351742245,), (1351742320,), (1351742513,), (1351742524,), (1351742597,), (1351742620,), (1351742635,), (1351742661,), (1351742884,), (1351742907,), (1351742935,), (1351742963,), (1351742990,), (1351743019,), (1351743376,), (1351743404,), (1351743785,), (1351743831,), (1351743874,), (1351743926,), (1351743960,), (1351744244,), (1351744310,), (1351744374,), (1351744433,), (1351744476,), (1351744508,), (1351744717,), (1351744742,), (1351744763,), (1351745106,), (1351745133,), (1351745159,), (1351745183,), (1351745215,), (1351745238,), (1351745494,), (1351745518,), (1351745625,), (1351745665,), (1351745713,), (1351746061,), (1351748691,), (1351748555,), (1351748594,), (1351748644,), (1351749208,), (1351749256,), (1351749308,), (1351749628,), (1351749641,), (1351749677,), (1351749706,), (1351750083,), (1351750103,), (1351750123,), (1351750152,), (1351750176,), (1351750199,), (1351750450,), (1351750496,), (1351750531,), (1351750536,), (1351750539,), (1351750553,), (1351750634,), (1351750636,), (1351750638,), (1351750644,), (1351750646,), (1351750655,), (1351751122,), (1351751196,), (1351751272,), (1351751337,), (1351751410,), (1351751524,), (1351751883,), (1351752009,), (1351752057,), (1351752149,), (1351752184,), (1351752216,), (1351752355,), (1351752394,), (1351752422,), (1351752453,), (1351752492,), (1351752542,), (1351752666,), (1351752667,), (1351752718,), (1351752730,), (1351752748,), (1351752839,), (1351752844,), (1351752926,), (1351752927,), (1351752976,), (1351752977,), (1351753083,), (1351753330,), (1351753484,), (1351753633,), (1351753694,), (1351753739,), (1351753787,), (1351753920,), (1351753976,), (1351754007,), (1351754113,), (1351754216,), (1351754262,), (1351754435,), (1351754474,), (1351754518,), (1351754573,), (1351754655,), (1351754708,), (1351754941,), (1351755014,), (1351755053,), (1351755056,), (1351755098,), (1351755227,), (1351755256,), (1351755275,), (1351755313,), (1351756130,), (1351756293,), (1351756528,), (1351756654,), (1351756660,), (1351756809,), (1351756732,), (1351756747,), (1351756773,), (1351757204,), (1351757349,), (1351757597,), (1351757820,), (1351757981,), (1351758036,), (1351758076,), (1351758109,), (1351758128,), (1351758155,), (1351758293,), (1351758326,), (1351758345,), (1351758386,), (1351758412,), (1351759054,), (1351759181,), (1351759368,), (1351760057,), (1351760086,), (1351760110,), (1351760122,), (1351760179,), (1351760273,), (1351760371,), (1351760430,), (1351760501,), (1351760522,), (1351760534,), (1351760808,), (1351760838,), (1351761164,), (1351761182,), (1351761204,), (1351761233,), (1351761281,), (1351761325,), (1351761653,), (1351761722,), (1351761756,), (1351761810,), (1351761852,), (1351762161,), (1351762172,), (1351762179,), (1351762435,), (1351762467,), (1351762470,), (1351762850,), (1351762882,), (1351762890,), (1351762894,), (1351762915,), (1351763219,), (1351763231,), (1351763249,), (1351763256,), (1351763263,), (1351763276,), (1351763282,), (1351763302,), (1351763427,), (1351763343,), (1351763368,), (1351763403,), (1351763536,), (1351763540,), (1351763545,), (1351763549,), (1351763569,), (1351763619,), (1351763678,), (1351763684,), (1351763710,), (1351763714,), (1351763730,), (1351763793,), (1351763796,), (1351763800,), (1351763803,), (1351763955,), (1351763962,), (1351764046,), (1351764095,), (1351764160,), (1351764394,), (1351764414,), (1351764441,), (1351764450,), (1351764466,), (1351764489,), (1351764589,), (1351764590,), (1351764592,), (1351764639,), (1351764646,), (1351764648,), (1351764650,), (1351764675,), (1351764690,), (1351764695,), (1351764704,), (1351764972,), (1351765011,), (1351765164,), (1351765270,), (1351765306,), (1351765386,), (1351765566,), (1351765618,), (1351765638,), (1351765656,), (1351765678,), (1351765952,), (1351765989,), (1351766007,), (1351766020,), (1351766134,), (1351766170,), (1351766191,), (1351766202,), (1351766225,), (1351766607,), (1351766644,), (1351773604,), (1351768584,), (1351773517,), (1351774211,), (1351774270,), (1351774339,), (1351774517,), (1351775439,), (1351775495,), (1351775567,), (1351775613,), (1351775647,), (1351775678,), (1351775940,), (1351776019,), (1351776078,), (1351776215,), (1351776316,), (1351776356,), (1351776605,), (1351776640,), (1351776953,), (1351776983,), (1351777000,), (1351777045,), (1351777075,), (1351777115,), (1351777487,), (1351777524,), (1351777575,), (1351777621,), (1351777650,), (1351778305,), (1351798723,), (1351799618,), (1351799816,), (1351800331,), (1351800505,), (1351800526,), (1351800564,), (1351800671,), (1351801009,), (1351801035,), (1351801082,), (1351801528,), (1351801600,), (1351801637,), (1351801684,), (1351801713,), (1351801902,), (1351801940,), (1351801979,), (1351802219,), (1351802269,), (1351802308,), (1351802337,), (1351802378,), (1351802512,), (1351802519,), (1351802530,), (1351802542,), (1351802546,), (1351802665,), (1351802724,), (1351802769,), (1351803454,), (1351803517,), (1351803591,), (1351803631,), (1351803696,), (1351803751,), (1351803955,), (1351804038,), (1351804115,), (1351804168,), (1351804219,), (1351804481,), (1351804529,), (1351804612,), (1351805053,), (1351805095,), (1351805197,), (1351805225,), (1351805254,), (1351805361,), (1351805380,), (1351805948,), (1351805811,), (1351805879,), (1351806466,), (1351806474,), (1351806528,), (1351806599,), (1351807009,), (1351807057,), (1351807126,), (1351807644,), (1351807780,), (1351807836,), (1351807895,), (1351807942,), (1351808126,), (1351808480,), (1351808541,), (1351808577,), (1351808625,), (1351808769,), (1351809286,), (1351809351,), (1351809400,), (1351809462,), (1351809523,), (1351809619,), (1351810171,), (1351810228,), (1351810293,), (1351810347,), (1351811002,), (1351811119,), (1351811262,), (1351811368,), (1351811532,), (1351812258,), (1351812361,), (1351812476,), (1351812696,), (1351812852,), (1351812955,), (1351813120,), (1351813242,), (1351813388,), (1351813514,), (1351813550,), (1351813654,), (1351814019,), (1351814088,), (1351814164,), (1351814261,), (1351814618,), (1351814654,), (1351814934,), (1351815047,), (1351815220,), (1351815327,), (1351815459,), (1351815606,), (1351816119,), (1351816283,), (1351816416,), (1351816475,), (1351816597,), (1351816728,), (1351817331,), (1351817523,), (1351817706,), (1351818624,), (1351818732,), (1351818793,), (1351818866,), (1351818919,), (1351818966,), (1351819977,), (1351819583,), (1351819651,), (1351819709,), (1351819780,), (1351819897,), (1351820320,), (1351820412,), (1351820437,), (1351820458,), (1351820880,), (1351820942,), (1351821000,), (1351821039,), (1351821105,), (1351821649,), (1351821680,), (1351821864,), (1351821960,), (1351822045,), (1351822111,), (1351822491,), (1351822547,), (1351822592,), (1351822955,), (1351822996,), (1351823021,), (1351823071,), (1351823114,), (1351823582,), (1351823612,), (1351823684,), (1351823710,), (1351823774,), (1351823805,), (1351824041,), (1351824111,), (1351824160,), (1351824961,), (1351825028,), (1351825086,), (1351825160,), (1351825213,), (1351825251,), (1351825515,), (1351825550,), (1351825577,), (1351825616,), (1351826016,), (1351826072,), (1351826100,), (1351826131,), (1351826171,), (1351826211,), (1351826398,), (1351826406,), (1351826412,), (1351826431,), (1351826466,), (1351826510,), (1351826799,), (1351826893,), (1351826921,), (1351827162,), (1351827228,), (1351827256,), (1351827319,), (1351827349,), (1351827763,), (1351827805,), (1351827856,), (1351827967,), (1351828362,), (1351828145,), (1351828182,), (1351828226,), (1351828273,), (1351828294,), (1351828633,), (1351828694,), (1351828754,), (1351828814,), (1351828881,), (1351828921,), (1351829217,), (1351829273,), (1351829834,), (1351829869,), (1351829909,), (1351829932,), (1351829962,), (1351830013,), (1351830498,), (1351830554,), (1351830606,), (1351830835,), (1351830891,), (1351830917,), (1351830948,), (1351830972,), (1351830996,), (1351831153,), (1351831170,), (1351831227,), (1351831238,), (1351831254,), (1351831307,), (1351831316,), (1351831319,), (1351831580,), (1351831622,), (1351831645,), (1351831672,), (1351831700,), (1351832046,), (1351832088,), (1351832113,), (1351832137,), (1351832156,), (1351832213,), (1351832233,), (1351832306,), (1351832547,), (1351832552,), (1351832577,), (1351832602,), (1351832625,), (1351833426,), (1351833531,), (1351833630,), (1351833739,), (1351833776,), (1351834333,), (1351834362,), (1351834395,), (1351834421,), (1351834463,), (1351834499,), (1351834577,), (1351835216,), (1351834605,), (1351834634,), (1351834674,), (1351834838,), (1351834996,), (1351835745,), (1351835801,), (1351835860,), (1351835928,), (1351836679,), (1351836720,), (1351836764,), (1351836844,), (1351837020,), (1351837083,), (1351837293,), (1351837357,), (1351837403,), (1351837464,), (1351837549,), (1351838013,), (1351838063,), (1351838089,), (1351838115,), (1351838573,), (1351838630,), (1351838715,), (1351838756,), (1351838781,), (1351838835,), (1351839340,), (1351839400,), (1351839505,), (1351840118,), (1351840464,), (1351840583,), (1351840676,), (1351840769,), (1351840864,), (1351841222,), (1351841259,), (1351841336,), (1351841343,), (1351841938,), (1351842432,), (1351842632,), (1351842660,), (1351842894,), (1351843263,), (1351843390,), (1351843561,), (1351843726,), (1351843960,), (1351844003,), (1351844077,), (1351844134,), (1351844193,), (1351844260,), (1351844688,), (1351844725,), (1351844752,), (1351844902,), (1351845235,), (1351845280,), (1351845946,), (1351845980,), (1351846011,), (1351846525,), (1351846508,), (1351846511,), (1351846514,), (1351846974,), (1351847009,), (1351847046,), (1351847064,), (1351847104,), (1351847202,), (1351847475,), (1351847497,), (1351847510,), (1351847570,), (1351847644,), (1351847795,), (1351847837,), (1351847864,), (1351847887,), (1351847924,), (1351847990,), (1351848173,), (1351848175,), (1351848177,), (1351848256,), (1351848260,), (1351848282,), (1351848643,), (1351848697,), (1351848739,), (1351848775,), (1351848792,), (1351848818,), (1351849043,), (1351849070,), (1351849097,), (1351849293,), (1351849299,), (1351849303,), (1351849332,), (1351849343,), (1351849462,), (1351849466,), (1351849479,), (1351849494,), (1351849514,), (1351849542,), (1351849580,), (1351849610,), (1351849638,), (1351849654,), (1351849709,), (1351849721,), (1351849749,), (1351849772,), (1351849788,), (1351849797,), (1351849950,), (1351850045,), (1351850106,), (1351850127,), (1351850387,), (1351850410,), (1351850436,), (1351850459,), (1351850485,), (1351850788,), (1351850828,), (1351850840,), (1351850852,), (1351850872,), (1351850893,), (1351850974,), (1351850962,), (1351850968,), (1351851013,), (1351851028,), (1351851040,), (1351851061,), (1351851263,), (1351851279,), (1351851286,), (1351851300,), (1351851310,), (1351851334,), (1351851400,), (1351851409,), (1351851411,), (1351851415,), (1351851556,), (1351851560,), (1351851565,), (1351851927,), (1351851946,), (1351851949,), (1351851954,), (1351852009,), (1351852017,), (1351852084,), (1351852114,), (1351852134,), (1351852144,), (1351852148,), (1351852256,), (1351852275,), (1351852285,), (1351852319,), (1351852368,), (1351852613,), (1351852629,), (1351852653,), (1351852669,), (1351852915,), (1351852951,), (1351852975,), (1351852997,), (1351853024,), (1351853270,), (1351853300,), (1351853330,), (1351853778,), (1351853825,), (1351853900,), (1351853937,), (1351853963,), (1351854516,), (1351854589,), (1351854642,), (1351854703,), (1351854806,), (1351854866,), (1351855433,), (1351855483,), (1351855526,), (1351856032,), (1351856090,), (1351856162,), (1351856199,), (1351856220,), (1351856904,), (1351856726,), (1351856783,), (1351856808,), (1351856859,), (1351857338,), (1351857390,), (1351857424,), (1351857470,), (1351857508,), (1351857798,), (1351857806,), (1351857831,), (1351857840,), (1351857863,), (1351857889,), (1351858138,), (1351858170,), (1351858191,), (1351858219,), (1351858247,), (1351858272,), (1351858562,), (1351858576,), (1351858607,), (1351858626,), (1351858652,), (1351858687,), (1351859036,), (1351859117,), (1351859151,), (1351859474,), (1351859518,), (1351859570,), (1351859642,), (1351859678,), (1351859726,), (1351859969,), (1351860025,), (1351860079,), (1351860137,), (1351860179,), (1351860330,), (1351860348,), (1351860393,), (1351860796,), (1351860824,), (1351860855,), (1351860883,), (1351860988,), (1351861019,), (1351861070,), (1351861113,), (1351861120,), (1351861147,), (1351861151,), (1351861156,), (1351861178,), (1351861285,), (1351861306,), (1351861341,), (1351861368,), (1351861398,), (1351861426,), (1351861784,), (1351861802,), (1351861811,), (1351861989,), (1351861966,), (1351861973,), (1351861981,), (1351862149,), (1351862173,), (1351862181,), (1351862243,), (1351862257,), (1351862270,), (1351862278,), (1351862295,), (1351862319,), (1351862498,), (1351862540,), (1351862577,), (1351862611,), (1351862647,), (1351862701,), (1351862916,), (1351862953,), (1351863003,), (1351863444,), (1351863459,), (1351863490,), (1351863526,), (1351863550,), (1351863735,), (1351863810,), (1351863872,), (1351863935,), (1351864401,), (1351864431,), (1351864453,), (1351864496,), (1351864517,), (1351864561,), (1351864841,), (1351864912,), (1351864936,), (1351864953,), (1351865018,), (1351865046,), (1351865150,), (1351865235,), (1351865372,), (1351865790,), (1351865874,), (1351865904,), (1351866039,), (1351866171,), (1351866347,), (1351866799,), (1351866826,), (1351866871,), (1351866911,), (1351866965,), (1351866983,), (1351867352,), (1351867426,), (1351867465,), (1351867533,), (1351868331,), (1351868489,), (1351868546,), (1351868691,), (1351868828,), (1351869044,), (1351869688,), (1351869766,), (1351869938,), (1351870125,), (1351870226,), (1351870641,), (1351870614,), (1351870631,), (1351870872,), (1351870881,), (1351870906,), (1351870920,), (1351870949,), (1351870963,), (1351871946,), (1351872099,), (1351872148,), (1351872175,), (1351872192,), (1351872266,), (1351872607,), (1351872681,), (1351873009,), (1351873018,), (1351873054,), (1351873104,), (1351873151,), (1351873762,), (1351873765,), (1351873766,), (1351873774,), (1351873800,), (1351874252,), (1351874287,), (1351874586,), (1351874609,), (1351874637,), (1351874668,), (1351874703,), (1351874724,), (1351874860,), (1351874916,), (1351874944,), (1351874990,), (1351875063,), (1351875112,), (1351875348,), (1351875388,), (1351875416,), (1351875558,), (1351875678,), (1351875710,), (1351875744,), (1351875748,), (1351875781,), (1351875839,), (1351875843,), (1351875868,), (1351875906,), (1351875934,), (1351875946,), (1351876067,), (1351877755,), (1351877698,), (1351879161,), (1351879295,), (1351879397,), (1351879475,), (1351879562,), (1351880021,), (1351880072,), (1351880102,), (1351880143,), (1351880428,), (1351880511,), (1351880574,), (1351880620,), (1351881749,), (1351881821,), (1351881858,), (1351881903,), (1351882574,), (1351882645,), (1351882675,), (1351882733,), (1351882782,), (1351883069,), (1351883116,), (1351883157,), (1351883187,), (1351883488,), (1351888955,), (1351894682,), (1351895568,), (1351897358,), (1351898174,), (1351898272,), (1351898489,), (1351898499,), (1351898506,), (1351899844,), (1351902758,), (1351902721,), (1351902962,), (1351902987,), (1351903921,), (1351904493,), (1351904521,), (1351906652,), (1351907202,), (1351907220,), (1351909930,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11042025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22250905]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] map_info['map_portfolio_photo'] : {22250905: [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406]} final : True mtd_id 4302 list_pids : [1351463512, 1351463386, 1351462835, 1351462821, 1351462818, 1351462815, 1351462809, 1351462674, 1351462672, 1351462668, 1351462665, 1351462608, 1351462553, 1351462459, 1351462357, 1351462345, 1351462336, 1351462331, 1351462329, 1351462289, 1351462283, 1351462279, 1351462278, 1351462275, 1351462252, 1351462250, 1351462246, 1351462240, 1351462217, 1351462215, 1351462213, 1351462169, 1351460406] Looping around the photos to save general results len do output : 1 /22250905Didn'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, '2747305') ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305') ('4302', None, None, None, None, None, None, None, '2747305') ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22250905', 'None', None, None, None, None, '2747305'), ('4302', '22250905', '1351463512', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351463386', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462835', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462821', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462818', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462815', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462809', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462674', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462672', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462668', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462665', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462608', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462553', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462459', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462357', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462345', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462336', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462331', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462329', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462289', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462283', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462279', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462278', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462275', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462252', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462250', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462246', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462240', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462217', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462215', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462213', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351462169', None, None, None, None, None, '2747305'), ('4302', '22250905', '1351460406', None, None, None, None, None, '2747305')] time used for this insertion : 2.206275463104248 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.2560031414032 time spend to save output : 2.20680570602417 total time spend for step 5 : 27.462808847427368 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 (2747305) 3.29user 2.15system 0:51.58elapsed 10%CPU (0avgtext+0avgdata 167536maxresident)k 4200inputs+26136outputs (16major+87968minor)pagefaults 0swaps